![]() |
![]() |
![]() |
Date format problems with MSCAL.OCX on Windows XP One of my apps that runs on a fresh XP box (without any Service Pack installed on it) displays the first three characters of day names as in Mon for Monday, Tue for Tuesday and so on in the Microsoft Calender Control (MSCAL.OCX). This is against the format being mentioned in the relevant OCX property to hold only one letter day names (as in M for Monday, T for Tuesday etc.) The same EXE when running on another XP machine without any SP (but with a few hot fixes) displays the first letter of the day names in the control, which is how we want them to appear. The DateFormat property for the OCX is set to ShortDate. It is the same EXE that runs on the two machines with different results.
Sathyaish Chakravarthy
Please see pic attached.
Sathyaish Chakravarthy
Sorry, I don't know the answer to your question but I'm curious as to what you designed that nice looking application in?
Curious
does the regional settings of both xp are the same?
>Are regional settings the same?
Sathyaish Chakravarthy
Plain VB, with Win32 (bitblt, drawtext wherever I could to minimize memory consumption due to the extravagant usage of memory by the PictureBox control, and other container, windowed controls) to whatever extent possible.
Sathyaish Chakravarthy
Different versions of MSCAL.OCX are installed by various versions of Office and Access, as well as various Visual Studio compilers. You may want to check whether the same version of MSCAL.OCX is on both systems. Also, I thought the property that affected this in the calendar control was "Day Length" which you can set to Short, Medium, or Long.
Philip Dickerson
Sathyaish Chakravarthy,
|