pillmill
asked on
Exception.InnerException ?
I am getting a runtime exception in a VB6 conversion.
The application calls custom OCX controls from a VB.NET project.
The error message is : System.InvalidOperationExc eption was unhandled
It occurs at the following line:
Me.MainForm = Global.App.Main
How do I debug this further ?
The application calls custom OCX controls from a VB.NET project.
The error message is : System.InvalidOperationExc
It occurs at the following line:
Me.MainForm = Global.App.Main
How do I debug this further ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Unless you can detect it from the stack trace - which should follow the line you've quoted from the error message - I don't know.
Sorry
Roger
Sorry
Roger
ASKER
The first error reported is:
"A first chance exception of type 'System.InvalidCastExcepti
How do I determine the line in Application1 at which this exception was thrown ?