by Kamlesh Santani (5 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Tue 5th December 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Get the name of a particular computer
API Declarations
Dim dl As Long
Dim cnt As Long, s As String
s = String(cnt, 0)
dl = GetComputerName(s, counter)
Text1.Text = Left(s, counter)