Results 1 to 5 of 5

Thread: How to set the Startup

  1. #1

    Thread Starter
    Lively Member formulav8's Avatar
    Join Date
    Mar 2002
    Location
    Orlando
    Posts
    116

    How to set the Startup

    I am creating a active x control and can't figure out how to get it to startup with Form1 instead of sub main. In vb6 you used project properties. In vb.net I can't find anything that resembles it. Thanks for any help.

  2. #2
    Registered User jkw119's Avatar
    Join Date
    Oct 2001
    Location
    Pittsburgh
    Posts
    256
    go to project / properties / then under startup object select what you want...

    jeff

  3. #3

    Thread Starter
    Lively Member formulav8's Avatar
    Join Date
    Mar 2002
    Location
    Orlando
    Posts
    116
    Thanks, But I don't see a properties selection under the project menu.

  4. #4
    Registered User jkw119's Avatar
    Join Date
    Oct 2001
    Location
    Pittsburgh
    Posts
    256
    alright, on the right, there is a solution explorer window, that holds all the modules and form names. Right click on the windowsapplication1 (default name of any new windows application project you start in vb.net) and select properties. you can get to the window that way too. then change the startup object...

    jeff

  5. #5
    Registered User jkw119's Avatar
    Join Date
    Oct 2001
    Location
    Pittsburgh
    Posts
    256
    that is weird, it seems that it only appears under project if you click or highlight the windowsapplication1, (or whatever you have it named in the solution explorer on the far right). if you have a form or module clicked it won't be there. so just right click on the name in the solution explorer and you can access it.

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