I need to get one program to wait until our VPN is connected before allowing this program to launch. It would need to wait after the connection status for a count of say 10 before launching to make sure that the handshake is fully connected. How would one go about doing this? (Program to wait is VMWARE Horizons and the VPN program is Big IP Edge Client).