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!

How do you pull the USERNAME and COMPUTERID? 1

Status
Not open for further replies.

dashen

Programmer
Jul 14, 2005
233
US
Does anyone know of a way to pull the USERNAME and COMPUTERID in VB.NET 2005? I know it is probably a simple task, but I need to do this, and I only really know how to do this in a VBA environment.
 
I know normally you cann pull it from
%username%
and
%computername%

Thank you!!!

Mike Kovacic
 
system.environment.username and .machinename and the rest

or in 2005

chech my.computer.name and the rest

Christiaan Baes
Belgium

"My old site" - Me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top