flint Posted February 28, 2009 Share Posted February 28, 2009 (edited) 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 Thenmsgbox(0, "ERROR", @Error)ExitEndIf$oExcel.Visible = 1Here "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? 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 February 28, 2009 by flint Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now