I have a program that uses a string array, and executes a process based on the values in the array. There is a line of code that is:
if strArg(0).toUpper = "COPY" then
'do stuff
else
'do different stuff
end if
This works great in win2k environment, but in XP it will not execute the first statement ('Do Stuff)!!! I have tired it on 4 XP machines and 3 2k machines. the 2k machines execute fine, the xp doesn't. It will execute in the debug mode without a problem, but when i actually compile and run it, it does not pass that test. Anyone have ANY ideas as to why?
(NOTE - I also tried strArg(0).ToString.ToUpper = "COPY" just in case it switched to unicode or something, and that didn't help)
if strArg(0).toUpper = "COPY" then
'do stuff
else
'do different stuff
end if
This works great in win2k environment, but in XP it will not execute the first statement ('Do Stuff)!!! I have tired it on 4 XP machines and 3 2k machines. the 2k machines execute fine, the xp doesn't. It will execute in the debug mode without a problem, but when i actually compile and run it, it does not pass that test. Anyone have ANY ideas as to why?
(NOTE - I also tried strArg(0).ToString.ToUpper = "COPY" just in case it switched to unicode or something, and that didn't help)