Click here to Skip to main content
15,904,346 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my vb6 form application I need to highlight multiple dates in date time picker.

Eg. I need to highlight the dates in month November 1, 7, 10, 15 ...



Is there any way to do this
Posted

1 solution

Monthcalendar control has a Boldeddates property but DateTimePicker does not have his(AFAIK)..
Monthcalendar's boldeddates property is an array of datetime objects

VB
Dim boldDates() as system.datetime
'add elements boldDates
calendar.boldeddates=boldDates
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900