.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to open AutoCAD.exe application inside C# windows form

9 REPLIES 9
Reply
Message 1 of 10
Madhu
9276 Views, 9 Replies

How to open AutoCAD.exe application inside C# windows form

I am creating an application in c# which uses AutoCAD 2004. I want to know if it is possible to open AutoCAD.exe application inside my C# windows form. I have seen that there exists controls like Autodesk Express Viewer Control, Autodesk Page Viewer Control, etc. Are there such controls that I can drop on my winform to view and edit dwg files of AutoCAD?
9 REPLIES 9
Message 2 of 10
Anonymous
in reply to: Madhu

No, you cannot open a drawing with AutoCAD(acad.exe) INSIDE your Win Form
app. You can automate AutoCAD as ActiveX exe, just as you do with VB5/6.

Those app you mentioned taht show Acad drawings, actually a kind of Acad
drawing viewers, which can dispaly drawing in read-only mode in different
accuracy. Most of them are ActiveX controls. Search the web to find one that
suitable to your need.

A very good one is, you can guess, from Autodesk, Dwg TrueView 2 just being
made available for free late last year. It is both a stand-alone Windows app
and an ActiveX control.However, as ActiveX control, I run into some issues
to use it in .NET Windows Form app (C#), while it is good to use it in VB6
app.


wrote in message news:5154740@discussion.autodesk.com...
I am creating an application in c# which uses AutoCAD 2004. I want to know
if it is possible to open AutoCAD.exe application inside my C# windows form.
I have seen that there exists controls like Autodesk Express Viewer Control,
Autodesk Page Viewer Control, etc. Are there such controls that I can drop
on my winform to view and edit dwg files of AutoCAD?
Message 3 of 10
naresh
in reply to: Madhu

This is possible I have done it I have opened the complete AutoCAD Exe in my win form and also I have removed the AutoCAD's Caption also now it looks like seperate application that I am using in my project.
Naresh Popalgat
Popalgat@hotmail.com
+919890167091
Message 4 of 10
Anonymous
in reply to: Madhu

What is the the reason? I would assume this is against your License
agreement.

wrote in message news:5427970@discussion.autodesk.com...
This is possible I have done it I have opened the complete AutoCAD Exe in my
win form and also I have removed the AutoCAD's Caption also now it looks
like seperate application that I am using in my project.
Naresh Popalgat
Popalgat@hotmail.com
+919890167091
Message 5 of 10
naresh
in reply to: Madhu

What exactly you feel against of License agreement please be specific
Message 6 of 10
Anonymous
in reply to: Madhu

Pulling AutoDesks name off of their software maybe. Maybe they let
you do it have you checked?

You still haven't said the reason for this?


wrote in message news:5428585@discussion.autodesk.com...
What exactly you feel against of License agreement please be specific
Message 7 of 10
naresh
in reply to: Madhu

Hey Paul its not a big issue why I have done it, for displaying my forms caption only, by avoiding the AutoCAD application's caption this is the reason.
Message 8 of 10
Anonymous
in reply to: Madhu

Paul Richardson wrote:
> Pulling AutoDesks name off of their software maybe. Maybe they let
> you do it have you checked?
>
> You still haven't said the reason for this?
>
>
> wrote in message news:5428585@discussion.autodesk.com...
> What exactly you feel against of License agreement please be specific

From the English EULA:

3.2.5 Notices. You may not remove, alter, or obscure any proprietary
notices, labels, or marks from the Software or User Documentation.

3.2.6 Modifications. You may not modify, translate, adapt, arrange, or
create derivative works based on the Software or User Documentation for
any purpose.

--
Brian Winterscheidt
LWPB Architecture
Oklahoma City, Oklahoma
Message 9 of 10
Anonymous
in reply to: Madhu

Just because an ActiveX control is "available" does not mean that it is
"supported" as a stand-alone control. See
http://dwf.blogs.com/beyond_the_paper/2006/08/embed_dwf_inste.html: "Because
it [DWG TrueView] has an ActiveX Control component to it, people assume it
can be used for other purposes. ... we have not designed nor built our DWG
ActiveX Control with this is mind."

Dan

"Norman Yuan" wrote in message
news:5154968@discussion.autodesk.com...
No, you cannot open a drawing with AutoCAD(acad.exe) INSIDE your Win Form
app. You can automate AutoCAD as ActiveX exe, just as you do with VB5/6.

Those app you mentioned taht show Acad drawings, actually a kind of Acad
drawing viewers, which can dispaly drawing in read-only mode in different
accuracy. Most of them are ActiveX controls. Search the web to find one that
suitable to your need.

A very good one is, you can guess, from Autodesk, Dwg TrueView 2 just being
made available for free late last year. It is both a stand-alone Windows app
and an ActiveX control.However, as ActiveX control, I run into some issues
to use it in .NET Windows Form app (C#), while it is good to use it in VB6
app.


wrote in message news:5154740@discussion.autodesk.com...
I am creating an application in c# which uses AutoCAD 2004. I want to know
if it is possible to open AutoCAD.exe application inside my C# windows form.
I have seen that there exists controls like Autodesk Express Viewer Control,
Autodesk Page Viewer Control, etc. Are there such controls that I can drop
on my winform to view and edit dwg files of AutoCAD?
Message 10 of 10

Hi,

 

Can you please tell me the steps to implement the functionality of "How to open AutoCAD.exe application inside C# windows form", It will be great and It will save my time also.

 

Thanks and Regards,

Priyanka Thakur

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost