<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error 429 in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/error-429/m-p/997678#M55455</link>
    <description>Assuming you are doing this in vba [because you mention macro], here is how
you get the running instance:

Set ACADApp = AcadApplication 

Don't use GetObject unless you are working in full VB. Second and most
likely problem is the version of ADO.  On the ones that error, check the
installed version - just because they have msado15.dll doesn't mean its
2.7.</description>
    <pubDate>Tue, 06 Apr 2004 18:40:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2004-04-06T18:40:18Z</dc:date>
    <item>
      <title>Error 429</title>
      <link>https://forums.autodesk.com/t5/vba-forum/error-429/m-p/997677#M55454</link>
      <description>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.&lt;BR /&gt;
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:&lt;BR /&gt;
&lt;BR /&gt;
Public WithEvents ACADApp As AcadApplication&lt;BR /&gt;
&lt;BR /&gt;
Sub Example_AcadApplication_Events()&lt;BR /&gt;
Set ACADApp = GetObject(, "AutoCAD.Application")&lt;BR /&gt;
End Sub&lt;BR /&gt;
Any ideas on why it doesn't work on all machines? Running Acad 2K4, WinXP. TIA</description>
      <pubDate>Tue, 06 Apr 2004 15:47:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/error-429/m-p/997677#M55454</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-04-06T15:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error 429</title>
      <link>https://forums.autodesk.com/t5/vba-forum/error-429/m-p/997678#M55455</link>
      <description>Assuming you are doing this in vba [because you mention macro], here is how
you get the running instance:

Set ACADApp = AcadApplication 

Don't use GetObject unless you are working in full VB. Second and most
likely problem is the version of ADO.  On the ones that error, check the
installed version - just because they have msado15.dll doesn't mean its
2.7.</description>
      <pubDate>Tue, 06 Apr 2004 18:40:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/error-429/m-p/997678#M55455</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-04-06T18:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error 429</title>
      <link>https://forums.autodesk.com/t5/vba-forum/error-429/m-p/997679#M55456</link>
      <description>Thanks Mike........but I'm a little confused now. They are all linking to a common database, so shouldn't they all require the same references? I'm a little green in the VBA arena, but learning it. I'll change some of the references and see if it helps, but in the meantime, any further enlightment you can offer is greatly appreciated.</description>
      <pubDate>Tue, 06 Apr 2004 20:14:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/error-429/m-p/997679#M55456</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-04-06T20:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error 429</title>
      <link>https://forums.autodesk.com/t5/vba-forum/error-429/m-p/997680#M55457</link>
      <description>Okay Mike. I changed it from getobject to acadapplication and that fixed the problem. I'd still like to know why the other way works on some machines, and on some it doesn't. Thanks again.</description>
      <pubDate>Tue, 06 Apr 2004 21:25:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/error-429/m-p/997680#M55457</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-04-06T21:25:02Z</dc:date>
    </item>
  </channel>
</rss>

