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

Remote Timestamp

Status
Not open for further replies.

adimulam

Programmer
Feb 13, 2002
25
US
Is there any Visula Basic function that gives the time on a remote computer if I supply name of the computer or IP address?
 
You could try using the 'NET TIME' command in a dos window i.e. Shell to it, pipe the results to a text file then read the file.

Call Shell("NET TIME \\WorkstationID > C:\RMT_TIME.TXT" )
Open "C:\RMT_TIME.TXT" for input as #1
etc...

M :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top