VB.NET Beginner

VB.NET Beginner

BQ
Explorer Explorer
684 Views
4 Replies
Message 1 of 5

VB.NET Beginner

BQ
Explorer
Explorer
Ordered "VB.NET Programming for AutoCAD Customization" yesterday.
I am familiar with VBA in excel... and have done some shell script programming in unix...

Do I need visual studio to write VB.NET code for AutoCAD? and will it be embedded in AutoCAD files or separate?
Is writing VB.NET similar to VBA(ALT+F11)?

Nevermind...just found: <> Edited by: BrianQ on Oct 12, 2009 6:06 PM
0 Likes
685 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
Hello BrianQ,
You will need Visual Studio for VB .NET programming (the Express version
is free!).

By default the Express version does not easily handle debugging code, the
following link is a good primer on starting VB .NET Autocad programming and
how to setup Visual Studio Express for debugging.

http://discussion.autodesk.com/forums/servlet/JiveServlet/download/33-716827-6129383-201009/VS2008WithVB.pdf

You finished code will be a dll file that is seperate from you dwg, that
way you can use it with any drawing file.

> Ordered "VB.NET Programming for AutoCAD Customization" yesterday. I am
> familiar with VBA in excel... and have done some shell script
> programming in unix...
>
> Do I need visual studio to write VB.NET code for AutoCAD? and will it
> be embedded in AutoCAD files or separate? Is writing VB.NET similar to
> VBA(ALT+F11)?
>
> Nevermind...just found:
> <> > art=0>
>
> Edited by: BrianQ on Oct 12, 2009 6:06 PM
>
0 Likes
Message 3 of 5

BQ
Explorer
Explorer
Thanks Michael!

I am running AutoCAD 2004.
I tried to set reference's and could not find "acmgd.dll" or "acdbmgd.dll" in the AutoCAD 2004 folder.

Should these same files exist in AutoCAD 2004?

Edited by: BrianQ on Oct 13, 2009 7:33 PM
0 Likes
Message 4 of 5

Anonymous
Not applicable
Of course not.

The .NET API did not exist in AutoCAD 2004.

Also, the first release I recommend any new .NET programmer works with, is
AutoCAD 2007, because of major changes that occured in previous releases,
which will only lead to a lot of confusion.

To be honest with you, others here are going to have a hard time taking
anyone that's trying to use .NET on AutoCAD 2004 seriously.

Are you a student ?

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

wrote in message news:6270913@discussion.autodesk.com...
Thanks Michael!

I am running AutoCAD 2004.
I tried to set reference's and could not find "acmgd.dll" or "acdbmgd.dll"
in the AutoCAD 2004 folder.

Should these same files exist in AutoCAD 2004?

Edited by: BrianQ on Oct 13, 2009 7:33 PM
0 Likes
Message 5 of 5

BQ
Explorer
Explorer
Thanks for your honesty. I am a CAD user. I have been using AutoCAD, along with other CAD tools, for sometime but I am new to VB.NET.

Don't worry I am a quick learner. Thanks for the help.
0 Likes