Jump to content
Sign in to follow this  

Making the object COM from under determined user

Recommended Posts


Apologize for its english.

Help please me to start COM object under determined user. Overpunch so is not started:

Local $oExcel = ObjCreate("Excel.Application", "COMP", "COMP\USER", "")

If @Error Then

msgbox(0, "ERROR", @Error)



$oExcel.Visible = 1

Here "COMP" - a name of the computer, "USER" - an username, under which want to create the object. The Password there is not installed.

The Operating system XP. That it is necessary to check that object ed? Beside anyone is got so start? :P

Else possible start runas(this is got) and get pid process, but needs after all object, but as his get I do not know.

Edited by flint

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this