<?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: Cann't Get VB.Net to Work with AutoCAD 2010 in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567547#M68884</link>
    <description>to remove the second error set all references capoy local to false</description>
    <pubDate>Tue, 06 Oct 2009 15:43:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-10-06T15:43:32Z</dc:date>
    <item>
      <title>Cann't Get VB.Net to Work with AutoCAD 2010</title>
      <link>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567543#M68880</link>
      <description>Sorry to post so soon after joining, but I'm not seeing a FAQ and I am finding it slow to browse all the postings. &lt;BR /&gt;
&lt;BR /&gt;
I'm hoping someone will say this is a simple fix. Any suggestions would be much appreciated. Summary of problem follows:&lt;BR /&gt;
&lt;BR /&gt;
Got this message when opening one of the Autodesk Lab projects. I am adding this after I got the other errors regarding security realizing that this message may point to the solution. This message did not come up when the project was in the VS2008/projects folder.&lt;BR /&gt;
&lt;BR /&gt;
See attached for image &lt;BR /&gt;
&lt;BR /&gt;
Got this error when first running the “hello world” Lab1 from the .Net ARX Training Pacakge&lt;BR /&gt;
&lt;BR /&gt;
See attached for image&lt;BR /&gt;
&lt;BR /&gt;
Visual Studio also showed errors, some are shown below:&lt;BR /&gt;
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='NaN' BindingExpression:Path=Source.MinimumWidth; DataItem='ToolBarControl' (Name=''); target element is 'ToolBarControl' (Name=''); target property is 'MinWidth' (type 'Double')&lt;BR /&gt;
System.Windows.Data Error: 39 : BindingExpression path error: 'BackgroundOpacity' property not found on 'object' ''ContentPresenter' (Name='PART_CustomizeButtonInMainPanel')'. BindingExpression:Path=BackgroundOpacity; DataItem='ContentPresenter' (Name='PART_CustomizeButtonInMainPanel'); target element is 'SystemDropShadowChrome' (Name='Shdw'); target property is 'Opacity' (type 'Double')&lt;BR /&gt;
System.Windows.Data Error: 39 : BindingExpression path error: 'Current' property not found on 'object' ''QuickAccessUndoControl' (HashCode=11709955)'. BindingExpression:Path=Current; DataItem='QuickAccessUndoControl' (HashCode=11709955); target element is 'ContentPresenter' (Name=''); target property is 'NoTarget' (type 'Object')&lt;BR /&gt;
System.Windows.Data Error: 39 : BindingExpression path error: 'Current' property not found on 'object' ''QuickAccessRedoControl' (HashCode=230999)'. BindingExpression:Path=Current; DataItem='QuickAccessRedoControl' (HashCode=230999); target element is 'ContentPresenter' (Name=''); target property is 'NoTarget' (type 'Object')&lt;BR /&gt;
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='NaN' BindingExpression:Path=Source.MinimumWidth; DataItem='InfoToolbar' (Name='InfoCenter'); target element is 'InfoToolbar' (Name='InfoCenter'); target property is 'MinWidth' (type 'Double')&lt;BR /&gt;
……&lt;BR /&gt;
&lt;BR /&gt;
Installed all the ARX wizards from the ARX SDK (searched the SDK for “.msi”). Uninstalled and reinstalled to make sure where they go.&lt;BR /&gt;
Removed VB.Net express and AutoCAD 2010 leaving ACE and VS with VB.Net.</description>
      <pubDate>Mon, 05 Oct 2009 18:35:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567543#M68880</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-05T18:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cann't Get VB.Net to Work with AutoCAD 2010</title>
      <link>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567544#M68881</link>
      <description>Check this post for how to configure the code access security policy for loading from a network location:&lt;BR /&gt;
&lt;A href="http://discussion.autodesk.com/forums/click.jspa?searchID=9957310&amp;amp;messageID=6113683" title="http://discussion.autodesk.com/forums/click.jspa?searchID=9957310&amp;amp;messageID=6113683"&gt;http://discussion.autodesk.com/forums/click.jspa?searchID=9957310&amp;amp;messageID=6113683&lt;/A&gt;&lt;BR /&gt;
I am not sure if that has anything to do with your other Binding Expression errors, but it might.</description>
      <pubDate>Mon, 05 Oct 2009 20:48:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567544#M68881</guid>
      <dc:creator>chiefbraincloud</dc:creator>
      <dc:date>2009-10-05T20:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cann't Get VB.Net to Work with AutoCAD 2010</title>
      <link>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567545#M68882</link>
      <description>I've moved everything to run on my local machine and I still get these binding errors.&lt;BR /&gt;
I started a new project using the Application plug in template, saved it and then ran in debug mode... same result before I even do a netload in AutoCAD these BindingExpression path error: messages appear&lt;BR /&gt;
In reading another post where reinstalling AutoCAD eliminated some problems that sound similar to this, I might try this next..</description>
      <pubDate>Mon, 05 Oct 2009 22:19:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567545#M68882</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-05T22:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cann't Get VB.Net to Work with AutoCAD 2010</title>
      <link>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567546#M68883</link>
      <description>I forgot to mention that I did look at your advice on getting code to run on client machines.  I squirreled this away for when I need it later.  Thanks.</description>
      <pubDate>Mon, 05 Oct 2009 22:23:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567546#M68883</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-05T22:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cann't Get VB.Net to Work with AutoCAD 2010</title>
      <link>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567547#M68884</link>
      <description>to remove the second error set all references capoy local to false</description>
      <pubDate>Tue, 06 Oct 2009 15:43:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567547#M68884</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-06T15:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cann't Get VB.Net to Work with AutoCAD 2010</title>
      <link>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567548#M68885</link>
      <description>&lt;P&gt;
copy local was set to false.  The jpg attachment shows this.  I couldn't figure out how to just post in this message.
&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2009 22:52:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567548#M68885</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-06T22:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cann't Get VB.Net to Work with AutoCAD 2010</title>
      <link>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567549#M68886</link>
      <description>I haven't reinstalled AutoCAD.... yet....&lt;BR /&gt;
Instead I tryed cleaning things up after noticing I had 2 different copies of AutoCAD and both the Express and Studio Pro Visual Studio versions installed.&lt;BR /&gt;
I had both AutoCAD 2010 and AutoCAD 2010 Electrical installed. Electrical is what I wanted and so uninstalled the standard version.&lt;BR /&gt;
I removed the VB.Net Express program.&lt;BR /&gt;
Then I removed the templates created by the ARXWizards.msi and the AutoCAD 2010 dotNET Wizards.msi by running both these programs and uninstalling them. Finally I re ran the AutoCAD 2010 dotNET Wizards.msi to install the VB.net template.&lt;BR /&gt;
Bottom line: Now I get "Exception in vaac_service.arx ARX Command" with an "Unhandled Exception at address " when I run the debugger.&lt;BR /&gt;
I am back to thinking that I need a do over, unless someone has another suggestion....  &lt;IMG src="https://forums.autodesk.com/images/emoticons/shocked.gif" border="0" alt="" width="16" height="16" /&gt;

Edited by: HEnnulat on Oct 6, 2009 6:15 PM</description>
      <pubDate>Tue, 06 Oct 2009 23:13:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567549#M68886</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-06T23:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cann't Get VB.Net to Work with AutoCAD 2010</title>
      <link>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567550#M68887</link>
      <description>I have not yet made the switch to VS2008/ACAD2010, so I can't be sure, or even check for myself, but could it be that you are targeting the .NET framework 2.0, instead of 3.5?</description>
      <pubDate>Tue, 06 Oct 2009 23:46:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567550#M68887</guid>
      <dc:creator>chiefbraincloud</dc:creator>
      <dc:date>2009-10-06T23:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cann't Get VB.Net to Work with AutoCAD 2010</title>
      <link>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567551#M68888</link>
      <description>&lt;P&gt;
&lt;BR /&gt;
I did not know you can target or preference one dot NET framework over another! Wouldn't this be automatic? If not, how is this targeting done?
&lt;/P&gt;

Edited by: HEnnulat on Oct 7, 2009 8:48 AM</description>
      <pubDate>Wed, 07 Oct 2009 13:47:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567551#M68888</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-07T13:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cann't Get VB.Net to Work with AutoCAD 2010</title>
      <link>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567552#M68889</link>
      <description>I posted 2 of the same messages and am trying to delete this one, but so far am unsuccessful.</description>
      <pubDate>Wed, 07 Oct 2009 13:47:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567552#M68889</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-07T13:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cann't Get VB.Net to Work with AutoCAD 2010</title>
      <link>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567553#M68890</link>
      <description>&lt;P&gt;
&lt;BR /&gt;
I think it's working! &lt;IMG class="emoticon" src="http://discussion.autodesk.com/forums/images/emoticons/happy.gif" border="0" alt="" width="16" height="16" /&gt; &lt;IMG class="emoticon" src="http://discussion.autodesk.com/forums/images/emoticons/grin.gif" border="0" alt="" width="16" height="16" /&gt; &lt;IMG class="emoticon" src="http://discussion.autodesk.com/forums/images/emoticons/laugh.gif" border="0" alt="" width="16" height="16" /&gt; ! ! !&lt;BR /&gt;
After doing all the clean up I rebooted my machine after noticing it froze on all my open Word documents. This morning it all worked..... at least so far going into the first part of the the Lab 2 exercise in the dotNet training package....&lt;BR /&gt;
I did read that the debug dll should be picked from the /bin/debug folder... I had been picking it from the /obj/debug folder. Anyone know if this matters? The first time I ran the helloworld lab, I ran this from the /obj/debug directory...&lt;BR /&gt;
I still get a lot of "Binding" Errors in the VS2008 Immediate Window, However Stephen Preston (from Autodesk) sent me an email stating:&lt;BR /&gt;
"You should treat the System.Windows.Data messages as warnings and not errors (even though the warning message says ‘error’). They’re not even compiler warnings – they come from some of the AutoCAD .NET components, and are handled by AutoCAD. If your only remaining problem is that you see those messages in the output window when you launch AutoCAD from your debugger, then you don’t have a problem."&lt;BR /&gt;
Fuslogvw confirmed that indeed everything worked fine by reporting that &lt;BR /&gt;
"The operation was successful.&lt;BR /&gt;
Bind result: hr = 0x0. The operation completed successfully."&lt;BR /&gt;
So that's it then. Unless I run into problems on this topic again I don't think I'll be adding anything else. I have email alerts turned on, so if anyone comments I'll still be checking.&lt;BR /&gt;
Thanks Chief and Bill for your input.
&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2009 19:39:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567553#M68890</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-07T19:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cann't Get VB.Net to Work with AutoCAD 2010</title>
      <link>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567554#M68891</link>
      <description>The recommendation is to use the acmgd.dll and acdbmgd.dll reference files located in the SDK and to not use the ones in the AutoCAD root directory.&lt;BR /&gt;&lt;BR /&gt;
This is per the AutoCAD.Net developers Guide (&lt;A href="http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer" target="_newWindow" class="jive-link-external"&gt;http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer's%20Guide/index.html&lt;/A&gt;).&lt;BR /&gt;&lt;BR /&gt;
Quoting from this guide it notes:&lt;BR /&gt;
&lt;QUOTE&gt;"NoteThe DLLs in the ObjectARX SDK are simplified versions of the same files that ship with AutoCAD, as they do not contain dependencies on the AutoCAD user interface. It is recommended that you download and install the ObjectARX SDK, and then reference the DLL files that come with the SDK instead of those that are found in the install directory of AutoCAD 2010. "&lt;/QUOTE&gt;&lt;BR /&gt;
&lt;BR /&gt;
I did not realize this mattered. Again not sure if this made a difference, but I did change the reference from the AutoCAD root directory to the copy in SDK when I was successful today.</description>
      <pubDate>Wed, 07 Oct 2009 21:12:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/cann-t-get-vb-net-to-work-with-autocad-2010/m-p/2567554#M68891</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-07T21:12:19Z</dc:date>
    </item>
  </channel>
</rss>

