by Ted Crow (1 Submission)
Category: Windows System Services
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Mon 4th January 1999
Date Added: Mon 8th February 2021
Rating:
(1 Votes)
Function to retrieve the Computer Name from a Windows 95/98/NT machine
Dim lpBuff As String * 25
Dim ret As Long, ComputerName As String
ret = GetComputerName(lpBuff, 25)
ComputerName = Left(lpBuff, InStr(lpBuff, Chr(0)) - 1)
Get_ComputerName = ComputerName
End Function
No comments have been posted about Function to retrieve the Computer Name from a Windows 95/98/NT machine. Why not be the first to post a comment about Function to retrieve the Computer Name from a Windows 95/98/NT machine.