Microsoft MVP성태의 닷넷 이야기
IP 변경하는 NETSH 명령 [링크 복사], [링크+제목 복사],
조회: 10914
글쓴 사람
정성태 (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/200611326Internet Information Services (IIS) 6.0 Manager for Windows XP
185정성태10/20/200611753Windows Vista CTP - Feb 2006 (Build 5308) [1]
183정성태4/13/200610997Running Windows with No Services
182정성태4/13/200611802Visual Studio 2005 Web Application Projects (Beta V2 Preview)
204정성태4/29/200611341    답변글 Visual Studio 2005 Web Application Projects
254정성태4/29/200610893    답변글 RC1 - Visual Studio 2005 Web Application Projects
255정성태4/29/200611051    답변글 설명서 - Introduction to Web Application Projects
181정성태4/13/200613257스마트 클라이언트 - Diagnosing Control in browser issues
180정성태4/13/200612333ILMerge
179정성태4/13/200610735개발자 입장에서 IE 7.0 에서 바뀐 점들
178정성태4/13/200610864Order Your Free Partner Product DVD
177정성태4/13/200610925What's New in Visual C++ 2005 IntelliSense?
176정성태4/13/200610523IE 7.0 Beta 2
175정성태4/13/200610204SQL2005_Sys_Views.pdf파일 다운로드1
174정성태4/13/200611040Create and Share Your Own Code Snippets
172정성태4/13/200610608Activating ActiveX Controls
171정성태4/13/200610644Install Multi Cab Files From Single Container Cab파일 다운로드1
170정성태10/20/200611509Windows "Monad" Shell Beta 3 [1]
169정성태4/13/200611348Windows Server 2003에서의 Visual Basic .NET : 새 벤치마크
168정성태4/13/200610518스마트 클라이언트, 애플리케이션의 신속한 개발 및 배포파일 다운로드1
167정성태4/13/200610272Web Service Security(WSE) 3.0.pdf파일 다운로드1
166정성태4/13/200610736윈도우즈 보안 가이드파일 다운로드1
165정성태4/13/200611029Don't Lock Type Objects! - lock( typeof( SomeClass ) );
163정성태4/13/200611389Virtual Earth SDK
164정성태4/13/200610931    답변글 InkWebPublisher
160정성태4/13/200611702MS 인증서버 : 인증서 유효 기간 기본값 변경
... 31  32  33  34  35  36  37  38  39  [40]  41  42  43  44  45  ...