Startup Form problem

Discussion in 'Microsoft VB .NET' started by Jack Russell, May 27, 2007.

  1. Jack Russell

    Jack Russell Guest

    I just converted my project from Vb.net 2003 to express 2005

    I get the following message

    frmmain is a type in 'TCW3' and cannot be used as an expression. File is
    TCW3MainForm.vb line 0 column 0


    This is caused by having frmmain as the startup form. If I change it to
    another form the message goes away. I created a dummy form which calls
    frmmain, set that as the startup form and it all works.

    What is the problem

    Thanks

    Jack Russell
     
    Jack Russell, May 27, 2007
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rat
    Replies:
    2
    Views:
    237
    Herfried K. Wagner [MVP]
    Dec 1, 2003
  2. Rich Wallace

    Windows Form startup position

    Rich Wallace, Mar 1, 2004, in forum: Microsoft VB .NET
    Replies:
    3
    Views:
    222
    Rich Wallace
    Mar 3, 2004
  3. JAPSTER
    Replies:
    3
    Views:
    322
    JAPSTER
    Jan 18, 2005
  4. Christopher Lusardi

    How To Create New Form From Form Or Tabs On A Form

    Christopher Lusardi, May 17, 2006, in forum: Microsoft VB .NET
    Replies:
    3
    Views:
    221
    Christopher Lusardi
    May 18, 2006
  5. reidarT
    Replies:
    2
    Views:
    284
    Cor Ligthert [MVP]
    Dec 1, 2006
Loading...

Share This Page