Microsoft MVP성태의 닷넷 이야기
IP 변경하는 NETSH 명령 [링크 복사], [링크+제목 복사],
조회: 11321
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

C:\Documents and Settings\Administrator\Desktop>netsh interface ip set address "
1394 Connection" static 10.2.8.14 255.255.255.0 10.2.8.1 1

Jia,

You Could try:

Private Sub btnRixRoad_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnRixRoad.Click
Dim RixRoad As New ProcessStartInfo()
RixRoad.FileName = "Netsh"
RixRoad.Arguments = "int ip set add name=""Local Area Connection""
source=static addr=10.109.220.254 mask=255.255.0.0 gateway=10.109.200.1
gwmetric=1"
Process.Start(RixRoad)
End Sub

This worked for me - althought im sure there is otherways of doing it.

Ta
MCN

"Jia" <jia@center.njtu.edu.cn> wrote in message
news:ONjitnhOEHA.1392@TK2MSFTNGP09.phx.gbl..
> HI
> I want to change my computer ip address for WinXP/2K in my program,
who
> can tell me? Thanks.
>
>
>
>









[최초 등록일: ]
[최종 수정일: 12/5/2004]


비밀번호

댓글 작성자
 




... 31  32  33  34  35  36  37  38  39  [40]  41  42  43  44  45  ...
NoWriterDateCnt.TitleFile(s)
186정성태4/13/200611884Internet Information Services (IIS) 6.0 Manager for Windows XP
185정성태10/20/200612280Windows Vista CTP - Feb 2006 (Build 5308) [1]
183정성태4/13/200611542Running Windows with No Services
182정성태4/13/200612326Visual Studio 2005 Web Application Projects (Beta V2 Preview)
204정성태4/29/200611902    답변글 Visual Studio 2005 Web Application Projects
254정성태4/29/200611381    답변글 RC1 - Visual Studio 2005 Web Application Projects
255정성태4/29/200611634    답변글 설명서 - Introduction to Web Application Projects
181정성태4/13/200613783스마트 클라이언트 - Diagnosing Control in browser issues
180정성태4/13/200612859ILMerge
179정성태4/13/200611221개발자 입장에서 IE 7.0 에서 바뀐 점들
178정성태4/13/200611364Order Your Free Partner Product DVD
177정성태4/13/200611394What's New in Visual C++ 2005 IntelliSense?
176정성태4/13/200610979IE 7.0 Beta 2
175정성태4/13/200610608SQL2005_Sys_Views.pdf파일 다운로드1
174정성태4/13/200611506Create and Share Your Own Code Snippets
172정성태4/13/200611072Activating ActiveX Controls
171정성태4/13/200611037Install Multi Cab Files From Single Container Cab파일 다운로드1
170정성태10/20/200611923Windows "Monad" Shell Beta 3 [1]
169정성태4/13/200611805Windows Server 2003에서의 Visual Basic .NET : 새 벤치마크
168정성태4/13/200610921스마트 클라이언트, 애플리케이션의 신속한 개발 및 배포파일 다운로드1
167정성태4/13/200610717Web Service Security(WSE) 3.0.pdf파일 다운로드1
166정성태4/13/200611146윈도우즈 보안 가이드파일 다운로드1
165정성태4/13/200611493Don't Lock Type Objects! - lock( typeof( SomeClass ) );
163정성태4/13/200611879Virtual Earth SDK
164정성태4/13/200611398    답변글 InkWebPublisher
160정성태4/13/200612210MS 인증서버 : 인증서 유효 기간 기본값 변경
... 31  32  33  34  35  36  37  38  39  [40]  41  42  43  44  45  ...