Executing .vbs file from asp
Is there a way to execute a .vbs script using an asp page? I have a game script in a .vbs file. I don't want the users to have to be logged in to play the game. The script does all the work. I have an asp page that allows registered users to join a game. The asp page then checks to see if there are enough registered players to play start the game. If there are enough players, I want the .vbs script to start. The script will then start the game, putting the results into a database. All players who log in will be able to view the results through the database. I know I can create a scheduled event to run the .vbs script every so often, but then the player who signed up last who thought the game would start if they entered would have to wait until the task runs. I'd like the game to start immediately after the required players are signed up.
Any ideas?
|