There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Windows Vista
Tag Cloud
audio blue screen boot bsod computer cpu crash dell desktop driver drivers error excel external hard drive firefox freezes freezing hard drive hardware hijackthis internet internet explorer itunes laptop malware motherboard mouse network networking ntfs outlook outlook 2007 power printer problem ram router screen slow sound trojan usb virus vista vista 32-bit windows windows xp windowsxp winxp wireless
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > Windows Vista >
Error - input streem


Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
Dorota's Avatar
Computer Specs
Junior Member with 4 posts.
 
Join Date: Jan 2008
Experience: Intermediate
23-Jan-2008, 07:38 PM #1
Error - input streem
Hello
Every time I swich on my computer I get the information that input screen was not a correct format.And when I viev details it is written:




See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at Project1.Startup.Reminder_Code()
at Project1.Startup.Startup_Load(Object eventSender, EventArgs eventArgs)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Reminder_MUI
Assembly Version: 1.4.2757.14090
Win32 Version: 1.4.2757.14090
CodeBase: file:///C:/Applications/oem/Reminder/Reminder_MUI.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
Interop.IWshRuntimeLibrary
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Applications/oem/Reminder/Interop.IWshRuntimeLibrary.DLL
----------------------------------------
Microsoft.VisualBasic.Compatibility
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.312
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic.Compatibility/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.Compatibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.



I don't get it .What shall I do ?
Will be thankful
yankies's Avatar
Junior Member with 2 posts.
 
Join Date: Aug 2008
21-Aug-2008, 02:06 PM #2
installing SP3 will help !
Dorota's Avatar
Computer Specs
Junior Member with 4 posts.
 
Join Date: Jan 2008
Experience: Intermediate
22-Aug-2008, 03:29 PM #3
thank you !
Have a good day and thank you for your help.I will try doing this .
Dorota
yankies's Avatar
Junior Member with 2 posts.
 
Join Date: Aug 2008
24-Aug-2008, 08:51 PM #4
noop
I wrote a program in c# ,it works in my computer but in some other computers it gives exception not exactly the same but like your exception ,I found out in my case the problem is in regional settings where you choose main language for your computer ,for example if you choose English(united states) it means you choose 120,234,123.234 to be your standard for numbers ,if in any case you use int32.pars("120,234,123.234") your computer will get it like a correct number and gives you a int32 correct format but if you change your language to one of other "international" languages (in my case russian )your standard will change and your computer will know 120 234 123,234 as it's standard ! it means for example if you read from file with international standard and your computer understands US standard you will get this kind of exception :

System.FormatException: Input string was not in a correct format.
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
and...

it doesnt have anything to do with installing SP3 and installing .net framework
I tried it !

about config file ,I dont know if I'm right but it seems if you want to change sth in your exe file and you dont want to compile it in for example visual studio you can add to your project config file and write in it (for example <add key="button1.text" value="10"/>) and you will be able to copy exe file and config file where you want and just change this values or other parameters without compiling your program again and have changes done in your program ,in this case the default text for button1 .

for more info search for configuring an application
A configuration file is simply an XML file with appropriate tags and appropriate name<name>.<extension>.config (e.g. application.exe.config )
High-level .config file schema elements are:
<startup>,<runtime>,<system.runtime.remoting>,<system.net>,<mscorlib>,<conf igSections>,<system.diagnostics>

I tried to use this :
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

or <system.windows.forms jitDebugging="false" />



not helpful if you have "string problem" !

I would recommend you to check code where you try to read string and convert it to float,double,int or... you could use messagebox.show() to see if string you want to convert has correct form.
Dorota's Avatar
Computer Specs
Junior Member with 4 posts.
 
Join Date: Jan 2008
Experience: Intermediate
25-Aug-2008, 02:08 AM #5
Thumbs up yea
I was thinking so ..
Once again thank you for your kind help
Have a great day
Dorota
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 01:05 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.