23maploosh
Programmer
I have a windows application that was built with vs2003. One part of the application uses a xml file to adjust the formatting of questions that are being displayed. The problem here is that the application uses the lines,
dim size as integer
size = "14.25" (this is actually a string being parsed to pull out the 14.25, but works out to setting size = "14.25")
Now this application has been running on several machines without any problems and then last week someone emailed me saying they were getting a System.InvalidCastException. I investigated the error and it pointed to the code listed above. I know how to fix the error and I should never of left it like this in the first place but I am wondering if anyone knows why it works on certain machines and then errors out on another. Any ideas would be appreciated.
Thanks
Matt
dim size as integer
size = "14.25" (this is actually a string being parsed to pull out the 14.25, but works out to setting size = "14.25")
Now this application has been running on several machines without any problems and then last week someone emailed me saying they were getting a System.InvalidCastException. I investigated the error and it pointed to the code listed above. I know how to fix the error and I should never of left it like this in the first place but I am wondering if anyone knows why it works on certain machines and then errors out on another. Any ideas would be appreciated.
Thanks
Matt