If you are using decent VPN software then the mere act of trying to connect to a host at the other end of the tunnel should cause the VPN to come up (with any appropriate connection challenges)
Of course, if you are saying that you want to know how to write a VPN client in VB...well, my answer would be to look elsewhere. I don't believe VB wouuld be the apprpariate language for this.