<?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: Adding acctrl control kills Visual Studio 2010 in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/adding-acctrl-control-kills-visual-studio-2010/m-p/3942902#M55583</link>
    <description>&lt;P&gt;I have the exact same issue. Through the years I have tried using the TrueView Api within VS2005,VS2008 &amp;amp; VS2010 and all I have ever gotten was the same thing you were getting.&amp;nbsp; They used to have a good\fast API product called Voloview but Autodesk discontinued that product and create Trueview.&amp;nbsp; I have been forced to use Solidworks edrawings, it is lightweight and stable. Just add the COM component &amp;lt;Edrawings 2013 Control&amp;gt; and add a line of code to an event :&lt;/P&gt;&lt;P&gt;String FilePath = @”c:\drawing.dwg”;&lt;/P&gt;&lt;P&gt;axEModelViewControl1.OpenDoc(FilePath, false, false, true, "");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Download location: &lt;A href="http://www.edrawingsviewer.com/ed/download.htm" target="_blank"&gt;http://www.edrawingsviewer.com/ed/download.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully the ADN guys will read this and have a solution for Trueview.&lt;/P&gt;</description>
    <pubDate>Thu, 30 May 2013 19:52:37 GMT</pubDate>
    <dc:creator>bherber</dc:creator>
    <dc:date>2013-05-30T19:52:37Z</dc:date>
    <item>
      <title>Adding acctrl control kills Visual Studio 2010</title>
      <link>https://forums.autodesk.com/t5/net-forum/adding-acctrl-control-kills-visual-studio-2010/m-p/3456832#M55582</link>
      <description>&lt;P&gt;I am using Visual Studio 2010 and DWG TrueView 2013 (windows 7 32-bit).&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I am&lt;/SPAN&gt; &lt;SPAN&gt;trying to make&lt;/SPAN&gt; &lt;SPAN&gt;an example &lt;A href="http://through-the-interface.typepad.com/through_the_interface/2008/03/embedding-autoc.html" target="_blank"&gt;through-the-interface.typepad.com/through_the_interface/2008/03/embedding-autoc.html&lt;/A&gt; but i have problem.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;When I try drag AcCtrl into WinForm, Visual Studio show message:&lt;/P&gt;&lt;P&gt;"Microsoft Visual Studio has encountered a problem and need to close" and VS closes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How solve this problem ??&lt;/P&gt;</description>
      <pubDate>Mon, 14 May 2012 20:21:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/adding-acctrl-control-kills-visual-studio-2010/m-p/3456832#M55582</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-14T20:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adding acctrl control kills Visual Studio 2010</title>
      <link>https://forums.autodesk.com/t5/net-forum/adding-acctrl-control-kills-visual-studio-2010/m-p/3942902#M55583</link>
      <description>&lt;P&gt;I have the exact same issue. Through the years I have tried using the TrueView Api within VS2005,VS2008 &amp;amp; VS2010 and all I have ever gotten was the same thing you were getting.&amp;nbsp; They used to have a good\fast API product called Voloview but Autodesk discontinued that product and create Trueview.&amp;nbsp; I have been forced to use Solidworks edrawings, it is lightweight and stable. Just add the COM component &amp;lt;Edrawings 2013 Control&amp;gt; and add a line of code to an event :&lt;/P&gt;&lt;P&gt;String FilePath = @”c:\drawing.dwg”;&lt;/P&gt;&lt;P&gt;axEModelViewControl1.OpenDoc(FilePath, false, false, true, "");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Download location: &lt;A href="http://www.edrawingsviewer.com/ed/download.htm" target="_blank"&gt;http://www.edrawingsviewer.com/ed/download.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully the ADN guys will read this and have a solution for Trueview.&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2013 19:52:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/adding-acctrl-control-kills-visual-studio-2010/m-p/3942902#M55583</guid>
      <dc:creator>bherber</dc:creator>
      <dc:date>2013-05-30T19:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Adding acctrl control kills Visual Studio 2010</title>
      <link>https://forums.autodesk.com/t5/net-forum/adding-acctrl-control-kills-visual-studio-2010/m-p/3948944#M55584</link>
      <description>&lt;P&gt;Sorry, I am not an expert in TrueView API. I may not be able to help with that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But the acctrl can be used with Visual Studio 2010.&lt;/P&gt;
&lt;P&gt;I have attached a sample project to demonstrate this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As Visual Studio is a 32 bit application even on 64 bit systems, as with any other ActiveX controls, the acctrl can also cause problem when used with the form designer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But its a problem only with form designer and the code will still work ok when launched.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attached a screenshot of the sample app.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2013 18:33:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/adding-acctrl-control-kills-visual-studio-2010/m-p/3948944#M55584</guid>
      <dc:creator>Balaji_Ram</dc:creator>
      <dc:date>2013-06-06T18:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Adding acctrl control kills Visual Studio 2010</title>
      <link>https://forums.autodesk.com/t5/net-forum/adding-acctrl-control-kills-visual-studio-2010/m-p/4340686#M55585</link>
      <description>&lt;P&gt;Hi Balaji,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you give a little bit more detail how you accomplished this. I am getting errors for the property Src and also PostCommand that says they are not a member of AxACCTRLLib.AxAcCtrl.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Ted&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2013 22:31:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/adding-acctrl-control-kills-visual-studio-2010/m-p/4340686#M55585</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-23T22:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Adding acctrl control kills Visual Studio 2010</title>
      <link>https://forums.autodesk.com/t5/net-forum/adding-acctrl-control-kills-visual-studio-2010/m-p/4340833#M55586</link>
      <description>&lt;P&gt;FYI - It's really hard to build a project that uses the AcCtrl on a system that has 64bit AutoCAD installed. The reason is that Visual Studio is 32bit, so trying to add the AcCtrl (which is 64bit) will crash Visual Studio.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Build your code on a 32bit system or a system with 32bit AutoCAD installed.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2013 04:28:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/adding-acctrl-control-kills-visual-studio-2010/m-p/4340833#M55586</guid>
      <dc:creator>fenton_webb</dc:creator>
      <dc:date>2013-07-24T04:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding acctrl control kills Visual Studio 2010</title>
      <link>https://forums.autodesk.com/t5/net-forum/adding-acctrl-control-kills-visual-studio-2010/m-p/4342870#M55587</link>
      <description>&lt;P&gt;Hi Ted,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As my colleague mentioned, it is surely easier to work in a 32 bit system when using activeX controls and WinForms. If you are doing that, y&lt;SPAN style="font-size: 11px; line-height: 14px;"&gt;ou can also refer to this blog post :&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://through-the-interface.typepad.com/through_the_interface/2008/03/embedding-autoc.html" target="_blank"&gt;http://through-the-interface.typepad.com/through_the_interface/2008/03/embedding-autoc.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The sample project that I attached earlier was built in my Windows 7, 64 bit system using these steps.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To generate the assemblies, run the following commands in the Visual Studio command prompt :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;aximp "C:\Program Files\Common Files\Autodesk Shared\AcCtrl.dll"&lt;BR /&gt;copy "c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ACCTRLLib.dll" "C:\ObjectARX 2012\inc-x64\ACCTRLLib.dll"&lt;BR /&gt;copy "c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\AxACCTRLLib.dll" "C:\ObjectARX 2012\inc-x64\AxACCTRLLib.dll"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This generates ACCTRLLib.dll and AxACCTRLLib.dll&lt;BR /&gt;which can be referenced in a .Net plugin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now reference those dll in the project from "C:\ObjectARX 2012\inc-x64" folder&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you please try building the sample project that was attached in my previous reply using these steps ?&lt;/SPAN&gt;&lt;SPAN style="font-size: 11px; line-height: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2013 11:48:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/adding-acctrl-control-kills-visual-studio-2010/m-p/4342870#M55587</guid>
      <dc:creator>Balaji_Ram</dc:creator>
      <dc:date>2013-07-25T11:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Adding acctrl control kills Visual Studio 2010</title>
      <link>https://forums.autodesk.com/t5/net-forum/adding-acctrl-control-kills-visual-studio-2010/m-p/4343044#M55588</link>
      <description>&lt;P&gt;Hi Balaji,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the explanation. That got me referencing the correct dlls, when I try to use the controls though it is telling me class not registered. I have tried using regsvr32 command but with no success. I get an error saying entry-point DllRegisterServer was not found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Ted&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2013 13:38:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/adding-acctrl-control-kills-visual-studio-2010/m-p/4343044#M55588</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-25T13:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Adding acctrl control kills Visual Studio 2010</title>
      <link>https://forums.autodesk.com/t5/net-forum/adding-acctrl-control-kills-visual-studio-2010/m-p/4347274#M55589</link>
      <description>&lt;P&gt;Hi Ted,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 11px; line-height: 14px;"&gt;Sorry, I do not know what else could be causing this problem in your system.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The sample project worked ok for me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have AutoCAD or TrueView installed in the system ? The acctrl is automatically installed with the product and there isnt any additional step to use it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you please try on any other system to see if it is system specific ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2013 07:33:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/adding-acctrl-control-kills-visual-studio-2010/m-p/4347274#M55589</guid>
      <dc:creator>Balaji_Ram</dc:creator>
      <dc:date>2013-07-30T07:33:56Z</dc:date>
    </item>
  </channel>
</rss>

