G
greg chu
Hi, I tried to use
Private Declare Function SetComputerName Lib "kernel32" Alias
"SetComputerNameA" (ByVal lpComputerName As String) As Long
SetComputerName(newname)
newname is the name I want to change to.
But after I reboot the windows 2000 prof. the computer name remained
the same.
Any ideas?
Thanks!
Greg
Private Declare Function SetComputerName Lib "kernel32" Alias
"SetComputerNameA" (ByVal lpComputerName As String) As Long
SetComputerName(newname)
newname is the name I want to change to.
But after I reboot the windows 2000 prof. the computer name remained
the same.
Any ideas?
Thanks!
Greg