Results 1 to 3 of 3

Thread: Forms

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    9

    Question

    In a project with more than one form, how do I specify which one loads first when I run the program?

    Where do I declare global variables?

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    1) Goto the Project Properties Windows and there you can select it. It's somewhere in the Project menu.

    2) In a module.

    [Edited by oetje on 12-05-2000 at 08:29 AM]
    Oetje
    [email protected]
    93606776
    Visual Basic 6, Windows 2000

    Never pet a burning dog

  3. #3
    Addicted Member S@NSIS's Avatar
    Join Date
    Aug 2000
    Location
    Stoke-On-Trent, England
    Posts
    243
    Hi,
    To specify which one loads up first, goto Project>Properties and in the box that appears there will be a combo box that says StartUp. Choose which form you want from there.

    To create Global Variables simply declare your variables as Public. You may want to put these variables into a module.

    Hope this helps

    Shaun
    Web/Application Developer
    VB6 Ent (SP5), Win 2000,SQL Server 2000

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width