Jump to content

Making the object COM from under determined user


flint
 Share

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)

Exit

EndIf

$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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...