L
Longshot
I am new to using C#, and am not able to find any useful help on this
error.
I am running WinXp, with all the patches and updates. I am working under
Visual Studio 2003, and recently I started to recieve this error when I
compile with debugging (F5): an unhandled exception of type
"System.invalidprogramexception" occurred in my.exe
Additional information: Common Runtime Language detected an invalid
program.
Well, if I compile with no debugginh (ctrl + F5) it runs fine with no
errors.
When I step through the code, the error comes up during the call to
InitializeComponent(); which VS created....
I am at a dead end. I have removed code, and the error went away, but not
sure why. I slowly put the code back, only to get it all back with no
error, only to add a few more unrelated controls, and the error pops up
again.
I have not even started to write code yet, this is all just the gui portion
of the project.
Any help or ideas for where to look would be greatly appreciated.
Dave
error.
I am running WinXp, with all the patches and updates. I am working under
Visual Studio 2003, and recently I started to recieve this error when I
compile with debugging (F5): an unhandled exception of type
"System.invalidprogramexception" occurred in my.exe
Additional information: Common Runtime Language detected an invalid
program.
Well, if I compile with no debugginh (ctrl + F5) it runs fine with no
errors.
When I step through the code, the error comes up during the call to
InitializeComponent(); which VS created....
I am at a dead end. I have removed code, and the error went away, but not
sure why. I slowly put the code back, only to get it all back with no
error, only to add a few more unrelated controls, and the error pops up
again.
I have not even started to write code yet, this is all just the gui portion
of the project.
Any help or ideas for where to look would be greatly appreciated.
Dave