<?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 loading type library/DLL 0x80029C4A TYPE-E-CANTLOADLIBRARY in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6331388#M8914</link>
    <description>&lt;P&gt;I'm still trying to find a solution to my problem. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached a small sample app that crashes when it gets to the line:&lt;/P&gt;&lt;PRE&gt;Dim m As AcadModelSpace = d.ModelSpace&lt;/PRE&gt;</description>
    <pubDate>Tue, 17 May 2016 20:57:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-05-17T20:57:43Z</dc:date>
    <item>
      <title>Error loading type library/DLL 0x80029C4A TYPE-E-CANTLOADLIBRARY</title>
      <link>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6301142#M8910</link>
      <description>&lt;P&gt;I have an application I wrote that has been working for a long time and is not giving me an error. &amp;nbsp;My application uses COM to automate AutoCAD 2014. &amp;nbsp;My dev machine is running Windows 8.1 with VS 2013. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When my application gets to the ModelSpace line in my code the application throws an error&amp;nbsp;&lt;STRONG&gt;Error loading type library/DLL 0x80029C4A TYPE-E-CANTLOADLIBRARY&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/236053i5CBBB8512EA9D641/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="error.jpg" title="error.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 20:02:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6301142#M8910</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-29T20:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading type library/DLL 0x80029C4A TYPE-E-CANTLOADLIBRARY</title>
      <link>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6302638#M8911</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;welcome @forums.autodesk.com!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you show screenshots from your references (showing the path to the *.interop.dll) and the code line that stops the code from working? (or better if possible a sample solution so we can start it without trying to get a situation similar to yours)?&lt;/P&gt;
&lt;P&gt;Just to make sure: you have tried that code also with a new drawing, not containing any proxies or so.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Sun, 01 May 2016 15:57:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6302638#M8911</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2016-05-01T15:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading type library/DLL 0x80029C4A TYPE-E-CANTLOADLIBRARY</title>
      <link>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6303619#M8912</link>
      <description>&lt;P&gt;Below is the reference used in my code. &amp;nbsp;I've been using this code for years and just tweaking it for the different versions of AutoCAD we have deployed. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Before running my code I started with a new, blank AutoCAD drawing open. &amp;nbsp;The program errors out when it gets to the line MS = DOC.ModelSpace. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/236404iB844112C4F4FA30A/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="ref.jpg" title="ref.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/236405i798FEE3C56D9BA2D/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="code.jpg" title="code.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 13:14:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6303619#M8912</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-02T13:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading type library/DLL 0x80029C4A TYPE-E-CANTLOADLIBRARY</title>
      <link>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6303683#M8913</link>
      <description>&lt;P&gt;You need to change "Embed interop types" from "True" to "False" (MS makes VisualStudio 2012 or later to automatically set "Embed interop types" to "True" when a COM reference is added to the project. This specifically works with MS Office applications, but DOES NOT work with AutoCAD COM).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, it looks like you did not use AutoCAD interop assemblies from Autodesk (they can be dowloaded from ObjectARX SDK), and they can also be found in AutoCAD installation folder: Autodesk.AutoCAD.Interop/Common.dll). In older version of AutoCAD, these PIA were installed in GAC, but since AutoCAD2012(2013?), it is no longer the case any more.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is recommended to use Interop assemblies from Autodesk (either from ObjectARX SDK, or ifrom AutoCAD installation folder). In this case, make sure the references to these DLLS is set "COPY LOCAL" as False (because they are already in&amp;nbsp;the same folder as acad.exe.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, in your case, it looks like you added AutoCAD COM reference by selecting "COM" tab in Refernces dialog box, select AutoCAD COM type libabries, and let VisualStudio generate the .NET interop assemblies for you. This is fine and you should not have issues here, but you need to make sure to set "Copy Local" to "Ture"&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 13:42:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6303683#M8913</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2016-05-02T13:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading type library/DLL 0x80029C4A TYPE-E-CANTLOADLIBRARY</title>
      <link>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6331388#M8914</link>
      <description>&lt;P&gt;I'm still trying to find a solution to my problem. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached a small sample app that crashes when it gets to the line:&lt;/P&gt;&lt;PRE&gt;Dim m As AcadModelSpace = d.ModelSpace&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 May 2016 20:57:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6331388#M8914</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-17T20:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading type library/DLL 0x80029C4A TYPE-E-CANTLOADLIBRARY</title>
      <link>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6331497#M8915</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;your project is defined to create an EXE and to use 32bit ... is your AutoCAD also running 32bit?&lt;/P&gt;
&lt;P&gt;When changing it to 64bit and then start my AutoCAD 2014, then your form and click your Button1 all works fine on my side with your project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[EDIT] Sorry, your project also works well when I compile the EXE to x86 [/EDIT]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- alfred -&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 21:53:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6331497#M8915</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2016-05-17T21:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading type library/DLL 0x80029C4A TYPE-E-CANTLOADLIBRARY</title>
      <link>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6331572#M8916</link>
      <description>&lt;P&gt;From the BUILD menu I selected Configuration Manager. &amp;nbsp;I changed the Active solution platform to x64. &amp;nbsp;Is that what I need to change to make it a 64-bit app? &amp;nbsp;The program still crashes on me even with Platform set to x64.&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 22:10:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6331572#M8916</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-17T22:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading type library/DLL 0x80029C4A TYPE-E-CANTLOADLIBRARY</title>
      <link>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6331590#M8917</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess you have not seen my EDIT, I tried it also with 32bit (x86) and it worked too (what I didn't expect first).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What would I do now:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;first I would not run late-binded, that might show you type conflicts while compiling, not in runtime mode.&lt;/LI&gt;
&lt;LI&gt;then try the same exe with another user account (maybe admin permissions as well as disabled security options like antivirus or malware defending software)&lt;/LI&gt;
&lt;LI&gt;also make sure you really have a drawing open in AutoCAD and not a command active&lt;/LI&gt;
&lt;LI&gt;then I would try the same from VBA from MS-Word or MS-Excel, just to see the COM components are registered well on your system&lt;/LI&gt;
&lt;LI&gt;and at least I would try a repair installation of AutoCAD.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck, - alfred -&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 22:20:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6331590#M8917</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2016-05-17T22:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading type library/DLL 0x80029C4A TYPE-E-CANTLOADLIBRARY</title>
      <link>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6340540#M8918</link>
      <description>&lt;P&gt;My application worked correctly with logged into my dev machine as administrator. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I deleted my user profile and ran the repair from the Control Panel on AutoCAD. &amp;nbsp;My app is now working again when I'm logged in with the normal Windows account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for pointing me in the right direction to get this working again!&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 15:48:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6340540#M8918</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-20T15:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading type library/DLL 0x80029C4A TYPE-E-CANTLOADLIBRARY</title>
      <link>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6340628#M8919</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you are welcome, good to know you got it working ... and thx for describing what you did, this will hopefully help others in the future!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 16:24:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6340628#M8919</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2016-05-20T16:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading type library/DLL 0x80029C4A TYPE-E-CANTLOADLIBRARY</title>
      <link>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6872881#M8920</link>
      <description>&lt;P&gt;Hello, I am also getting this error code but the problem stems from my Office 365. &amp;nbsp;I use Samsung software (Smartswitch) to synch my calendars and contacts between my phone and computer and having been doing this for the past 6 months.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two days ago I experienced issues with Excel and called the Microsoft help desk. They decided to do a hard uninstall going into various registries and folders and deleting files. &amp;nbsp;When 365 was reinstalled I began getting this error when I tried to use Smartswitch&amp;nbsp;to synch. &amp;nbsp;I believe a registry item or file was deleted during the uninstall effort, that had been there before. &amp;nbsp;I'm pretty sure it's an Office 365 issue although they have sent me to Samsung because they cannot solve the issue. I have called back and am on my third help desk person. &amp;nbsp;Both my computer (Microsoft Pro 4) and the download are 64 bit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what has happened?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To give a little more background, I've been synching with Office 7 for the past six years using various synch apps as my phones have changed, with no problem. I am new to Office 365 and this is the first time I have not been able to synch Outlook data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 01:58:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6872881#M8920</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-13T01:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading type library/DLL 0x80029C4A TYPE-E-CANTLOADLIBRARY</title>
      <link>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6877043#M8921</link>
      <description>&lt;P&gt;Hello, I understand that you're probably frustrated and searching the net for solutions, but if it doesn't have anything to do with AutoCAD, we probably can't help you too much. You can get the same error message for a great number of reasons. Something probably did get mistakenly deleted. You said you reinstalled Office, but have you tried reinstalling Smartswitch also?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 15:42:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/error-loading-type-library-dll-0x80029c4a-type-e-cantloadlibrary/m-p/6877043#M8921</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2017-02-14T15:42:12Z</dc:date>
    </item>
  </channel>
</rss>

