Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: How to write ASP to execute remote command from client to WinNT IIS4.0


Message #1 by "gavon wong" <gavonw@y...> on Thu, 11 Apr 2002 17:39:34
Hello,
Currently I am trying to figure out how can I send a 'ALT-A' command to a 
client running Windows Media Encoder. The scenerio is as follows: -

Client ---> WinNT IIS ---------> Windows Media Encoder
            (Simple webpage)     (Running Unisyn Automate4)

When a client machine access the IIS, a webpage will be shown with various 
audio channel for selection. When you click on 1 of the link, Windows 
Media player will execute on the client machine, playing the streamed 
audio.
As the Windows Media Encoder has only 1 sound card and 1 tuner card, I 
installed Automate4 from Unisyn to change audio channel using Hotkeys, eg, 
ALT-A will bring you to Radio 1, ALT-B will bring you to Radio 2 etc. 
Hence whenever the client user wants to change Audio stream, he/she will 
just have to click on the Audio link on the webpage. The problem now is, 
how can the client user trigger the 'ALT-A' to the Windows Media Encoder 
wkstation? I have tried using WMI's exec.vbs with no success. Is there any 
program or language that can be written on a webpage and when the user 
clicks it, it actually sends the command back to the webpage host to 
trigger the channel change?

Sorry for my inadequate knowledge but I do hope to make it work.

Please help... Thank you very much 
gavon,

  Return to Index