.NET

Reply
Member
yyjpz2007
Posts: 4
Registered: ‎08-06-2012
Message 1 of 2 (127 Views)

how to develop a ActiveX in web

127 Views, 1 Replies
08-08-2012 05:18 AM

i wan't to view the dwg in web with ActiveX,but  i  need't  function of " save , print ,edit."

so  how  i  can develop the ActiveX?

can you tell me  some idea?

the .net plug can convet to  web ActiveX?

Mentor
khoa.ho
Posts: 209
Registered: ‎09-15-2011
Message 2 of 2 (103 Views)

Re: how to develop a ActiveX in web

08-08-2012 09:11 PM in reply to: yyjpz2007

You should have the source code to read binary DWG files (in different format versions). I don't see open source projects to read fully the DWG format. Most of them are commercial or closed-code. So we have to write our own code, or use the license library to read DWG files.

 

The codeproject.com has lots of links to help develop ActiveX in COM or .NET. I think you might start to use a library to read all entities in a DWG file first, and then draw them to the canvas (for example System.Drawing.Graphics class using GDI+). The output can be WinForm, WPF, Silverlight or ActiveX depending on your choice. This is lots of work and good luck to you.

 

-Khoa

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 or visit the Installation and Licensing Forum to get help installing your software.