vb.net - VPN Connection using VB in Visual Studion 2013 -


using visual studio 2013 , coding vb, not c#, need able create vpn connection. have been looking several days , tried several things nothing works. need disconnect. have done in batch file using following.

rasdial "vpn connection" user password

rasdial "china vpn connection" /disconnect

obviously not work in vb.net.

private sub button2_click(sender object, e eventargs) handles button2.click

rasdial  "vpn connection"  user  password 

end sub


Comments

Popular posts from this blog

javascript - ScrollTo Effect (href to div) -

javascript - ng-class not responding to change in model in Angular? -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -