I am new to
VB, and iam trying with a program that displays the time difference between start time button click and end time button clik,
everything seems to be proper but when i run this programme iam getting this error at StartTime button click
---------------------------
Compile error:
Method or data member not found
---------------------------
and it indicates the following line
lblStart.Caption = Format(StartTime, "hh:mm:ss")
the code is
Sub cmdStart_Click()
StartTime = Now
lblStart.Caption = Format(StartTime, "hh:mm:ss") <-- getting
lblEnd.Caption= "" struck here
lblElapsed.Caption = ""
End Sub
the solution might be very simple but iam madly stuck here
Plz help me!
- bala