Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pulling ComputerName from Registry on to form 1

Status
Not open for further replies.

Jill50

Programmer
Apr 11, 2001
21
US
Is there a way to populate a control on a form with the ComputerName in the Registry?
Thanks in advance for any help!
 
Try Environ("COMPUTERNAME") or Environ(1).

First version returns just value, second version
returns "key=value".

 
Thank you so much! That worked great!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top