Help with Calendar OCX

J

John Cosmas

I have the MSComCtl2.MonthView.2 (Microsoft MonthView Control 6.0/SP4)
placed on a form, and I'm having the age old problem of using the DAYBOLD
property. If I were to put the form in DESIGN MODE and then press RUN, the
Calendar works fine. But, if I am to re-run the form the second time
without putting the form in DESIGN mode first, the DAYBOLD fails and none of
the selected/programmed date items on the calendar shows up BOLD. And yes,
I did add it from the INSERT ACTIVEX CONTROL located on the toolbar.
Comments??

If there is a better Calendar control (NOT DATETIMEPICKER), please
recommend. My objective is to show a calendar so I can indicate DAYBOLD.

TIA
John
 
J

John Cosmas

Peter;

Thanks, this will work, plus I can certainly use the controls to do my
project management stuff.

John Cosmas
 
S

Stephen Lebans

The DayBold property is initially very difficult to work with. Have a look
at the code for this prop behind the MonthCalendar class here:
http://www.lebans.com/monthcalendar.htm
A97MonthCalendar.zip is an A97 database containing a Class that wraps the
Microsoft Month Calendar Common Control in an easy to use interface.

A2K Version here: MonthCalendar Access 2000.zip

This is a completely API generated Month Calendar derived directly from the
Common Control DLL.

What this means is that there are no distribution or versioning issues as
there are if you use the ActiveX Month Calendar control. In other words this
is not an ActiveX control
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top