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.
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();
((System.ComponentModel.ISupportInitialize)(this.ViewerControl)).BeginInit();
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.
Can't find what you're looking for? Ask the community or share your knowledge.