VLAX / Vlisp Editor issue?

Discussion in 'AutoCAD' started by Dale, Aug 7, 2003.

  1. Dale

    Dale Guest

    Hi all-

    I'm running 2002 & when I do something like the following in VBA:

    Dim oVLax As New VLAX
    oVLax.SetLispSymbol "temp", "Hello World!"

    My Visual Lisp IDE seems to "hang". When I switch to the VLIDE there is an
    hour glass cursor and I am not able to do anything. This happens with any
    "VLAX" commands. If I then go to the Acad command line and type any basic
    lisp statement such as (princ) the VLIDE comes back.

    Any ideas? Thanks in advance!

    Dale
     
    Dale, Aug 7, 2003
    #1
  2. Although you are running the VLIDE, have you executed the (vl-Load-Com)
    function at least once before using the VBA macro?

    --
    R. Robert Bell, MCSE
    www.AcadX.com


    | Hi all-
    |
    | I'm running 2002 & when I do something like the following in VBA:
    |
    | Dim oVLax As New VLAX
    | oVLax.SetLispSymbol "temp", "Hello World!"
    |
    | My Visual Lisp IDE seems to "hang". When I switch to the VLIDE there is
    an
    | hour glass cursor and I am not able to do anything. This happens with any
    | "VLAX" commands. If I then go to the Acad command line and type any basic
    | lisp statement such as (princ) the VLIDE comes back.
    |
    | Any ideas? Thanks in advance!
    |
    | Dale
    |
    |
    |
    |
     
    R. Robert Bell, Aug 7, 2003
    #2
  3. Well, I used vanilla TuTu, with the VLIDE open in the background, and ran
    this following module with no trouble. Are you using the latest version of
    VLAX?

    Public Sub Test()
    Dim oTest As VLAX
    Set oTest = New VLAX
    oTest.SetLispSymbol "test", "Hello, world!"
    End Sub


    Command: -vbarun
    Macro name: test

    Command: !test
    "Hello, world!"


    --
    R. Robert Bell, MCSE
    www.AcadX.com


    | It's loaded. The VLAX functions are working, it's just causing the VLIDE
    to
    | "hang".
    |
    | Dale
    |
    | | > Although you are running the VLIDE, have you executed the (vl-Load-Com)
    | > function at least once before using the VBA macro?
    | >
    | > --
    | > R. Robert Bell, MCSE
    | > www.AcadX.com
    | >
    | >
    | > | > | Hi all-
    | > |
    | > | I'm running 2002 & when I do something like the following in VBA:
    | > |
    | > | Dim oVLax As New VLAX
    | > | oVLax.SetLispSymbol "temp", "Hello World!"
    | > |
    | > | My Visual Lisp IDE seems to "hang". When I switch to the VLIDE there
    is
    | > an
    | > | hour glass cursor and I am not able to do anything. This happens with
    | any
    | > | "VLAX" commands. If I then go to the Acad command line and type any
    | basic
    | > | lisp statement such as (princ) the VLIDE comes back.
    | > |
    | > | Any ideas? Thanks in advance!
    | > |
    | > | Dale
    | > |
    | > |
    | > |
    | > |
    | >
    | >
    |
    |
     
    R. Robert Bell, Aug 8, 2003
    #3
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.