Automation Error?

Discussion in 'AutoCAD' started by rewilson, Feb 28, 2004.

  1. rewilson

    rewilson Guest

    What does this mean?
    Run-Time Error'-2147417848(80010108)

    Automation Error
    The Object Invoked has disconnected from it's clients.
    It happens when I run the code upon opening a drawing at line 154,col 1 which reads:
    xlbook.close savechanges=true
    xlapp.quit
     
    rewilson, Feb 28, 2004
    #1
  2. rewilson

    allfro Guest

    Just what it sais:
    The Object Invoked has disconnected from it's clients
    You need a valid Reference to the application Object.

    How are you getting the Application Object? And where are you running
    from? IE: Excel, Acad, VB6


    --
    allfro - Chaos Coder Extraordinaire

    'site index' (http://www.vbdesign.net/) | please use [ vbcode]
    \"your_code_here\" [/vbcode ] code tags | be nice | 'augi'
    (http://tinyurl.com/ytk37) |'go babelfish' (http://tinyurl.com/2j7df)
     
    allfro, Feb 28, 2004
    #2
  3. rewilson

    rewilson Guest

    Running from Acad. I've got it working now. I was running it back into another function if a certain condition was met, and the other function was disconnecting from excel, but continuing the run to exit in this function. I split it into 2 modules that I call from 2 different lisp routines, and it's working fine now. Thanks for the reply.
     
    rewilson, Feb 28, 2004
    #3
  4. rewilson

    allfro Guest

    allfro, Feb 28, 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.