Get TCP address

JesseH

Registered User.
Local time
Yesterday, 20:29
Joined
Apr 24, 2009
Messages
44
Is there a way to get the tcp address on which MS Access is running. I need to insure that the MS Access program can only run on a particular server.

Thanks for the help.
 
Don't know about that, but Environ("Computername") will tell you the server's name.

At the moment I'm not up on TCPIP lookups.

Odd thought: Run a SHELL command to do an IPCONFIG command redirected to a file, then open and read the file to find the IP address. Offhand, I don't know of another way to do that because I don't know enough about the WinSock or other TCP APIs.
 

Users who are viewing this thread

Back
Top Bottom