Running VBA Project

Discussion in 'AutoCAD' started by Jade, May 7, 2004.

  1. Jade

    Jade Guest

    Hi

    Trying to run my VBA project file.dvb through the command line so I can
    incorporate into my menu...but it doesn't seem to be loading...

    (command "-vbaload" "c://My VBA Library/VBA/File/file "" "" "")

    I am getting.....

    Command: (command "-vbaload" "c://My VBA Library/VBA/File/file ""
    "" "")
    ("_>


    I am thinking its in my syntax?

    Any suggestions?

    Thanks
     
    Jade, May 7, 2004
    #1
  2. Jade

    L. White Guest

    I think you're missing a quote on the end of the file path string.
     
    L. White, May 7, 2004
    #2
  3. Jade

    Jade Guest

    Hi

    I tried...
    (command "-vbaload" "c://My VBA Library/VBA/File/file" "" "" "")

    and I got

    Command: (command "-vbaload" "c://My VBA Library/VBA/File/file" "" "" "")
    nil

    any suggestions?

    J
     
    Jade, May 7, 2004
    #3
  4. Jade

    Jade Guest

    Tried a different approach and this worked from my menu....

    got it from AfraLisp...

    ^C^C^C^P(vl-vbaload "://My VBA Library/VBA/File/file .dvb")(vl-vbarun
    "file")
     
    Jade, May 7, 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.