Hi Nev,
Thanks for the quick response. I will try this logic and will let you know.
What I mean is if the day is Monday how will i count to Friday's starttime if Friday 19:00 is selected as the shutdown day, because there are upto 3 days inbetween same with tues as there are 2 days to count and so on.
Kind REgards.
Benitez
User Profile
Collapse
-
Timer Check for Days to Offline
Hi All,
I am using VB6. Iam new to VB6
I am new here looking for a solution to test for starttime and endtime of a time/day window. The users will input days of the week i.e. mon-Sun and the Starttime and Endtime for each day selected. Example a user can select Fri - Sun checkboxes and in each day choose a starttime of 07:00 and endtime 23:00 so the form will look like (no enetered values for Mon - Thurs) - System Offline settings... -
Iam Exploring the following:
In Form Query Unload() or Form Unload add the END command i.e.
Private Sub Form_QueryUnloa d()
End
End SubLeave a comment:
-
VB6 Form Not Closing, relaunching when press close
Hi All,
I am new here and new to VB6, My Do Loop and DoEvents seem to cause me problem hence am kindly asking for help. Iam using VB6
I have code in Form_load() which gathers registry values using getsettings (Starttime and EndTime) these settings are then used in the Do Loop as follows:
[CODE=vb]Private Sub Form_Load ()
Dim ......
show form
GetSetting...
No activity results to display
Show More
Leave a comment: