Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: WinForm object OLE
hi,i meet a question about winform.
i embed a picture in winform application,but the picture is generated from AutoCAD, I hope the picture is can be Modified in AutoCAD, And I Can immediately see the picture after modified by AutoCAD
Posted 4-Feb-13 22:27pm
Fred Flams at 5-Feb-13 4:03am
And what is your question ?
If it is about the supported image format that you can use inside a WinForm application then the answer is: JPEG, PNG, GIF, BMP and WMF are all supported.
Now if you want to embed directly the AUTOCAD object inside a WinForm application I'm not sure that still works with .NET....
Member 9714737 at 5-Feb-13 4:11am
I'm sorry ,i have no clear describe my question.
is there similar to the VB6.0 ole object in vs2010? it is my question.
Sergey Alexandrovich Kryukov at 5-Feb-13 14:43pm
Bad idea.
Describe functionality you need in more detail, and don't forget to explain why...
Fred Flams at 5-Feb-13 4:26am
Well in that case the answer is no, nad that is not related to only VS2010, but to all .NET IDE
Now you can still embed you autocad object as an image and image modification capabilities to your application, depending on the modifications you want to allow that can require a lot of work.
Have you tried googling you problem ?
Member 9714737 at 5-Feb-13 4:39am
Although this is not i want to answer,but thank you very much.
Sergey Alexandrovich Kryukov at 5-Feb-13 14:41pm
You should not search for familiar things, it will only hold you back; you need to learn .NET programming.
OLE is one of outdated things you better forget.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Advertise | Privacy | Mobile
Web02 | 2.8.150327.1 | Last Updated 5 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100