Hello, I am struggling trying to find a .net DWG viewer component that actually works and having a very hard time. I tried DWG Viewer from SkySoft and cannot get it to register in VS 2010, I downloaded and installed SolidWorks eDrawings viewer and tried to use that. I could not get that to register and place the control on the toolbox. I also tried TrueView and I'm beginning to thing it can't be done. It seems like this should be fairly easy but it's not.
All I want is to be able to display the .dwg drawing on a Windows form. I have a .net WinForms app that I would like to show the drawing to the user. I already have the bitmap preview and would like something larger.
I am using Visual Studio 2010 on a Win 7 64bit machine.
Thanks
Jim
Hi Jim,
The steps to use the acctrl is explained in Kean's blog post :
http://through-the-interface.typepad.com/through_the_interface/2008/03/embedding-autoc.html
I had attached a sample project in the following post and it uses the acctrl to display drawings. It worked on my Windows 7, 64 bit system. Can you please try it ?
It might be easier to develop it on a 32 bit environment as the control can be inserted using the Visual Studio Forms designer. But if you prefer to develop it in a 64 bit environment, the steps explained in this blog post can help :
http://adndevblog.typepad.com/autocad/2012/07/use-64-bit-activex-component-from-a-net-assembly.html