here's the specific stuff from the error report:
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.ParseSingle(String s, NumberStyles style, NumberFormatInfo info)
at System.Single.Parse(String s, NumberStyles style, IFormatProvider provider)
at System.Convert.ToSingle(String value)
at WindowsApplication2.ModelViewer.import_Click(Object sender, EventArgs e) in f:\!darkmatter\renderers\modelviewer.cs:line 1009
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
DarkMatter
Assembly Version: 1.0.2113.30646
Win32 Version: 1.0.2113.30646
CodeBase: file:///C:/Documents%20and%20Settings/Owner/My%20Documents/DarkMatter.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
WindowsControlLibrary1
Assembly Version: 1.0.2103.37995
Win32 Version: 1.0.2103.37995
CodeBase: file:///C:/Documents%20and%20Settings/Owner/My%20Documents/WindowsControlLibrary1.DLL
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.900.0
Win32 Version: 5.3.0000000.900 built by: DIRECTX
CodeBase: file:///C:/Documents%20and%20Settings/Owner/My%20Documents/Microsoft.DirectX.Direct3D.DLL
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.900.0
Win32 Version: 5.3.0000000.900 built by: DIRECTX
CodeBase: file:///C:/Documents%20and%20Settings/Owner/My%20Documents/Microsoft.DirectX.DLL
----------------------------------------
Microsoft.DirectX.Direct3DX
Assembly Version: 1.0.900.0
Win32 Version: 5.3.0000000.900 built by: DIRECTX
CodeBase: file:///C:/Documents%20and%20Settings/Owner/My%20Documents/Microsoft.DirectX.Direct3DX.DLL
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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 machine
rather than being handled by this dialog.