VS 2008 - Error when running VB 2008, "cannot be modified at this time"
-
Hi, I wonder if anyone can help me with the error I am getting when I try and run my application in VB 2008. "Form1.vb cannot be modified at this time" I have tried Tools/Option/Build and Run/ Don't save any changes. I have re-installed etc but with no success. When I put say a button on the form the first time, it works. If I add another say button then that is when I get the problem. Basically adding anything to a form gets the error. When I save my app then run, it works but I do not want to save before I run. Thanks in advance
-
Hi, I wonder if anyone can help me with the error I am getting when I try and run my application in VB 2008. "Form1.vb cannot be modified at this time" I have tried Tools/Option/Build and Run/ Don't save any changes. I have re-installed etc but with no success. When I put say a button on the form the first time, it works. If I add another say button then that is when I get the problem. Basically adding anything to a form gets the error. When I save my app then run, it works but I do not want to save before I run. Thanks in advance
Isn't this the same question that you've already asked on the Visual Basic forum?
-
Isn't this the same question that you've already asked on the Visual Basic forum?
Yes. I thought maybe someone who does not use VB would not look at VB message board.
-
Yes. I thought maybe someone who does not use VB would not look at VB message board.
And since your question pertains to VB, how is posting the question in a non-VB forum for people who don't use VB going to help find an answer? :rolleyes:
I know the language. I've read a book. - _Madmatt
-
And since your question pertains to VB, how is posting the question in a non-VB forum for people who don't use VB going to help find an answer? :rolleyes:
I know the language. I've read a book. - _Madmatt
He got the wrong question as well as the wrong forum. This question is about the Visual Studio IDE and not specific to any language, although it says VB 2008 in the subject. It is a typo, or a mis-comprehension. So, I think this is the correct forum. It should not be in the VB forum.
If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) [My Articles] [My Website]
-
Yes. I thought maybe someone who does not use VB would not look at VB message board.
You cannot add buttons or make any edits in the designer while the application is running. You can however make changes in code. Add your buttons, then run it is the only way. PS. This is a limitation of the IDE, not language specific. Or, as I should say, being able to edit-and-continue in the code at all is a feature not a limitation.
If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) [My Articles] [My Website]
-
You cannot add buttons or make any edits in the designer while the application is running. You can however make changes in code. Add your buttons, then run it is the only way. PS. This is a limitation of the IDE, not language specific. Or, as I should say, being able to edit-and-continue in the code at all is a feature not a limitation.
If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) [My Articles] [My Website]
Hi, The application was not running or looked as it had stopped. Is there anything that indicates that the app is still running? I did press the stop button. I can make a change to the form designer then go into the code and run no problem from there. It is a strange one that was driving me nuts but properly I am doing something wrong.