|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Tray icon to change IP Gateway?How to change IP Gateway simply?
Just looking for some sample code... Could be VB6 or VB Net 2005.... I want to have a Tray icon. When double clicked it changes the TCPIP gateway to a secondary choice. Double click again and it's back to the original setting. Thx! You could simply run the shell command to execute the command line route
command. to change the route from the command line it's something like : route CHANGE 0.0.0.0 192.168.1.254 METRIC 2 so (untested) you can : shell("route CHANGE 0.0.0.0 192.168.1.254 METRIC 2") to change the route. Regards Simon "Noozer" <dont.spam@me.here> wrote in message news:y2Fzf.271996$2k.54336@pd7tw1no...Show quoteHide quote > How to change IP Gateway simply? > > Just looking for some sample code... Could be VB6 or VB Net 2005.... > > I want to have a Tray icon. When double clicked it changes the TCPIP > gateway to a secondary choice. Double click again and it's back to the > original setting. > > Thx! >
Insert data in VB.Net
Copying one project to another create user and add to admin group under local system Run code under diffrent user Calling Java class from VB.net Cpmute values in Dataset Table?? Can I do this on One line of code? Collections Woes - Help! DataGridBoolColumn - Greyed Out Trick to getting System.Web.Mail to work? |
|||||||||||||||||||||||