Windows Develop Bookmark and Share   
 index > Windows Forms General > Need help
 

Need help

hi all

I created C# windows application then i compressed it with winrar and sent it to another computer with ftp application , in my system the program is running correctly, but in other computers it doesn't , I added progress bar to know how much my work done, so when it reaches 95%, I have this exception Input string was not in correct format, but as i said in my PC the program is running correctly,I don't know why ... Thanks

borzan  Monday, February 18, 2008 3:03 PM

It is difficult to help you as we have no idea on how your program performs the tasks you mentioned, all we know is what you know (Input string was in incorrect format). You must try to reproduce the problem in your PCexactly as it happens on the other PC (same excel files for instance), sou you can try to debug the application (see the values when exception is thrown).

There is not much we can do here to help youwithout the code you use, the line the exception is thrown and the value of the variables when the exception is thrown.

Regards,

Fábio

Fábio Franco  Tuesday, February 19, 2008 12:15 PM
provide more information about your app and alternately source code if you can... do you validate app inputs? if your users input int's or other values do you use methods like int.TryParse to ensure the value entered by users are correct without throwing exceptions? don't trust your users
Ion Todirel  Monday, February 18, 2008 3:54 PM

hi Ion, I tested it in my machine and is working properly, but I tasted in another pc it didn't work, my program reads Excel File , this file contains Songs location in our server, then program calculates each song duration and produces Excel output file with the same input file Column and the duration of each song. Thanks

borzan  Tuesday, February 19, 2008 10:24 AM

It is difficult to help you as we have no idea on how your program performs the tasks you mentioned, all we know is what you know (Input string was in incorrect format). You must try to reproduce the problem in your PCexactly as it happens on the other PC (same excel files for instance), sou you can try to debug the application (see the values when exception is thrown).

There is not much we can do here to help youwithout the code you use, the line the exception is thrown and the value of the variables when the exception is thrown.

Regards,

Fábio

Fábio Franco  Tuesday, February 19, 2008 12:15 PM

at least give us the full call stack of the exception...

Ion Todirel  Tuesday, February 19, 2008 2:42 PM

You can use google to search for other answers

Custom Search

More Threads

• generating winforms on the fly
• At a crossroads...
• Bug Report/Solution: app.config: Configuration system failed to initialize
• A Simple GUI Question
• PropertyGrid Enum Description Help
• CheckedListBox editing status when clicking on 'new' button
• toolStripStatusLabel.Text doesn't update?
• Synchronizing the ProgressChanged event of BackgroundWorker Component
• ColorPicker ComboBox
• How to initiate a new object when ...