Results 1 to 4 of 4

Thread: BOLD Dates

  1. #1

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539

    BOLD Dates

    anyone know how i can stick bolded date from a month calendar in to an array the system code is like this

    Me.MonthCalendar1.BoldedDates = New Date() {New Date(2003, 12, 10, 0, 0, 0, 0), New Date(2003, 12, 11, 0, 0, 0, 0)}

    New Date(2003, 12, 11, 0, 0, 0, 0)}
    ummm nice way to store dates................
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

  2. #2
    Addicted Member Hole-In-One's Avatar
    Join Date
    Mar 2003
    Location
    Minnesota
    Posts
    195
    The bolded dates in a month calendar are already stored in an array?

    What exactly do you want?

    Code:
     Me.MonthCalendar1.MonthlyBoldedDates = New System.DateTime() _
                         {New System.DateTime(2002, 1, 15, 0, 0, 0, 0), _
                          New System.DateTime(2002, 1, 30, 0, 0, 0, 0)}
    that sets the bolded dates in the array

  3. #3

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539
    What would be nice is if i could stick all my dates that i want in bold in an arraylist because im using dates that are stored in a database.
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

  4. #4
    Addicted Member Hole-In-One's Avatar
    Join Date
    Mar 2003
    Location
    Minnesota
    Posts
    195
    Try this:

    Code:
    Dim i as integer
    With DsDates.Dates
        For i = 0 to .Count
            Dim d as date= .rows(i)("Dates")
            Me.MonthCalendar1.AddBoldedDate(d)
        Next
    End With

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