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!

Application is visible when started through Automation

Status
Not open for further replies.

Jaco

Programmer
Aug 29, 2000
57
PL
Hallo,

I want to call AutoCad from my VB program.
Code:
Set acadApp = CreateObject("AutoCAD.Application")
Everything works fine when I call it from an NT user account, but when I start my program from an admin account then AutoCad is opened as visible which I can't accept.
Any ideas? Where can I set the behaviour of the OLE Automation server? I want to run my program as NT service (with help of the servany.exe) so there can't be any iteraction with the user interface (not even for a second)

Thanks for any help.

Jacek

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top