MLH wrote:
Would like to run the control panel's
Internet Date & Time program from VBA
- emulating opening it, clicking the Internet
Time tab and the Update Now button.
I don't really care for the user to see all
this. Would just like to sync the system
time with the facility built-in to XP and
automatically w/o asking the user to go
through the steps manually.
Ideas?
IMO, this is a _bad_ thing to do. I would be wondering what kinds of
things someone had been doing to my computer if code in an app did this
to me. I'd like it about as much as I like lookup fields. PITA and
you can't tell how they're really working. I would advise against it
unless it's an absolutely critical feature and it's your last resort.
Any files the user changes while you have the settings monkeyed about
will not be found with a search for files within a date range.
So what are you _really_ trying to accomplish? Getting a timestamp
from another time zone? Did you look on Randy Birch's site and on
AccessWeb? (Or here... MGFoster posted something that looked
promising).
there you have it, my 2 cents...
Pieter