Inventor 2011: Inventor View Ctrl OCX registrati​on error..

Inventor 2011: Inventor View Ctrl OCX registrati​on error..

Anonymous
Not applicable
834 Views
1 Reply
Message 1 of 2

Inventor 2011: Inventor View Ctrl OCX registrati​on error..

Anonymous
Not applicable

In MS VB.NET 2010 Standard I Browsed to: C:\Program Files\Autodesk\Inventor 2011\Bin\InventorViewCtrl.ocx

And Selected it for a COM reference.  This generated Interop.InventorViewControlLib.

I added the control to the VB.NET toolbox with the Choose Item tool.

 

At this point VB.NET will not let me add the control to a form.  When I try to draw the control I get the followng.

 

Microsoft Visual Studio Error:
Failed to import the ActiveX control.  Please ensure it is properly registered.

 

This use to work with VB.NET 2005.  What can I do to resolve this issue?

 

Regards,

 

0 Likes
835 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

Problem Solved. 

 

Apparently I was starting a MS 2010 VB.NET project with MS DotNet Framework v4.0

 

Rolling the project back to MS DotNet Framework v3.5 fixed the issue.

0 Likes