Jump to content

Running remote object


itunit
 Share

Recommended Posts

Please,

hi ave dicculty running object allocate in to remote server. Examples;

$oRemoteMedia = ObjCreate("MediaPlayer.MediaPlayer.1","Name server","name domain user","password")

If not @error then

Msgbox(0,"Remote ObjCreate Test","ObjCreate() of a remote Mediaplayer Object successfull !")

$oRemoteMedia.Open("c:\windows\media\Windows XP Startup.wav") ; Play sound if file is present

Else

Msgbox(0,"Remote ObjCreate Test","Failed to open remote Object. Error code: " & hex(@error,8))

Endif

The object MediaPlayer.MediaPlayer.1 is allocated in to one server 2003. With component services tools he ave configured DCOM default security with my account. If this code is running have also error (not connected...)

Good.

I possible replay-me one IDEA for this problems ?

Thanks..

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...