获得计算机名

上一篇 / 下一篇  2008-08-21 13:40:18

Public Function GetHostName (ByRef strComputerName)
 Dim objNetwork
    Set ōbjNetwork = CreateObject("Wscrīpt.Network")
    strComputerName = objNetwork.ComputerName
    GetComputerName = True
 Set ōbjNetwork = Nothing
End function

TAG:

 

评分:0

我来说两句

我的栏目

日历

« 2024-05-12  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 6058
  • 日志数: 11
  • 建立时间: 2007-11-17
  • 更新时间: 2008-08-22

RSS订阅

Open Toolbar