Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27189

VS 2010 InvalidOperationException (An error occurred creating the form)

$
0
0
Me.MainForm = Global.SuperPad.Form1

This gives me the "InvalidOperationException was unhandled" (An error occurred creating the form. See Exception.InnerException for details. SuperPad is my text editor. Not sure exactly where in this line of code. Any way I try to open Form1, it says that same error. I really didn't change anything since the error started, just modified some simple codes for a button. Then, the error occurred. (The error is: Object reference not set to an instance of an object.) error. When I look at autos, is see this:

MainForm Nothing
+Me {SuperPad.My.MyApplication}
Me.MainForm Nothing

Please I need this done ASAP please please!

Thanks in advance,

Bill

Viewing all articles
Browse latest Browse all 27189

Trending Articles