|
-
Jul 20th, 2001, 08:50 PM
#1
SetComputerName
after using the SetComputerName API call, do i need to reset my box in order for the change to take effect, because it doesnt seem to work...
-
Jul 21st, 2001, 09:29 AM
#2
Works find for me.
VB Code:
Private Declare Function SetComputerName Lib "kernel32" Alias "SetComputerNameA" (ByVal lpComputerName As String) As Long
Private Sub Command1_Click()
Dim sName As String
sName = "KISHAN"
SetComputerName sName
End Sub
-
Jul 21st, 2001, 06:16 PM
#3
Unless you're running NT or Win 2000 Pro, because you need Admin to do this.
-
Jul 22nd, 2001, 02:50 AM
#4
so im guessing a reboot is necessary huh?
-
Jul 22nd, 2001, 02:12 PM
#5
It worked without any rebooting for me.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|