Program and Sub Main

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sam

    #1

    Program and Sub Main

    Hi all

    Would anyone help me with the following?

    Does every vb program need a sub Main to run? If I create a project with one
    single form, Form1, and make it the startup form, does VS generate its sub
    Main? When IThe VS code editor does not seem to include it. Is the sub main
    of my project hidden?

    Thanks,

    Sam


  • Mattias Sjögren

    #2
    Re: Program and Sub Main

    >Is the sub main of my project hidden?

    No, but it can be generated by the compiler.


    Mattias

    --
    Mattias Sjögren [C# MVP] mattias @ mvps.org
    http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
    Please reply only to the newsgroup.

    Comment

    Working...