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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using VBA to determine what PC Ap is on

Status
Not open for further replies.

jpl458

Technical User
Sep 30, 2009
337
US
Have an ACCESS application that is stored on a host and runs on several different PCs. Each PC has it's own Ticket printer attached, so I need to determine what computer the ap is on in order to assign the proper printer to it.

Tried some stuff I found on the web but none of it workks.

Thanks in advance.

jpl
 

Did you try:
Code:
MsgBox Environ("computername")
If not, you need to be more specific of WHAT information you are trying to get.

Have fun.

---- Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top