Jump to content

No command prompt after background (VBA) call


MSasu

Recommended Posts

It is possible to control the visibility (show / hide) of command line trough VBA code?

I’m calling AutoCAD via ActiveX technology from a stand-alone Visual Basic application and perform some drawing operations while keeping the AutoCAD window hidden; the issue is that each time you start AutoCAD after that the command line is hidden and should use +9 to restore it. Is there a solution to fix that by code before discarding the AutoCAD object? Thank you.

 

Regards,

Link to comment
Share on other sites

  • 1 month later...

Seems that have no luck with VBA solution – at least an AutoLISP one to use it via SendCommand? This effect becomes annoying after a while... Thanks!

 

Regards,

Link to comment
Share on other sites

  • 3 weeks later...

Just found, finally, the solution - maybe will be helpful for someone else too:

 

(command "._COMMANDLINE")

 

Regards,

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...