Message 1 of 4
Error 429

Not applicable
04-06-2004
08:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Firing a macro at open and close of a drawing, on some machines I get an Error code 429. I have a reference to the Microsoft ActiveX 2.7 object library, and the msado15.dll is present on all machines. Trying to setup a begin_close event.
On some machines, I recieve the error "Could not create the ActiveX object(or something to that effect), while others work fine. The code reads as follows:
Public WithEvents ACADApp As AcadApplication
Sub Example_AcadApplication_Events()
Set ACADApp = GetObject(, "AutoCAD.Application")
End Sub
Any ideas on why it doesn't work on all machines? Running Acad 2K4, WinXP. TIA
On some machines, I recieve the error "Could not create the ActiveX object(or something to that effect), while others work fine. The code reads as follows:
Public WithEvents ACADApp As AcadApplication
Sub Example_AcadApplication_Events()
Set ACADApp = GetObject(, "AutoCAD.Application")
End Sub
Any ideas on why it doesn't work on all machines? Running Acad 2K4, WinXP. TIA