Function to retrieve the Computer Name from a Windows 95/98/NT machine
Function to retrieve the Computer Name from a Windows 95/98/NT machine
Rate Function to retrieve the Computer Name from a Windows 95/98/NT machine
(2(2 Vote))
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
Function to retrieve the Computer Name from a Windows 95/98/NT machine Comments
No comments yet — be the first to post one!
Post a Comment