Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

drawing objects while in a VBA FORM 1

Status
Not open for further replies.

miguelst

MIS
Jan 6, 2005
13
CA
I’m trying to draw some objects from within a VBA form and it is getting the error:
AUTOCAD MAIN WINDOW IS INVISIBLE. To turn on the window, set the visible property of the application object to actrue.
How and where should I do this?
 
Hi miguelst,

Right before you execute any commands AutoCAD must interpret:

Code:
ThisDrawing.Application.Visible = True

HTH
Todd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top