Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Form as Startup Object

Form as Startup Object

Scheduled Pinned Locked Moved Visual Basic
questioncsharp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SuperGeek
    wrote on last edited by
    #1

    I am sorry for asking such a trivial question, but here it goes. I have a form in vb.net that I would like to be by start up object. Every time I try to compile I get Sub Main not found. Is there a project option or something I need to set in Visual Studo.NET? If so where is it?

    N 1 Reply Last reply
    0
    • S SuperGeek

      I am sorry for asking such a trivial question, but here it goes. I have a form in vb.net that I would like to be by start up object. Every time I try to compile I get Sub Main not found. Is there a project option or something I need to set in Visual Studo.NET? If so where is it?

      N Offline
      N Offline
      Nick Seng
      wrote on last edited by
      #2

      Click on your menu Project -> Properties. You Project Property Pages will show. Select Common Properties -> General in the left pane. You can then see a property called Startup Object in the right pane. Select the form you want as the startup object and click Apply. On a side note, this is in the Help provided by the IDE. You could have solved this quicker if you looked there first :)


      God, I pity me! - Phoncible P. Bone If I end up Windows ME someone is going to be hurting. - One of the answers to a question for What OS are you

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups