Microsoft MVP성태의 닷넷 이야기
IP 변경하는 NETSH 명령 [링크 복사], [링크+제목 복사],
조회: 13245
글쓴 사람
정성태 (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]


비밀번호

댓글 작성자
 




... 16  17  18  19  20  21  22  23  24  25  26  27  28  29  [30]  ...
NoWriterDateCnt.TitleFile(s)
450정성태9/28/200615949.NET : 16. ADO.NET vNext Entity Data Model Designer Prototype, CTP
449정성태9/28/200616739TFS : 37. Team Foundation Server and Basic Authentication
448정성태9/28/200616193TFS : 36. Moving the Team Foundation Server Data Warehouse to a Separate Server
447정성태10/20/200616289Vista : 10. ASLR이 적용된 Vista
446정성태9/26/200615926개발환경 구성 : 31. Profiling Tool for .NET Developers
445정성태10/20/200615836Windows 2008 : 2. LHS Feature Of The Week #2 - Remote Differential Compression
444정성태10/20/200616363Windows 2008 : 1. LHS Feature Of The Week #1 - Transactional NTFS
443정성태9/23/200616443개발환경 구성 : 30. Tip/Trick: Optimizing ASP.NET 2.0 Web Project Build Performance with VS 2005
442정성태9/28/200617990TFS : 35. 설치 설명서 / 관리자 가이드 도움말 업데이트
441정성태9/21/200618519개발환경 구성 : 29. SQL Server Spec 비교
440정성태10/20/200617754.NET 3.0 : 3. WCF Workshops updated to Release Candidate 1
439정성태9/20/200618035개발환경 구성 : 28. Caml Viewer 2007 : released on Codeplex
438정성태9/20/200616428개발환경 구성 : 27. Enterprise Smart Card Deployment in the Microsoft® Windows® Smart Card Framework
437정성태9/19/200616815TFS : 34. Getting Started with TFS Integrator 파일 다운로드2
434정성태9/20/200617412개발환경 구성 : 26. Developing Web Applications on Windows Vista with Visual Studio 2005
433정성태10/20/200617040Vista : 9. Next Generation TCP/IP Stack
432정성태9/16/200616923TFS : 33. Now Available: Teamprise V2 Preview 2
431정성태9/16/200616442개발환경 구성 : 25. Announcing the Web Client Software Factory
430정성태9/15/200616844.NET : 15. ASP.NET 2.0 - A Preview of Web LINQ - BLINQ
429정성태9/15/200616378The True Cost of .NET Exceptions
428정성태9/15/200618181.NET : 14. IronPython 예제들
427정성태9/14/200617810개발환경 구성 : 24. Smart Start and Stop Service in VS.NET Build
426정성태9/13/200617234TFS : 32. Team Foundation Server Language Change Package
425정성태9/12/200617154TFS : 31. Team Foundation Administrator's Guide (TFSAdmin.chm)
424정성태9/12/200617944Visual C++ : 2. Managed Debugger Expression Evaluator - mcee_mc.dat
422정성태9/8/200618156.NET : 13. An Introduction to LINQ
... 16  17  18  19  20  21  22  23  24  25  26  27  28  29  [30]  ...