Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How would you....?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
AndrewMan
Grandmaster Cheater Supreme
Reputation: 0

Joined: 01 Aug 2007
Posts: 1257

PostPosted: Sun Mar 09, 2008 11:00 am    Post subject: How would you....? Reply with quote

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 Rolling Eyes

_________________
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sun Mar 09, 2008 11:05 am    Post subject: Reply with quote

Change the startup properties of the project and select Form2 as the startup form.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
AndrewMan
Grandmaster Cheater Supreme
Reputation: 0

Joined: 01 Aug 2007
Posts: 1257

PostPosted: Sun Mar 09, 2008 11:30 am    Post subject: Reply with quote

Wiccaan wrote:
Change the startup properties of the project and select Form2 as the startup form.


I dont see where u can do that. Shocked

_________________
Back to top
View user's profile Send private message
Henley
Grandmaster Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 671

PostPosted: Sun Mar 09, 2008 11:36 am    Post subject: Reply with quote

Make it show at FormLoad?
is there ShowDialog in vb?
Back to top
View user's profile Send private message
AndrewMan
Grandmaster Cheater Supreme
Reputation: 0

Joined: 01 Aug 2007
Posts: 1257

PostPosted: Sun Mar 09, 2008 11:41 am    Post subject: Reply with quote

aznkidtroll wrote:
Make it show at FormLoad?
is there ShowDialog in vb?


Ill try that thanks.

Tried on the form1 load:

Code:
Form2.Show
Me.Hide


Form1 still appears.. along with Form2.

_________________
Back to top
View user's profile Send private message
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Sun Mar 09, 2008 11:58 am    Post subject: Reply with quote

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

_________________
Wiccaan wrote:

Oh jeez, watchout I'm a bias person! Locked.


Auto Assembly Tuts:
In Depth Tutorial on AA
Extended
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sun Mar 09, 2008 12:31 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
AndrewMan
Grandmaster Cheater Supreme
Reputation: 0

Joined: 01 Aug 2007
Posts: 1257

PostPosted: Mon Mar 10, 2008 10:29 am    Post subject: Reply with quote

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 Laughing

_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites