Message 1 of 12
Cann't Get VB.Net to Work with AutoCAD 2010

Not applicable
10-05-2009
11:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.
I'm hoping someone will say this is a simple fix. Any suggestions would be much appreciated. Summary of problem follows:
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.
See attached for image
Got this error when first running the “hello world” Lab1 from the .Net ARX Training Pacakge
See attached for image
Visual Studio also showed errors, some are shown below:
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')
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')
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')
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')
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')
……
Installed all the ARX wizards from the ARX SDK (searched the SDK for “.msi”). Uninstalled and reinstalled to make sure where they go.
Removed VB.Net express and AutoCAD 2010 leaving ACE and VS with VB.Net.
I'm hoping someone will say this is a simple fix. Any suggestions would be much appreciated. Summary of problem follows:
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.
See attached for image
Got this error when first running the “hello world” Lab1 from the .Net ARX Training Pacakge
See attached for image
Visual Studio also showed errors, some are shown below:
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')
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')
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')
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')
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')
……
Installed all the ARX wizards from the ARX SDK (searched the SDK for “.msi”). Uninstalled and reinstalled to make sure where they go.
Removed VB.Net express and AutoCAD 2010 leaving ACE and VS with VB.Net.