Calendar.ocx

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, we have applications that are in more than one version of Access (from 97
through to 2002). These applicatons use the same Calendar control version 8
(regardless of the version of MS Access that is installed on the user's PC).

The problem is that on one pc the calendar will show date labels, yet on
another pc the same application will have the calendar control that cannot
fit the date labels. This is because on one pc the date label shows M T W T F
S S whilst the other displays Monday Tuesday, ..., Sunday. When trying to
force the first day of the week to Monday, on one pc the setting is
firstdayofweek=1 and on another firstdayofweek=2.

Why is this happening? More importantly how do we resolve this problem so
that we can use calendar controls regardless of the version of MS Access?
 
Doug, thanks for your suggestion (and thanks Stephen Lebans).

In some instances we have a calendar control embeded within a form. I'll
have to experiment with Stephen's api.... but do you know whether this can be
done with Stephen's calendar?

Another question regarding mscal.ocx is there a way in the current version
to show only short day titles (this seems to have been removed)?

--
Many thanks
Jonathan Parminter


Douglas J Steele said:
Do all machines have the same Regional Settings and Display properties
(especially Normal vs. Large fonts)?

My advice would be to scrap the OCX, and use the all-API approach Stephen
Lebans has at http://www.lebans.com/monthcalendar.htm
 
To be honest, I wasn't aware that you could embed the OCX in a form!

AFAIK, the API approach is strictly a dialog.

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)



Jonathan said:
Doug, thanks for your suggestion (and thanks Stephen Lebans).

In some instances we have a calendar control embeded within a form. I'll
have to experiment with Stephen's api.... but do you know whether this can
be
done with Stephen's calendar?

Another question regarding mscal.ocx is there a way in the current version
to show only short day titles (this seems to have been removed)?
 

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

Back
Top