Posts: 4
Registered: ‎08-06-2012
Message 1 of 2 (131 Views)

how to develop a ActiveX in web

131 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?

Posts: 224
Registered: ‎09-15-2011
Message 2 of 2 (107 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.



Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.