Click here to Skip to main content
15,884,176 members
Articles / Programming Languages / Visual Basic
Tip/Trick

Call Date and Time Zone Property[Shell Script]

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
13 Feb 2010CPOL 10.3K   1  
'Call Date and Time Zone Property[Shell Script]'Tested in XP not on Vista'Take one button and write following code in its click event:Public Class Form1Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.ClickShell("rundll32.exe...
'Call Date and Time Zone Property[Shell Script]
'Tested in XP not on Vista
'Take one button and write following code in its click event:

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

Shell("rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,0", vbNormalFocus)

End Sub

End Class

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
-- There are no messages in this forum --