Run AutoCAD pulldown menu

Discussion in 'AutoCAD' started by davidjslee, Apr 14, 2004.

  1. davidjslee

    davidjslee Guest

    Is it possible to run the autocad pulldown menu from VB application?
     
    davidjslee, Apr 14, 2004
    #1
  2. davidjslee

    Ed Jobe Guest

    Since 'run a pulldown' is not correct vb terminology, I have to ask you to
    clarify what you want to do. Do you mean cause it to fly-out as if you hit
    the Alt key, or execute a command on the menu?
     
    Ed Jobe, Apr 14, 2004
    #2
  3. davidjslee

    davidjslee Guest

    No.
    I used the VBA to automate the AutoCAD with the custom pull down menu before, but now I am controlling the AutoCAD from the VB.
    My user liked the custom pull down menus from VBA.
    But with VB, I can only control the AutoCAD with "VB Form with commend buttons".
    First, I wondered if VB MDI form can contain "AutoCAD Document" instead "Form" because if this works, I could use the MDI form pull down menus to control the autoCAD.
    IF the above does not work, I wanted to know if I can control the custom AutoCAD pull down menu from VB.
    Thanks for your attention.
     
    davidjslee, Apr 14, 2004
    #3
  4. Hi David,

    You've got my attention. I've read this several times and still haven't the
    vaguest idea what you are talking about.
    Until you can ask a question which has a meaning others can understand you
    are most unlikely to get a useful response.

    --


    Laurie Comerford
    CADApps
    www.cadapps.com.au

    before, but now I am controlling the AutoCAD from the VB.
    "Form" because if this works, I could use the MDI form pull down menus to
    control the autoCAD.
    AutoCAD pull down menu from VB.
     
    Laurie Comerford, Apr 16, 2004
    #4
  5. I think he simply wants a macro to run from a pulldown. If that's true, yes
    it can be done. Just create a class module in a dll and have vba load it,
    call it and populate a pulldown menu with the macros.
     
    Mike Tuersley, Apr 22, 2004
    #5
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.