VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Get the name of a particular computer

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

Rate Get the name of a particular computer



    s = String(cnt, 0)
        
    dl = GetComputerName(s, counter)
    Text1.Text = Left(s, counter)
        
    

Download this snippet    Add to My Saved Code

Get the name of a particular computer Comments

No comments have been posted about Get the name of a particular computer. Why not be the first to post a comment about Get the name of a particular computer.

Post your comment

Subject:
Message:
0/1000 characters