loading vba routines via lisp, through a menu

Discussion in 'AutoCAD' started by Mark Dubbelaar, Jul 1, 2003.

  1. hi

    i am just wondering how everyone is loading there vba routines, i am using a
    lisp routine, however... over the last couple of weeks i have come accross a
    few errors in both the: (command "-vbarun" "test.dvb!mtest.test") and
    (vla-runMacro (vlax-get-acad-object) "test.dvb!mtest.test") calls

    firstly with the (command "-vbarun" "test.dvb!mtest.test"): for some reason
    any call to the prompt ie. thisdrawing.prompt vbcr & "this is a test", does
    not show up on the command line

    and with the (vla-runMacro (vlax-get-acad-object) "test.dvb!mtest.test"):
    this routine won't allow for an item to be picked from a dialog box, ie
    click 'select item' in a dialog box, hide the dialog box, then try and pick
    an item and autocad just seems to freeze.

    i'm using a2004

    any advice would be great

    cheers

    mark
     
    Mark Dubbelaar, Jul 1, 2003
    #1
  2. Mark Dubbelaar

    joesu Guest

    JM2CW, I use (vl-vbarun)

    Joe
    --
     
    joesu, Jul 1, 2003
    #2
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.