VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Gets the computers name

by Olabenjo Tunde (5 Submissions)
Category: Windows API Call/Explanation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 7th July 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Gets the computers name

Rate Gets the computers name



Dim h as long
Dim s as String * 225

GetComputerName h, s, 225

s = Trim$(s)

MsgBox s

end sub

Download this snippet    Add to My Saved Code

Gets the computers name Comments

No comments have been posted about Gets the computers name. Why not be the first to post a comment about Gets the computers name.

Post your comment

Subject:
Message:
0/1000 characters