Design Review

Design Review

Posts: 4
Registered: ‎01-22-2014
Message 1 of 3 (571 Views)

DWF Viewer embeded in VS 13

571 Views, 2 Replies
01-28-2014 02:08 PM

I've been having a problem embedding the Autodesk DWF Viewer Control in a Visual Studio form. I've successfully added the control to the toolbox, buteverytime I attempt to add the viewer to a form, visual studio crashes. I've followed the appropriate steps in the Autodesk Review API 2013 to embed it. Can anyone replicate this issue? If so, are there any available fixes to it?


Currently, I'm using VS 2013 Express for Desktop, and Autodesk Design Review 2013


Any assistance with this matter would be greatly appreciated.


Posts: 4
Registered: ‎01-22-2014
Message 2 of 3 (551 Views)

Re: DWF Viewer embeded in VS 13

01-29-2014 07:39 AM in reply to: jcar415
I've just started receiving an error right before the application crashes. It is as follows:

"Warning 1
Could not determine the dependencies of the COM reference "ADPCATALOGEDITORLib". Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))"

New Member
Posts: 1
Registered: ‎04-25-2014
Message 3 of 3 (250 Views)

Re: DWF Viewer embeded in VS 13

04-25-2014 11:31 AM in reply to: jcar415

I was able to create the viewing object on the form through directly editing the Form Designer.  In InitializeComponent()


System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.ViewerControl = new AxExpressViewerDll.AxCExpressViewerControl();

this.ViewerControl.Enabled = true;
this.ViewerControl.Location = new System.Drawing.Point(24, 24);
this.ViewerControl.Name = "Design Review Add-In";
this.ViewerControl.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("ViewerControl.OcxState")));
this.ViewerControl.Size = new System.Drawing.Size(450, 325);
this.ViewerControl.TabIndex = 0;


**Do not try to move or edit the control once on the form, VS will crash.

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.