I want to Change default installation path which is Program Files in windows application When Creating setup. I tried but i couldn't do that please tell me solution.
Hello,
Recently I needed to generate a huge HTML page containing a report with several thousand row table. And, obviously, I did not want to build the whole HTML (or the underlying tree) in memory. As result, I built the page with the old good string interpolation, but I do not like the solution.
Thus, I wonder whether there are Python templating engines that can yield resulting page content by parts.
Hello
I want to run c programs in ubuntu 10.10 because in my college lab i gave the advice to change os they use replace xp to ubuntu and they did it by my request to them but in our college lab all student are doing daily practices on c programming and now there is problems to run the c programs in ubuntu 10.10 so please help me.please
Is there is any one to give me solution on this topic please fast.
Thank You !!!!!!!!!!!
greetings all
i have an app(spring+hibernate) that needs to send thousands of emails simultaneously
and i was told that the best solution here is to have a mail server
i don't have any idea where to start or if there's a framework or a service that is better
so please guys give me some info where to start, thank you.
I know there are other questions regarding this subject, and I've looked at this question, but I'd like to see a little bit more discussion and information on both sides of this - is it a better practice to add a project to a solution and reference the project, or to add a reference to the .dll?
i am using iphone simualator3.2. while i am placing the UIScrollview on the Imageview, the x,y coordinations doesn't displayed in the console. Please give me the solution to rectify this problem
Is there a setting in jDeveloper 11g where the file of the code I'm seeing is automatically focused on the application explorer?
I'm specifically looking for the VS.NET setting "track active item in solution explorer"
Is there any way to stick child button element to bottom of parent element when number of child elements vary?
Parent element is fixed height, and could be scrolled vertically in case of child overflow. In that case, button should be at the end of child list, but in case there is no children, or children size don't push parent element to overflow, it should be at bottom of parent element.
Is there pure css solutionfor this?
Thanks
Is there a way to say something like:
sizeof(type)? Or type.Size?
Right now I am looking at using code like:
if (type.Equals(typeof(int)))
return sizeof(int);
else if (type.Equals(typeof(long)))
return sizeof(long);
etc, etc, for every single data type.
There must be an cleaner solution, no?
ContigSum(i,j) as the sum of the contiguous elements a[i] through a[j], i<=j and a[] contains +ve & -ve numbers
Could you please tell me a time efficient solution to find maximized contiguous SUM in the array?
The title says it all.
Since, it's possible for anyone to name an assembly starting with 'System', checking for 'System' is not a satisfactory solution.
Alternatively, if that's not possible, how about checking the modules in an assembly?
I have the following query, in the top select statement (sum(l.app_ln_amnt)/count(l.app_ln_amnt)) works well but in the union I want to find the total of (sum(l.app_ln_amnt)/count(l.app_ln_amnt)) query from the top select statement However my solution seems to be off I need some help please
select
(sum(l.app_ln_amnt)/count(l.app_ln_amnt)),
from receipt_history l
UNION
select
SUM(sum(l.app_ln_amnt)/count(l.app_ln_amnt)),
from receipt_history l
Hi, I'm trying to parse Email Subject which have encoding specified in format itself. I get the format and imagine how this can be done, but maybe there is any free .Net solution available already so I wouldn't waste time on it?
Here is an example of subject I want to parse:
=?ISO-8859-13?Q?Fwd=3A_Dvira=E8iai_vasar=E0_vagiami_da=FEniau=2C_bet_draust?=
I am exploring a structure of folders with C# projects such as the following:
Projects
ProjectA
ProjectB
ProjectC
ProjectD
Scattered around in the same folders as the .csproj files, there are several solution (.sln) files. Is there a fast way to find all the solutions that contain ProjectD.csproj? I can open them one by one and see what they contain, but I would like a feature such as "find all the solutions containing this project".
Hi,
I want to check whether a string starts with any character in a list. My current implementation in C# is as follows:
char[] columnChars = new char[] { 'A', 'B', 'C', 'D', 'E' };
private bool startWithColumn(string toCheck)
{
for(int i=0; i<columnChars.Length; i++)
if (toCheck.StartsWith(columnChars[i]+""))
{
return true;
}
return false;
}
I would like to know if any solution is better?
Possible Duplicate:
How to get the Nth digit of an integer with bit-wise operations?
I spent more than one day trying to solve this problem but I couldn't find a solution.
I have a function named get_nth_digit(int x, int pos);.
int x is a number given by the user, int pos is the number that represents the position of the digit in the number x the user wants to get.
How can I do this? Can anyone help?
Hi,
In My application as the user opens the camera, camera should capture a image as soon as there is a difference in image when compared to previous image and camera should always be in capturing mode.
This should be done automatically without any user interaction.Please Help me out as i couldn't find the solution asap.
Thanks,
ravi
I am working in .NET 2.0 with C# and database is SQL SERVER 2005. I am using DataGridView. I had enabled "Enable Editing" Checkbox. Eventhough, I am not able to edit any cell.Please, give me a solution.
Hi all, having an issue generating random numbers in a loop. Can get around it by using Thread.Sleep but after a more elegant solution.
for ...
Random r = new Random();
string += r.Next(4);
Will end up with 11111... 222... etc.
Suggestions?
I have the following dilemma: I have a list of strings, and I want to find the set of string which start with a certain prefix. The list is sorted, so the naive solution is this:
Perform binary search on the prefixes of the set, and when you find an element that starts with the prefix, traverse up linearly until you hit the top of the subset.
This runs in linear time, however, and I was wondering if anyone can suggest a more efficient way to do it.
Am a newbie to programming and have seen examples on dragging and dropping items from one list to another list using jQuery. My problem is that my list is populated dynamically and so i cannot predefine the list items. Can anyone provide a solution to this? Am working in Visualforce.Thanks in advance.
hi,
I am using WCF service which contain DTO objects . Previosly i was stuck with circular refrence problem while fetching the data from serice . i googled the thing and find the solution by using [DataContract(IsReference = true)] and now while passing the data to UI it created problem .
Please help me out to get rid of this problem.
I need a table control where one can edit properties by various ways, just like editing properties in Visual Studio (it's for XML editing). Does anybody know about something like that, written by others, or maybe a solution from MS itself?
Is it possible to write a regular expression for finding a typical file matching pattern.
e.g. File<13/04/2010.txt should be picked up and not any other file.
i.e. Starting file name will be File followed by some dates and then the file extension.
If so, can we specify this pattern in the config file?
Looking for the solution in C#
Thanks