cant load form (new user)

  • Thread starter Thread starter bunsonsr
  • Start date Start date
B

bunsonsr

Guest
After working hard to learn visual basic from scratch I had my first big (for me) program working well when with out warning I can't load my form to add the last button . The program works without error messages, but when I try to load the form to continue work "an error occurred while loading the document, fix the error and try to reload" the error message is " the parameter is incorrect"

I have no Idea what that means and of course the help doesn't help. Acually while I think VB net is great the programing help for a beginner is terrible . I get most of my help from old basic language references.

I saved copies of the program in earlier stages of development will that help? If I cant recover the form will I have redo all of the code? the program is fairly complex.
 
Hi :)

Since we are not sure what the problem exactly is (might be VB you never know), if you would attach the project somebody else could try opening it and see what happens. This is the only advice I have. Sorry :( I only have VB 6.
 
It sounds like the problem should be fairly easy to fix. You have
VB.NET, and it has a much higher learning curve than VB6 does.
Although VB.NET is great, I'd imagine it to be tough for a beginner,
like you mentioned.

Could you perhaps paste the line of code the error is occuring on?

Also I believe this belongs in the VB.NET forum.
 
I f I knew what line of code was causing the error I would not have a problem== the form wont load so I can work on it, but it will come up and run if I start the program. ( I can step through the program with the debugger and there are no errors) It may be some kind of an environment (VB) problem. what is the vb.net forum?
Perhaps I wasnt clear == the form wont come up in the design mode but the source code will .I can can change the code but can't bring up the form to work on it. Add controls ,etc.
 
bunsonsr said:
...form wont come up in the design mode but the source code will .I can can change the code but can't bring up the form to work on it. Add controls ,etc.

You made your self clear too me, since I don't have .net I can't realy give alot of help but you might have to re-install VB (I have done that 3 times). But the only way to be shure it is VB is to try it on an other computer and the only way to do that is a) you have an other computer with .net or b) you post it here so somebody else can try it. :)
 
Yes, you should post your project here so I or other can take a look at it.

One more thing... Sometimes it happens to me that I have to stop my project when I open it. Maybe this is happening to you.

Open your project and find the stop button on the toolbar. If it is enabled click it and then try to view you form.
 
This post is a bit old but as I also came across this problem with Visual Studio 2003 recently, so I think it might be helpful to someone.

The solution I found is: Close the form. Click on the form name in "Solution Explorer", goto "Properties", change the "File Name" to another name. And the form will be open again in the design mode. You can later change back the form name to it's original and save. This works for me. HTH
 
Back
Top