Problem converting to VS2005 - No SUB MAIN found!

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

    Problem converting to VS2005 - No SUB MAIN found!

    I converted a VB.NET 2003 app to 2005.
    I got error "SUB MAIN" not found. Why 05 requires a Sub Main to run? I never
    used Sub Main in my apps.

    Thanks

    Bill


  • Cor Ligthert [MVP]

    #2
    Re: Problem converting to VS2005 - No SUB MAIN found!

    Bill,

    I don't use them as well not in 2003 and not in 2005

    So there should be something special.

    What is hart to see from here.

    Cor

    "Bill nguyen" <billn_nospam_p lease@jaco.com> schreef in bericht
    news:O9CCv6mUGH A.4772@TK2MSFTN GP14.phx.gbl...[color=blue]
    >I converted a VB.NET 2003 app to 2005.
    > I got error "SUB MAIN" not found. Why 05 requires a Sub Main to run? I
    > never used Sub Main in my apps.
    >
    > Thanks
    >
    > Bill
    >
    >[/color]


    Comment

    • hayworth@hotmail.com

      #3
      Re: Problem converting to VS2005 - No SUB MAIN found!

      It doesn't. I'm looking at my project right now and it starts from a
      form, frmMain. From the pulldown, select "Project/YourApp
      Properties..." - down at the very bottom. It should come up with the
      Application tab (on the left column) selected. What does it say for
      your startup object? If it says Sub Main and you want it to say a
      form, just select the form from the dropdown list.

      Comment

      Working...