|
-
May 12th, 2011, 10:24 AM
#1
Thread Starter
Junior Member
Disconnecting network connection and reconnecting
Hi guys
I have a USB 3G dongle from Orange which is like a dialup connection, rather than a wireless connection.
Is there anyway in vb.net to control this connection? So disconnect is and recconnect it etc?
The reason for this is automatically getting a new ip address without manually disconnecting in network connections.
-
May 12th, 2011, 11:27 AM
#2
Re: Disconnecting network connection and reconnecting
You can run ipconfig /release to release the current ip and then run ipconfig /renew to renew the ip address. However, you may still get the same ip address each time.
Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
- Abraham Lincoln -
-
May 12th, 2011, 01:17 PM
#3
Thread Starter
Junior Member
Re: Disconnecting network connection and reconnecting
-
May 12th, 2011, 02:32 PM
#4
Thread Starter
Junior Member
Re: Disconnecting network connection and reconnecting
i tried it but i require elevation, i forgot about that. Im using windows vista.
How can i run a shell as administrator?
-
May 12th, 2011, 02:46 PM
#5
Addicted Member
Re: Disconnecting network connection and reconnecting
Look at the command "runas".
-
May 12th, 2011, 03:28 PM
#6
Banned
Re: Disconnecting network connection and reconnecting
don't you log in windows as administrator ?
also you could run a macro
-
May 12th, 2011, 03:32 PM
#7
Thread Starter
Junior Member
Re: Disconnecting network connection and reconnecting
i did look at runas but cant work it out.
currently im just right clicking on the exe and running as admin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|