Hi,
I tried several variants of using BrowserPanes.Add with an ActiveX control based on the VB.NET sample "Module 20 - Browser" from https://github.com/ADN-DevTech/Inventor-Training-Material. Using Inventor 2014 on Windows 8.1 64bit I always run into a COMException with the following error code:
E_FAIL 0x80004005
Unspecified error
Does anybody have a suggestion how to get this properly running under 64bit?
As an alternative I read in the presentation under http://images.autodesk.com/adsk/files/inventor_2011_api.zip that adding .NET usercontrols should also be possible. Unfortunately I have never seen a working example for this functionality. Does anybody know how to achieve this?
Best regards,
Frank Neumann
Hi,
as an alternative to add a control to the BrowserPane you could also make your own DockableWindow which can host WPF or win form controls.
A specific template on how to create a dockable window inside a C# project can be found here: http://adndevblog.typepad.com/manufacturing/2013/02/design-patterns-applied-to-the-inventor-api.html
hope it helps