Results 1 to 21 of 21

Thread: ucCalendar (Events calendar)

Threaded View

  1. #18
    Fanatic Member
    Join Date
    Aug 2016
    Posts
    609

    Re: ucCalendar (Events calendar)

    There're few errors during running the updated demo.
    1. It's either data in db for "StartTime" and "EndTime" or Date and Time Formats issue between your PC and my PC region settings.
    Code:
    If StartTime > EndTime Then
            'Err.Raise 100, , "Start time cannot be greater than end time"
            Exit Function
    End If
    My vb6 is interpreting "9/5/2022 12:30:00 Am" and "5/15/2022 4:00:00 Am" but in db they are "9/5/2022 00:30:00" and "15/5/2022 04:00:00".

    Name:  db issue vb6.png
Views: 1316
Size:  9.6 KB

    Name:  db issue.png
Views: 1409
Size:  25.0 KB
    2. add Form1 Form_Load:
    Code:
    If lKey <> 0 Then ColEvents.Add cEvent, CStr(lKey)
    then I can run the demo with two modifications.
    Last edited by DaveDavis; May 16th, 2022 at 08:50 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width