| View previous topic :: View next topic |
| Author |
Message |
AndrewMan Grandmaster Cheater Supreme
Reputation: 0
Joined: 01 Aug 2007 Posts: 1257
|
Posted: Sun Mar 09, 2008 11:00 am Post subject: How would you....? |
|
|
Make Form2 in Visual Basic appear before Form1?
I am making something where I have to enter settings from Form2, and than hit like a "continue" button, where it takes me to Form1.
I know it is something simple, just I cannot figure it out. I feel stupid
_________________
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Sun Mar 09, 2008 11:05 am Post subject: |
|
|
Change the startup properties of the project and select Form2 as the startup form.
_________________
- Retired. |
|
| Back to top |
|
 |
AndrewMan Grandmaster Cheater Supreme
Reputation: 0
Joined: 01 Aug 2007 Posts: 1257
|
Posted: Sun Mar 09, 2008 11:30 am Post subject: |
|
|
| Wiccaan wrote: | | Change the startup properties of the project and select Form2 as the startup form. |
I dont see where u can do that.
_________________
|
|
| Back to top |
|
 |
Henley Grandmaster Cheater
Reputation: 0
Joined: 03 Oct 2006 Posts: 671
|
Posted: Sun Mar 09, 2008 11:36 am Post subject: |
|
|
Make it show at FormLoad?
is there ShowDialog in vb?
|
|
| Back to top |
|
 |
AndrewMan Grandmaster Cheater Supreme
Reputation: 0
Joined: 01 Aug 2007 Posts: 1257
|
Posted: Sun Mar 09, 2008 11:41 am Post subject: |
|
|
| aznkidtroll wrote: | Make it show at FormLoad?
is there ShowDialog in vb? |
Ill try that thanks.
Tried on the form1 load:
Form1 still appears.. along with Form2.
_________________
|
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Sun Mar 09, 2008 11:58 am Post subject: |
|
|
There should be something like
Program.vb
in your files.
Go into there, and there will be a call to a method along the lines of
Application.Start new Form1
or something. Change the Form1 there to Form2
_________________
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Sun Mar 09, 2008 12:31 pm Post subject: |
|
|
Program Properties -> Application tab, there should be Startup form somewhere in there. Change it to the form you want to load first.
_________________
- Retired. |
|
| Back to top |
|
 |
AndrewMan Grandmaster Cheater Supreme
Reputation: 0
Joined: 01 Aug 2007 Posts: 1257
|
Posted: Mon Mar 10, 2008 10:29 am Post subject: |
|
|
| Wiccaan wrote: | | Program Properties -> Application tab, there should be Startup form somewhere in there. Change it to the form you want to load first. |
Found it! Thanks
_________________
|
|
| Back to top |
|
 |
|