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

Call Control Panel Applet 1

Status
Not open for further replies.

VictoryHighway

Technical User
Mar 4, 2004
115
US
Greetings,
I would like to be able to call the Windows Time and Date control panel applet via my VB6 program. Does anyone know how I could go about doing this?

Thanks.

--Geoffrey
 
You can do this by running the shell command.

Code:
Shell ("RunDLL32.EXE shell32.dll,Control_RunDLL timedate.cpl")

-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
Psst. Don't tell anyone, but I cheated. (bcastner deserves the real credit).

thread779-691232



-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top