Stopping Service
Previous  Top  Next

' This script will stop a virtual or real service when the "main" application quits

Function OnFirstParentExit
   Set WshShell = CreateObject("WScript.Shell")
   WshShell.Run "net stop ""iPod Service"""
End Function