Connecting Tech Pros Worldwide Help | Site Map

How to Change Local Machine IP Address without rebooting the machine using VB.Net

 
LinkBack Thread Tools Search this Thread
  #1  
Old October 31st, 2006, 07:50 AM
Newbie
 
Join Date: Aug 2006
Posts: 10
Default How to Change Local Machine IP Address without rebooting the machine using VB.Net

Hi All,

How can I Change Local Machine IP Address without rebooting the machine using VB.Net.

As I want to shift from one IP address to another IP address with application the effect should take place without rebooting the system.

Thanks in advance.
Raju
  #2  
Old October 31st, 2006, 08:32 AM
Needs Regular Fix
 
Join Date: Jul 2006
Posts: 269
Default

Using SNMP concet tyo reboot the remote system

vssp
  #3  
Old October 31st, 2006, 08:33 AM
Needs Regular Fix
 
Join Date: Jul 2006
Posts: 269
Default

For windows system WMI consept also easy to reboot sysytem

vssp
  #4  
Old October 31st, 2006, 08:56 AM
Newbie
 
Join Date: Aug 2006
Posts: 10
Default

Quote:
Originally Posted by vssp
For windows system WMI consept also easy to reboot sysytem

vssp
Hi,

Thanks for your response....but my query is how to change the IP address of a local machine and the changes should effect without rebooting the local machine.

thanks
  #5  
Old October 31st, 2006, 09:56 AM
Member
 
Join Date: Oct 2006
Posts: 34
Default

netsh interface ip set address ""Local Area Connection"" static " IP " " SubnetMask " " Gateway " 1.This command runs command line(cmd.exe).If you can write command line with VB.net then You don't have to reboot your system. If you want to write command line tis command I help you. I managed to this command.
  #6  
Old November 9th, 2006, 09:12 PM
Newbie
 
Join Date: Nov 2006
Posts: 1
Default

Note that you can only use the WMI to change the IP if you are the Administrator.

Last edited by camcairns; November 9th, 2006 at 09:13 PM. Reason: Made a mistake MMI should be WMI
  #7  
Old February 14th, 2007, 08:20 AM
Newbie
 
Join Date: Aug 2006
Posts: 10
Default

Quote:
Originally Posted by seralasu
netsh interface ip set address ""Local Area Connection"" static " IP " " SubnetMask " " Gateway " 1.This command runs command line(cmd.exe).If you can write command line with VB.net then You don't have to reboot your system. If you want to write command line tis command I help you. I managed to this command.

Thanks for your response.....but I need something little bit elaborately....

thanks
raju
  #8  
Old February 14th, 2007, 08:42 AM
Newbie
 
Join Date: Aug 2006
Posts: 10
Default

Quote:
Originally Posted by seralasu
netsh interface ip set address ""Local Area Connection"" static " IP " " SubnetMask " " Gateway " 1.This command runs command line(cmd.exe).If you can write command line with VB.net then You don't have to reboot your system. If you want to write command line tis command I help you. I managed to this command.

Thanks .....I got it......it really serves my purpose....

Raju
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.