Any idea why this doesn't work in 2005??

Discussion in 'AutoCAD' started by Matt W, Jul 15, 2004.

  1. Matt W

    Matt W Guest

    (vl-load-com)
    (prompt (vlax-product-key))

    If I type this at the command line, I get nothing. Nada. Zip.
    Is there something new with VLisp and 2005??

    Thanks in advance!
     
    Matt W, Jul 15, 2004
    #1
  2. Matt W

    Doug Broad Guest

    Works for me:
    Command: (PROMPT (VLAX-PRODUCT-KEY))
    Software\Autodesk\AutoCAD\R16.1\ACAD-304:409nil
     
    Doug Broad, Jul 15, 2004
    #2
  3. Matt W

    Matt W Guest

    That's the response I thought I was going to get. DANG!

    --
    Matt W

    The difference between genius and stupidity is that genius has its limits.
    | Works for me:
    | Command: (PROMPT (VLAX-PRODUCT-KEY))
    | Software\Autodesk\AutoCAD\R16.1\ACAD-304:409nil
    |
    | > (vl-load-com)
    | > (prompt (vlax-product-key))
    | >
    | > If I type this at the command line, I get nothing. Nada. Zip.
    | > Is there something new with VLisp and 2005??
    | >
    | > Thanks in advance!
    | >
    | > --
    | > Matt W
    | >
    | > The difference between genius and stupidity is that genius has its
    limits.
    | >
    | >
    |
    |
     
    Matt W, Jul 15, 2004
    #3
  4. Matt W

    Matt W Guest

    Okay, so now it works.
    Do I have to try it 5 times before it will work??

    You gotta love computers.

    --
    Matt W

    The difference between genius and stupidity is that genius has its limits.
    | That's the response I thought I was going to get. DANG!
    |
    | --
    | Matt W
    |
    | The difference between genius and stupidity is that genius has its limits.
    | | | Works for me:
    | | Command: (PROMPT (VLAX-PRODUCT-KEY))
    | | Software\Autodesk\AutoCAD\R16.1\ACAD-304:409nil
    | |
    | | | > (vl-load-com)
    | | > (prompt (vlax-product-key))
    | | >
    | | > If I type this at the command line, I get nothing. Nada. Zip.
    | | > Is there something new with VLisp and 2005??
    | | >
    | | > Thanks in advance!
    | | >
    | | > --
    | | > Matt W
    | | >
    | | > The difference between genius and stupidity is that genius has its
    | limits.
    | | >
    | | >
    | |
    | |
    |
    |
     
    Matt W, Jul 15, 2004
    #4
  5. Matt W

    ECCAD Guest

    Try:
    (vl-load-com)
    (prompt (strcat (vlax-product-key) "\n"))

    I read somewhere in Help that the 'echo' gets lost, but can
    be seen with a "\n" at the 'end' of the statements that echo stuff to the screen.

    Bob
     
    ECCAD, Jul 15, 2004
    #5
  6. Matt W

    Matt W Guest

    Thanks, Bob!

    --
    Matt W

    The difference between genius and stupidity is that genius has its limits.
    | Try:
    | (vl-load-com)
    | (prompt (strcat (vlax-product-key) "\n"))
    |
    | I read somewhere in Help that the 'echo' gets lost, but can
    | be seen with a "\n" at the 'end' of the statements that echo stuff to the
    screen.
    |
    | Bob
     
    Matt W, Jul 15, 2004
    #6
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.