Discuss how to get the computer name? in the Visual Basic Programming forum on ASP Free. how to get the computer name? Visual Basic Programming forum discussing coding strategies, development and techniques. Go from prototype to product quickly using this robust platform.
Posts: 68
Time spent in forums: 11 h 34 m 21 sec
Reputation Power: 5
how to get the computer name?
Hi
I am editing some VBA code in Access 2000 and I need to get the computer name. I know that with the shell command you can use
Code:
%computername%
But is there a function I can use directly in Access? I want to use this info in the body text of an automated e-mail sent by the users of my database like a signature so I can identify the message. Here is the code sample I would like to use and where I would like the computer name to appear:
Posts: 12,867
Time spent in forums: 4 Months 4 Weeks 15 h 21 m 57 sec
Reputation Power: 1762
Quote:
Originally Posted by saabman
Hi
I am editing some VBA code in Access 2000 and I need to get the computer name. I know that with the shell command you can use
Code:
%computername%
But is there a function I can use directly in Access? I want to use this info in the body text of an automated e-mail sent by the users of my database like a signature so I can identify the message. Here is the code sample I would like to use and where I would like the computer name to appear: