Ok, big points for a quick response...
I opened an SSH tunnel from within VB with the following:
ShellExecute Me.hwnd, "Open", "C:/plink.exe", "-ssh -l sshtunnel -pw 12345 -L 3306:127.0.0.1:3306 -batch www.myhost.com
", "c:\", 0
I would not like to be able to kill it when it's dead. Any solutions?