My Brain Hurts _ One last undetermined error

M

Mithril

I have an application based on the Issuevision example at MSDN.

The program falls over at this line:

Application.run(New MainForm)


Call Stack//
'DefaultDomain': Loaded
'c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols
loaded.
'RevMed': Loaded 'C:\Sandbox\MedOOP2\bin\RevMed.exe', Symbols loaded.
'RevMed.exe': Loaded
'c:\windows\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll',
No symbols loaded.
'RevMed.exe': Loaded
'c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll',
No symbols loaded.
'RevMed.exe': Loaded
'c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll',
No symbols loaded.
'RevMed.exe': Loaded
'c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll',
No symbols loaded.
'RevMed.exe': Loaded
'c:\windows\assembly\gac\microsoft.visualbasic\7.0.5000.0__b03f5f7f11d50a3a\microsoft.visualbasic.dll',
No symbols loaded.
'RevMed.exe': Loaded
'c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll',
No symbols loaded.
'RevMed.exe': Loaded 'c:\sandbox\medoop2\bin\threadhelper.dll', No
symbols loaded.
An unhandled exception of type 'System.ArgumentOutOfRangeException'
occurred in system.windows.forms.dll

Additional information: Specified argument was out of the range of
valid values.

Help greatly appreciated
 
M

michael artz

VB doesn't allow me to change this line.

I don't think it's the code but rather loading something... what does
the call stack show me?
 
J

joeycalisay

Sorry about the syntax confusion. It seems that you are not getting an
exception from the said line. Go to Debug Menu, then choose Exceptions.
From the dialog, choose CLR Exceptions then on the "When the exception is
thrown" groupbox, select "Break into debugger". Apply the settings then
re-run the Form application. It should point you to the line that caused
the exception...

hth
 
M

mithril

I think I love you!!

No more banging my head against a brick wall.

Imagine how much more productive i could be if i had your brain!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top