.NET

Reply
Active Contributor
30 Posts
0 Kudos
Registered: ‎11-01-2006
Post 1 of 2

.Net DWG viewer again - options?

345 Views, 1 Replies
08-09-2013 10:55 AM

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.  :smileysad:  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

ADN Support Specialist
762 Posts
100 Kudos
Registered: ‎03-21-2011
Post 2 of 2

Re: .Net DWG viewer again - options?

08-13-2013 04:57 PM in reply to: jshipley

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 ?

 

http://forums.autodesk.com/t5/NET/Adding-acctrl-control-kills-Visual-Studio-2010/m-p/3456832/highlig...

 

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

 

 

 



Balaji
Developer Technical Services
Autodesk Developer Network

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!