0

Hello all, this is a real newbie question. I just bought VisualBasic.net student addition. I also bought a book to learn the language. But I've ran into a problem. Example, when I start a form and add a button to it and hit f5 to run the program it runs ok with the button. But if I make changes to the form say add an additional button or a list box and hit f5 to run the program it doesn't run with the new button but it runs the first instance. Please someone help, I'm eager to learn VB.Net and this is really holding me up. How can I get the program to run with the changes?

3
Contributors
2
Replies
4
Views
11 Years
Discussion Span
Last Post by plazmo
0

Hello all, this is a real newbie question. I just bought VisualBasic.net student addition. I also bought a book to learn the language. But I've ran into a problem. Example, when I start a form and add a button to it and hit f5 to run the program it runs ok with the button. But if I make changes to the form say add an additional button or a list box and hit f5 to run the program it doesn't run with the new button but it runs the first instance. Please someone help, I'm eager to learn VB.Net and this is really holding me up. How can I get the program to run with the changes?

emm. instead of hitting f5 to run, run the debugger... this usualy happens when your program can't compile because of syntax errors.

If that doesn't help, go into your project folder, go into the bin, delete the .exe and try again.

0

you probably need to build it before you debug it. you shouldnt need to but i seen the same problem happening while i was at school.

so build>build solution (ctrl+shift+b) then Debug>start (f5)

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.