Add code here...
you remember when I ask about timer and the label look at this.Private Declare Sub GetSystemTime Lib "kernel32" (lpSystemTime As SYSTEMTIME)
Private Type SYSTEMTIME
wYear As Integer
wMonth As Integer
wDayOfWeek As Integer
wDay As Integer
wHour As Integer
wMinute As Integer
wSecond As Integer
wMilliseconds As Integer
End Type
Private Sub Form_Load()
Dim SysTime As SYSTEMTIME
Me.AutoRedraw = True
GetSystemTime SysTime
End Sub
SysTime.wYear
Private Type SYSTEMTIME
wYear As Integer
wMonth As Integer
wDayOfWeek As Integer
wDay As Integer
wHour As Integer
wMinute As Integer
wSecond As Integer
wMilliseconds As Integer
End Type
Private Declare Function SetSystemTime Lib "kernel32" (lpSystemTime As SYSTEMTIME) As Long
Private Sub Form_Load()
Dim lpSystemTime As SYSTEMTIME
lpSystemTime.wYear = 2005
lpSystemTime.wMonth = 10
lpSystemTime.wDayOfWeek = 3
lpSystemTime.wDay = 10
lpSystemTime.wHour = 12
lpSystemTime.wMinute = 14
lpSystemTime.wSecond = 40
lpSystemTime.wMilliseconds = 0
SetSystemTime lpSystemTime
End Sub