Computer Science Canada

new form newb question

Author:  turing91 [ Sat Feb 17, 2007 6:57 pm ]
Post subject:  new form newb question

ok i just started visual basics and i would like to know how to click a button and have it open the window again. thank you.

Author:  cool dude [ Thu Feb 22, 2007 9:50 pm ]
Post subject:  Re: new form newb question

what window are you talking about?

Author:  turing91 [ Sat Feb 24, 2007 12:34 pm ]
Post subject:  RE:new form newb question

you know like ie7 where you can open a new window and it opens the original window with your home page and stuff.

Author:  cool dude [ Sat Feb 24, 2007 7:30 pm ]
Post subject:  Re: RE:new form newb question

turing91 @ Sat Feb 24, 2007 12:34 pm wrote:
you know like ie7 where you can open a new window and it opens the original window with your home page and stuff.


if i understand correctly you want to open up a blank new form by clicking on a button. you can't just randomly create a form by pressing on a button. you actually have to add a form to your project and then you can do form_name.show when the button is clicked.

steps
1. create 2 forms
2. make a button on the first form and double click it
3. in the code type form2.show
4. run your program and click on button and it opens a new form.

Is this what you mean?

Author:  turing91 [ Mon Feb 26, 2007 6:56 pm ]
Post subject:  RE:new form newb question

ok thanks, that helped.


: