Results 1 to 2 of 2

Thread: Unhandled Exception opening AutoCad

  1. #1
    irfan Guest

    Unhandled Exception opening AutoCad

    hi,
    I am using the below mentioned code to open acad, _____________________________________
    imports Autocad
    Imports System.Runtime.InteropServices
    Try
    acadApp = Marshal.GetActiveObject("AutoCAD.Application")
    Catch
    Try
    acadApp = New AcadApplicationClass()
    Catch
    Throw
    End Try
    End Try
    _______________________________________

    It worked fine however since yesterday it gives the following error. I created a new project and tried only this code to check if i have changed something in my project, but it still gives the same error. Here is the error.
    ______________________________________
    An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in collection.exe
    Additional information: Server execution failed
    ______________________________________

    Can soomeone guide me please what is wrong and how to correct it.

    Irfan

  2. #2
    irfan Guest
    ignore this, i have sorted it anyway.
    Acad licence file was no available on my system and therfore acad was not available.

    irfan

Similar Threads

  1. Opening AutoCad for Mac drawings on PC?
    By gwighton in forum AutoCAD
    Replies: 0
    Last Post: 03-31-2011, 05:02 AM
  2. Replies: 0
    Last Post: 01-21-2010, 03:36 AM
  3. Replies: 3
    Last Post: 02-23-2005, 02:24 PM
  4. Replies: 1
    Last Post: 02-08-2005, 01:01 PM
  5. Check for attrib without opening AutoCAD
    By Nate Hunter in forum VBA
    Replies: 4
    Last Post: 01-15-2005, 10:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other forums: Access Forum - Microsoft Office Forum - Exchange Server Forum