Dim strComputer As String Dim objWMI As Object Dim colIP As Object Dim IP As Object Dim i As Integer Dim ipserver As String ipserver = "" strComputer = "." Set objWMI = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colIP = objWMI.ExecQuery _ ("Select * from Win32_NetworkAdapterConfiguration where IPEnabled=TRUE") For Each IP In colIP If Not IsNull(IP.IPAddress) Then For i = LBound(IP.IPAddress) To UBound(IP.IPAddress) ipserver = IP.IPAddress(i) MsgBox IP.IPAddress(i), vbInformation, IP.Description(i) MsgBox (ipserver) Next End If Next
详细解决方案
vba 取得本机的ip address
热度:1452 发布时间:2013-02-26 00:00:00.0
相关解决方案
- 郁闷啊identifier of an instance of com.services.dao.Address was altered from 44 to,该怎么解决
- Address already in use: NET_Bind,该怎么处理
- CXF测试报错(java.net.MalformedURLException: Invalid address. Endpoint address canno),该如何处理
- dax error : access violation at address,该如何解决
- 参数化查询 '(@mbox varchar(150),@age int,@address varchar' 亟需参数 '@mbox'但未提供该参数
- vba 取得本机的ip address
- 怎么使用ldap协议获取outlook global address list中的用户信息,
- tomcat Address already in use: JVM_Bind解决思路
- *stop:ox0000008e(oxC00000005,oxBF82C09F,oxF86919F8,ox00000000)。win32k.sys-address BF82C09F base at BF800000,DataStamp 48ce4,该如何解决
- *stop:ox0000008e(oxC00000005,oxBF82C09F,oxF86919F8,ox00000000)。win32k.sys-address BF82C09F base at BF800000,DataStamp 48ce4,该如何处理
- How do I address you?解决思路
- How do I address you?解决方法
- 这句话中的“address”如何翻译
- 修理android获取ip地址失败 Fix Obtaining IP Address Android WiFi Problem
- java.net.BindException: Address already in use: JVM_Bind
- phpmailer发邮件有关问题,address failed
- Tomcat Cannot assign requested address: JVM_Bind 非端口占用矛盾
- Address already in use: JVM_Bind<null>80 解决方案
- CXF客户端Invalid address. Endpoint address cannot be null错误
- Address already in use: JVM_Bind <null>8080
- java.sql.SQLException: Network error IOException: Address already in use: connect解决方法
- 哪位大哥帮看看这个异常是那错了?java.net.BindException: Address already in use: connect到主机 的 TCP/IP 连接失败
- 求援:Address already in use: connect?
- UDP:当小弟我打开2个UDPSend的时候,第二个会报错误 Address used 该怎么
- spring JdbcTemplate java.net.BindException: Address already in use: connect解决思路
- java.net.BindException: Address already in use: JVM_Bind,该怎么解决
- java.net.BindException: Address already in use: JVM_Bind:8080
- Caused by: java.net.BindException: Address already in use: connect
- java.net.BindException: Address already in use: JVM_Bind<
- XFire 多线程客户端请求服务端时报错 Address already in use: connect 这么解决,求圣人指点