|
-
October 21st, 2008, 01:57 PM
#1
Runtime Error when trying to load a form
When I hit F5 in Visual Basic.NET 2003 to test the program, it loads just fine. From the main form, I have three buttons, each of which takes users to a different form. Two of the buttons work as intended. One of them has been working, but all of a sudden has given me this error message:
"An unhandled exception of type "System.InvalidProgramException' occurred in MyProgram.exe
Additional information: Common Lanaguage Runtime detected an invalid program."
It then highlights in the Windows Form Designer generated code:
InitializeComponent()
Does anyone know how I can fix this? I have no clue what the problem is and I'm a novice with regards to odd runtime errors.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|