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 - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -