Jump to content
Sign in to follow this  
Innovative

Stop connection

Recommended Posts

Not useful to me because , i need a function that will disconnect the internet and connect back that doesn't need any name , user and password ..

Share this post


Link to post
Share on other sites

Not useful to me because , i need a function that will disconnect the internet and connect back that doesn't need any name , user and password ..

Maybe this?

Run(@ComSpec & " /c " & 'ipconfig /release', "", @SW_HIDE) ;disconnect

Run(@ComSpec & " /c " & 'ipconfig /renew', "", @SW_HIDE) ;connect

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...