Advertisement
Guest User

Untitled

a guest
Jun 7th, 2014
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.66 KB | None | 0 0
  1. returnvalue=msgbox("Is the VPN connected?",4,"VPN Authentification")
  2.  
  3. If returnvalue=6 Then
  4.  
  5.     Dim objShell
  6.     Set objShell = WScript.CreateObject( "WScript.Shell" )
  7.     objShell.Run("""C:\Users\*********\Downloads\Popcorn-Time\Popcorn-Time.exe""")
  8.     Set objShell = Nothing
  9.  
  10. Else If returnvalue=7 Then
  11.  
  12.     returnvalue=msgbox("Do you know what the VPN is?",4,"VPN Authentification")
  13.  
  14.         If returnvalue=6 Then
  15.         x=msgbox("Please connect to the VPN",0,"VPN Authentification")
  16.  
  17.         Else If returnvalue=7 Then
  18.         x=msgbox("Please get off my computer",0,"VPN Authentification")
  19.  
  20.         End if    
  21.  
  22.     End if
  23.  
  24. End if
  25.  
  26. End if
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement