Connecting Tech Pros Worldwide Forums | Help | Site Map

ActiveX Calendar control

Devonish
Guest
 
Posts: n/a
#1: Nov 12 '05
I am developing a database using Windows 2000/Office 2000 which then
runs on a client's system which uses Windows XP/Office XP

In a form I have an ActiveX Calendar control which works well. When I
run this program on the XP machine the Calendar control appears
different. The FirstDay has changed from Monday to Tuesday and the
DayLength has changed from a single letter e.g. M T W T F to 3 letter
e.g.
Mon Tue Wed

The second is irritating but the first is really annoying.

It would appear that the control under XP is diferent from that under
2000

Is there any way in which I can copy the 2000 version (I think that it
is in
mscal.ocx) to the XP machines? If so in which folder do I place it and
how do I get the program to use it?



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Mike Krous
Guest
 
Posts: n/a
#2: Nov 12 '05

re: ActiveX Calendar control


Are you using Microsoft Calendar Control? if you are there is a property
..FirstDay which is looking for an integer to determine the first day of the
week (1= sun ...7=sat). I did a quick test and noticed that I could make
the calendar control change on start-up to Tues or Mon or whatever I wanted.
Even if you are not using Microsoft's control, I bet the control you are
using has something similar and maybe you could change your code to force a
'First-Day-of-Week' before the user sees it. Also the .DayLength property
determines the length of the day headers from 'M' to 'Mon' to 'Monday'. I
bet whatever control your using has some properties for you to work with and
a little code in the activate, open or load event should do the trick for
ya, just take ya a little experimenting..

HTH

Mike Krous

"Devonish" <no.spam@nowhere.com> wrote in message
news:3fb21e9c$0$199$75868355@news.frii.net...[color=blue]
> I am developing a database using Windows 2000/Office 2000 which then
> runs on a client's system which uses Windows XP/Office XP
>
> In a form I have an ActiveX Calendar control which works well. When I
> run this program on the XP machine the Calendar control appears
> different. The FirstDay has changed from Monday to Tuesday and the
> DayLength has changed from a single letter e.g. M T W T F to 3 letter
> e.g.
> Mon Tue Wed
>
> The second is irritating but the first is really annoying.
>
> It would appear that the control under XP is diferent from that under
> 2000
>
> Is there any way in which I can copy the 2000 version (I think that it
> is in
> mscal.ocx) to the XP machines? If so in which folder do I place it and
> how do I get the program to use it?
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it![/color]


Closed Thread