I got the error after I added forms from another project into a new project. Theres no error in my code so it doesn't show where the error occurred.. Could someone help me out and explain what this exception means please?
Code:System.InvalidOperationException was unhandled Message="An error occurred creating the form. See Exception.InnerException for details. The error is: Object reference not set to an instance of an object." Source="Project1" StackTrace: at Project1.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190 at Project1.My.MyProject.MyForms.get_Project1Main() at Project1.Project1Main.Main() in C:\Project1\Project1Main.vb:line 7 at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args) at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() InnerException: System.NullReferenceException Message="Object reference not set to an instance of an object." Source="System.Windows.Forms" StackTrace: at System.Windows.Forms.Cursor..ctor(Stream stream) at Project1.Project1Main..ctor() in C:\Project1\Project1Main.vb:line 395 InnerException:


Reply With Quote
