.NET

Reply
Valued Contributor
cjuliano
Posts: 50
Registered: ‎09-11-2005
Message 1 of 19 (67 Views)

Easy Question

67 Views, 18 Replies
09-19-2005 10:41 AM
Can vb.net be used with AutoCAD 2004?
*Maksim Sestic
Message 2 of 19 (67 Views)

Re: Easy Question

09-19-2005 10:50 AM in reply to: cjuliano

No, it can't. AutoCAD 2005 is the first release
supporting .NET via ObjectARX set of managed functions. I'm suggesting using
AutoCAD 2006 to develop .NET apps.

 

Can vb.net be used with AutoCAD
2004?
Valued Contributor
cjuliano
Posts: 50
Registered: ‎09-11-2005
Message 3 of 19 (67 Views)

Re: Easy Question

09-19-2005 10:55 AM in reply to: cjuliano
So basically I can even get AutoCAD to launch and open a drawing? If that is the case then upgrading is coming much sooner than I thought.

Thanks
*Maksim Sestic
Message 4 of 19 (67 Views)

Re: Easy Question

09-19-2005 11:04 AM in reply to: cjuliano

Starting ACAD 2004 can be done out of
VB.NET, but you don't need VB.NET to achieve this (any VB will do) :-) Managed
set of functions exposed by ObjectARX 2005 and higher let you manipulate ACAD
objects in "ObjectARX way", plus Framework functionality.

 

So basically I can even get
AutoCAD to launch and open a drawing?  If that is the case then upgrading
is coming much sooner than I thought.

Thanks
Valued Contributor
cjuliano
Posts: 50
Registered: ‎09-11-2005
Message 5 of 19 (67 Views)

Re: Easy Question

09-19-2005 11:11 AM in reply to: cjuliano
At this point in time I am just working with a drawing manager program so all I need to do is open an AutoCAD drawing using VB.Net.

I have been toying around with it a bit and haven't had much success in starting ACAD or opening my drawing. Are there code examples somewhere?


Thanks for the help.
*Maksim Sestic
Message 6 of 19 (67 Views)

Re: Easy Question

09-19-2005 11:25 AM in reply to: cjuliano
Just search down this NG for examples (plenty of them, in fact).

wrote in message news:4960481@discussion.autodesk.com...
At this point in time I am just working with a drawing manager program so
all I need to do is open an AutoCAD drawing using VB.Net.

I have been toying around with it a bit and haven't had much success in
starting ACAD or opening my drawing. Are there code examples somewhere?


Thanks for the help.
*Bobby C. Jones
Message 7 of 19 (67 Views)

Re: Easy Question

09-19-2005 11:28 AM in reply to: cjuliano
Check out the .NET programming section of our site. All of the articles on
the site are older and deal with using .NET and AutoCAD's COM API. While
some of the details in them are not true for newer versions, the basics of
them all still hold true. Have a look at the Getting Connected article to
see how to use .NET to open AutoCAD.
--
Bobby C. Jones
http://www.acadx.com

wrote in message news:4960417@discussion.autodesk.com...
Can vb.net be used with AutoCAD 2004?
Valued Contributor
cjuliano
Posts: 50
Registered: ‎09-11-2005
Message 8 of 19 (67 Views)

Re: Easy Question

09-19-2005 11:49 AM in reply to: cjuliano
Bobby,

A great deal of the links on "your" site don't go anywhere. I did manage to find the Getting Connected article. Since it is in #C how do I compile it for use in VB.Net???

I'll read through the article as well as check out the rest of this NG so hopefully I can find what I am looking for.

Thanks again.
*R. Robert Bell
Message 9 of 19 (67 Views)

Re: Easy Question

09-19-2005 12:06 PM in reply to: cjuliano
When I have a moment where I'm not working on AU classes, I'm going to take
a look at that.

--
R. Robert Bell


wrote in message news:4960521@discussion.autodesk.com...
Bobby,

A great deal of the links on "your" site don't go anywhere. I did manage to
find the Getting Connected article. Since it is in #C how do I compile it
for use in VB.Net???

I'll read through the article as well as check out the rest of this NG so
hopefully I can find what I am looking for.

Thanks again.
*Maksim Sestic
Message 10 of 19 (67 Views)

Re: Easy Question

09-19-2005 12:13 PM in reply to: cjuliano

Quck helper (late binding):

 

Dim myApp As Object
myApp
= CreateObject("AutoCAD.Application")
myApp.Visible = True

 


On the other hand, you may check
href="http://discussion.autodesk.com/forum.jspa?forumID=33">http://discussion.autodesk.com/forum.js...
,
most of the posts refer to what Bobby implied.

 

Regards,

Maksim Sestic

 

 

 

Bobby,

A great deal of
the links on "your" site don't go anywhere.  I did manage to find the
Getting Connected article.  Since it is in #C how do I compile it for use
in VB.Net???

I'll read through the article as well as check out the rest
of this NG so hopefully I can find what I am looking for.

Thanks
again.
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.