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
Application.run(New MainForm())

Signature
Joey Calisay
http://spaces.msn.com/members/joeycalisay/
> I have an application based on the Issuevision example at MSDN.
>
[quoted text clipped - 8 lines]
> '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\s
ystem.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.dat
a.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
[quoted text clipped - 6 lines]
>
> Help greatly appreciated
michael artz - 18 Feb 2005 06:42 GMT
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?
joeycalisay - 18 Feb 2005 07:10 GMT
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

Signature
Joey Calisay
http://spaces.msn.com/members/joeycalisay/
> VB doesn't allow me to change this line.
>
[quoted text clipped - 3 lines]
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!
mithril - 18 Feb 2005 08:20 GMT
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!!
joeycalisay - 18 Feb 2005 09:32 GMT
I love you too!

Signature
Joey Calisay
http://spaces.msn.com/members/joeycalisay/
> I think I love you!!
>
[quoted text clipped - 4 lines]
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!
VBen - 18 Feb 2005 21:52 GMT
Hey, you two... There are other "rooms" for that!! hehe
> I love you too!
>
[quoted text clipped - 10 lines]
> > *** Sent via Developersdex http://www.developersdex.com ***
> > Don't just participate in USENET...get rewarded for it!