The simplest thing to do would be to create a client/server style application in visual basic (less than 20 lines of code). Set the servers Winsock control to listening. When a user starts up the client app, it's Winsock control will communicate with the servers and you can tell it to do what ever you want. TCP mode allows a direct 2-way communication or you could us UDP mode if you just sending commands. I actually have my shop workstations broadcasting vantage status every 15 minutes. Then on my workstation I monitor all the shop workstations and if a workstation fails to check in for over and hour, a popup message lets me know and I can walk out and check to see why the computer isn't running. Got tired of people coming to me and saying the computer hasn't been working for over a week, but this is the first time I'm hearing about it. I also do this at home where I'll pull phone CID off a modem on on computer and push it to my MCE box and popup who's calling on the TV.
-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]On Behalf Of Steve
Sent: Friday, February 02, 2007 2:04 PM
To: vantage@yahoogroups.com
Subject: [Vantage] OT: Play Sound on Server from Anywhere on Network
Thanks to listmember Todd Caughey, we have for some time been running
our shop buzzers via a tie-in from our Vantage server to our PA
system. Scheduled tasks on the Vantage server play various tones to
signify breaks, cleanup times and shift starts and ends. It all works
very well thanks again to Todd's nice little installation package.
Our Safety Manager came to me recently with a request for anyone in
the facility to be able to initiate an emergency warning tone that
will run continuously until intentionally terminated. I initially
thought the easiest way to accomplish this would be play the
appropriate warning tone on a continuous loop on the Vantage server.
I tested it out using Windows Media Player on my workstation. I could
run WMP from the command line with the file specified and, if the
repeat flag was checked in WMP, with a single mouse click on a
shortcut the sound would play continuously. Using a shortcut built
with taskkill I could neatly terminate WMP with, once again, a single
mouse click. Great, I've now got two icons (shortcuts) that will
start and stop the warning tone throughout the plant. I recreated the
shortcuts on the Vantage server and as expected, they function as
desired from the Vantage server console. I cannot, however, figure
out how to execute these shortcuts from a workstation on the network.
I've tried mapping, UNC paths, shortcuts to shortcuts, everything I
could think of with no luck. In every case, the local copy of WMP
attempts to play the sound and not the copy on the server. Anyone
have any ideas on how I can get WMP to run remotely on the Vantage
server from another machine?
[Non-text portions of this message have been removed]
-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]On Behalf Of Steve
Sent: Friday, February 02, 2007 2:04 PM
To: vantage@yahoogroups.com
Subject: [Vantage] OT: Play Sound on Server from Anywhere on Network
Thanks to listmember Todd Caughey, we have for some time been running
our shop buzzers via a tie-in from our Vantage server to our PA
system. Scheduled tasks on the Vantage server play various tones to
signify breaks, cleanup times and shift starts and ends. It all works
very well thanks again to Todd's nice little installation package.
Our Safety Manager came to me recently with a request for anyone in
the facility to be able to initiate an emergency warning tone that
will run continuously until intentionally terminated. I initially
thought the easiest way to accomplish this would be play the
appropriate warning tone on a continuous loop on the Vantage server.
I tested it out using Windows Media Player on my workstation. I could
run WMP from the command line with the file specified and, if the
repeat flag was checked in WMP, with a single mouse click on a
shortcut the sound would play continuously. Using a shortcut built
with taskkill I could neatly terminate WMP with, once again, a single
mouse click. Great, I've now got two icons (shortcuts) that will
start and stop the warning tone throughout the plant. I recreated the
shortcuts on the Vantage server and as expected, they function as
desired from the Vantage server console. I cannot, however, figure
out how to execute these shortcuts from a workstation on the network.
I've tried mapping, UNC paths, shortcuts to shortcuts, everything I
could think of with no luck. In every case, the local copy of WMP
attempts to play the sound and not the copy on the server. Anyone
have any ideas on how I can get WMP to run remotely on the Vantage
server from another machine?
[Non-text portions of this message have been removed]