答案:声明: Declare Function SetComputerName Lib "kernel32" Alias "SetComputerNameA" (ByVal lpComputerName As String) As Long 使用: NewName = "Hello World" SetComputerName NewName 文章来自vb爱好者:http://vb.zzzyk.com
声明: Declare Function SetComputerName Lib "kernel32" Alias "SetComputerNameA" (ByVal lpComputerName As String) As Long 使用: NewName = "Hello World" SetComputerName NewName
文章来自vb爱好者:http://vb.zzzyk.com
上一个:成组更新控件属性下一个:取得计算机名