Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 25th, 2004, 05:31 AM
Authorized User
 
Join Date: Jan 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Form Startup Order

Quick question for someone, how do you change the startup order of the forms? They are already created however I require the splash screen to load first. Need to know how to change it.

Cheers

 
Old February 25th, 2004, 07:32 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

In the VB IDE, open up the Project Properties dialog. On the General tab there is a "Startup object" drop-down, just choose your splash form here and it will be the first form loaded when the app starts.
 
Old February 26th, 2004, 05:44 AM
Authorized User
 
Join Date: Aug 2003
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can also Create a Sub Main and load your forms there.
Here you can also do some validation etc before you show a form.

You have to set the Startup object to Sub Main then.

Greetz

Tom





Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set a form as startup form in vb.net 2.0 mallikalapati .NET Framework 2.0 1 February 21st, 2008 09:19 AM
How to get rid of everything except startup form. biglazy Access 9 March 23rd, 2006 07:33 PM
Global instantiation of startup form hilda007 VB.NET 2002/2003 Basics 5 February 21st, 2004 01:56 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.