hey,

I am looking for a means to END my application in VB6 based upon my computers clock

i know the function in VB.NET

If My.Computer.Clock.LocalTime.DayOfWeek = DayOfWeek.Wednesday Then
 End
End If

won't work in VB 6 tho. get a run time error "404 object required"

any help at all, thanks

Recommended Answers

All 2 Replies

tis okay, found it my self


If CDate("06/12/2007") Then
End

how about this :
Format(today, "hh:mm:ss")

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.