.NET

Reply
Active Contributor
jshipley
Posts: 30
Registered: ‎11-01-2006
Message 1 of 2 (272 Views)

.Net DWG viewer again - options?

272 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
Balaji_Ram
Posts: 662
Registered: ‎03-21-2011
Message 2 of 2 (225 Views)

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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
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 to get help installing your software.

Ask the Community