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

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -