65.9K
CodeProject is changing. Read more.
Home

Call Date and Time Zone Property[Shell Script]

emptyStarIconemptyStarIconemptyStarIconemptyStarIconemptyStarIcon

0/5 (0 vote)

Feb 13, 2010

CPOL
viewsIcon

10427

'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