NSIS has a Name variable that you define in the script:
Name "MyApp"
It defines the name of the installer, that gets displayed as the window title, etc.
Is there a way to pull the .NET Version number out of my main EXE and append it to the Name?
So that my installer name would automatically be 'MyApp V2.2.0.0" or whatever?
I want to go through a table, and change all instances of 'notify4-N' to 'notify5-N', where N is a number from 1-9. Is there a way to do that in SQL? It would be easy in perl, but I'm not sure the customer even has perl on his servers.
I've been using Subversion for a few years and after using SourceSafe, I just love Subversion. Combined with TortoiseSVN, I can't really imagine how it could be any better. Yet there's a growing number of developers claiming that Subversion has problems and that we should be moving to the new breed of distributed version control systems, such as Git. Can anyone explain how Git improves upon Subversion?
So if I have a class of which I have a number saved in a datastore, and then seek to add a field later, how can I prevent all my previous objects breaking? Is there a way to retroactively set those fields so they're not null?
I tried the following
DateTime start = Convert.ToDateTime(TextBox1.Text);
DateTime end = Convert.ToDateTime(TextBox2.Text);
if (DateTime.Now.Date == start.Date || DateTime.Now.Date == end.Date || (DateTime.Now >= start.Date && DateTime.Now <= end.Date))
{
lblResult.Text = "true";
}
else
{
lblResult.Text = "false";
}
This verifies if the date range is one day also. Any way to reduce the number of conditions above?
I have NAT which received incoming WCF requests and changes port number before it hands off to the host however, this is causing problem is there anyway to turn this off or fix?
ex) wcf.service.com:80 - NAT - wcf.service.2522 !error
Thank you.
I have UIScrollView with number of subviews. Each subview is custom UIButton with UIImage. When I load more and more subviews, more and more memory is used. But I remove invisible subviews by removeFromSuperView method. Subviews are removed and stay invisible, but Im afraid that no memory is released. UIImage is image downloaded from internet. Thanx for help.
Given an array of size n, which contains numbers in the range 1 to n, and in which each number is present at least once, but some numbers may be missing, how can I find the missing numbers?
I have some decimal data that I am pushing into a SharePoint list where it is to be viewed. I'd like to restrict the number of significant figures displayed in the result data based on my knowledge of the specific calculation. Sometimes it'll be 3, so 12345 will become 12300 and 0.012345 will become 0.0123. Occasionally it will be 4 or 5. Is there any convenient way to handle this?
I have a lot of text data and want to translate it to different languages.
Possible ways I know:
Google Translate API
Bing Translate API
The problem is that all these services have limitations on text length, number of calls etc. which makes them inconveniente in use.
What services / ways you could advice to use in this case?
I have an XML document based on a Schema that uses the xs:group element to bunch elements together.
The result is an entity
where name, address and phone number are defined in a group.
This fails Schema validation in MS (Visual Studio) as well as XERCES (oXygen XML editor)
Is there a workaround?
I have implemented 3 gesture recognizers - single, double and triple tap. Single and double works perfectly, but the 3 tap gesture is interpreted as a 2 tap gesture, despite the number of taps being set correctly. Does a 3 tap gesture require additional code? Thank you
Hi,
How can i print only certain words from a string in python ?
lets say i want to print only the 3rd word (which is a number) and the 10th one
while the text length may be different each time
mystring = "You have 15 new messages and the size is 32000"
thanks.
Hi,
We plan to advertise our iphone app on other sites. Is there a way to track from which website my iphone app hyperlink was clicked when a purchase is made? Can this be programmed, or is there any analytics app which does this. We will want to track the exact number of sales made from each site..
Appreciate any help..
mb
hai
I have a magento web site. In this the search function compare with product name, description, sku and part number. I want to modify this. ie having to compare only with the product name, short description and Sku, How is it possible.Is there is any settings in admin side?
Can a PHP application have too many functions? Does the execution of a large number of PHP functions hog memory and resources? My WordPress theme in-development has a lot of functions (probably more than 100 by the time I'm done) and I'm concerned that I might have too many.
How can we divide the substring from the string
Like I have string
String mainString="///Trade Time///Trade Number///Amount Rs.///";
Now I have other string
String subString="Amount"
Then I want to extract the substring Amount Rs. with the help of second string named subString not by any other method But it should be extracted through two parameters like first is I have index no of Amount string and second is until the next string ///.
I want to run a very large number (~30000) of jobs with Sun Grid Engine.
I can theoretically, perform 30000 times the "qsub" command to submit jobs. However, I am afraid that will be too much.
Is there a better way to do it? (i.e. from a file)
Or otherwise, do you think it will work nonetheless?
Thank you
Hi all,
I installed the latest version of Cygwin with a number of packages.
I soon realised that I need more packages (such as wget, etc) and I coudln't find a way to install the new packages without running the set up again and reinstall everything from scratch.
What I'm looking for is the equivalent of apt-get on Cygwin (if such a thing exists).
Cheers,
Mulone
I recently started using SourceMonitor to review my (and others) code.
Though i understand other parameters judged by the tool, i don't know how does it calculates the complexity of the code. As in, what all parameters does it considers to read to a complexity number?
Any feedback/suggestion would be of help. Thanks.
Hi,
How can I delete specific DataRows within a loop of a DataTable rows which meet a custom condition -lets say the rows having an index of even number-? (Without using LINQ)
Thanks
I'm currently running a query like this:
SELECT *
FROM email
WHERE email_address LIKE 'ajones@%'
OR email_address LIKE 'bsmith@%'
OR email_address LIKE 'cjohnson@%'
The large number of OR's bothers me. Is there a way to condense this up with something akin to an IN operator, e.g.:
SELECT *
FROM email
WHERE email_address LIKE ('ajones@%', 'bsmith@%', 'cjohnson@%')
Or is this just wishful thinking?
my attempt to init an array with a number of bool values using:
[myArray initWithObjects:[NSNumber numberWithBool:YES],
[NSNumber numberWithBool:YES],
[NSNumber numberWithBool:YES],
nil];
seems to fail since the debugger shows an empty array after this statement is carried out ... Any clues?