WinMain in VB?

Discussion in 'AutoCAD' started by HomeBoy, Jul 28, 2004.

  1. HomeBoy

    HomeBoy Guest

    What is the equilviant of the WinMain function in C++ programs in Visual Basic?
     
    HomeBoy, Jul 28, 2004
    #1
  2. HomeBoy

    x Guest

    when you open a new project, you choose the sub/object that will start your
    app:
    a) a sub named "Main"
    b) a form like Form1
    c) none (possible only if you are building a DLL ActiveX)
    - - -
    In VBA you can neither compile your app nor build dlls; your only choise is
    to make public/private your subs
     
    x, Jul 28, 2004
    #2
  3. HomeBoy

    bcoward Guest

    HomeBoy,

    Haven't looked at the docs but Checkout ShellExecute API and see if that ='s.

    Good luck,

    Bob Coward
    CADS, Inc
    www.cadsinc.com

    800-366-0946
     
    bcoward, Jul 28, 2004
    #3
  4. HomeBoy

    HomeBoy Guest

    What I'm looking is for some place to initialize a few things and put in a "last chance" error handel'er, that kind of thing.

    Only need to run once at load time.

    Thanks

    HomeBoy Out
     
    HomeBoy, Aug 1, 2004
    #4
Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
There are no similar threads yet.
Loading...