Hi Sharon,

Please refer to this great post from Doug Blair on the list back in 2006:
http://www.nabble.com/Best-way-to-play-sounds--tf2378023.html#a6644936
He uses a view field, this removes the need of run process actions.

Using Run Process it would be tricky to hide the media player window.

--
Met vriendelijke groet / Kind regards
Michiel Beijen
______________________________________________________
MANSOLUTIONS
Energieweg 60-62
3771 NA Barneveld
The Netherlands
Tel. +31-(0)612968592
Mail [EMAIL PROTECTED]
Internet http://bsm.mansolutions.nl


On 4/12/07, Menachem, Sharon <[EMAIL PROTECTED]> wrote:
**

Hi,


ARS 5.1.2 patch 1484
Win 2003
SQL 2000 SP3

I am trying to play a sound when a particular window opens up in the user
tool and I am trying to use regular command line syntax to do that. In fact
I went so far as to copy the syntax word for word from the admin tool help!

This is the syntax in the Run Process: C:\Software\I386\cmd.exe
%windir%\system32\mplay32.exe %windir%\Media\chimes.wav

As you can see from the log the string is translated correctly but it fails
to play the sound - the error: Failed!

<ACTL>               Process: "C:\Software\I386\cmd.exe
C:\WINDOWS\system32\mplay32.exe C:\WINDOWS\Media\chimes.wav"
<ACTL>                  **** Failed
<ACTL>                  Return Code: 0l

With that very useful error message I am at a loss to know what the problem
is.

Is there a better way to do this?

Your help is as always greatly appreciated.

Thanks,
Sharon


  __20060125_______________________This posting was
submitted with HTML in it___

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers 
Are"

Reply via email to