Message 1 of 3
New to VB/VBA- AutoCAD session thru VB

Not applicable
11-24-2002
08:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Trying to start an AutoCAD session thru VB...
1- having MMapp as my AutoCAD.Application,
what is the difference between ...
Set MMapp = CreateObject("AutoCAD.Application")
Set MMapp = New AutoCAD.AcadApplication
2- how would I detect if a previous session
of AutoCAD is already running, so add a new
document in the running app,
MMapp.Documents.Add or .Open
instead of opening a brand new app.
if there are some samples, please post.
thanks
Mark
1- having MMapp as my AutoCAD.Application,
what is the difference between ...
Set MMapp = CreateObject("AutoCAD.Application")
Set MMapp = New AutoCAD.AcadApplication
2- how would I detect if a previous session
of AutoCAD is already running, so add a new
document in the running app,
MMapp.Documents.Add or .Open
instead of opening a brand new app.
if there are some samples, please post.
thanks
Mark