.NET

Reply
Contributor
Posts: 20
Registered: ‎02-16-2005
Message 1 of 1 (45 Views)

ACAD on Top

45 Views, 0 Replies
08-24-2005 04:24 PM
When getting the current session of ACAD I use this code:

Dim myApp As AcadApplication
Dim acadDoc As AcadDocument

Try
myApp = Marshal.GetActiveObject("Autocad.Application.16.2")
acadDoc = myApp.ActiveDocument
myApp.Visible = True

The code gets the running session of acad ok, but does not display it. How can I have the running session placed topmost on the screen, visible to the viewer. The similar code in vb6 did this with no trouble at the .visible = true command.

thanks
mark c.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community