Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Languages / VB

Call Date and Time Zone Property[Shell Script]

0.00/5 (No votes)
13 Feb 2010CPOL 10.4K  
'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)