Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS CAlendar Control in VFP 5.0a
Message
From
13/01/1999 09:24:50
 
 
To
07/01/1999 14:11:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00173466
Message ID:
00175410
Views:
33
>>I'm using the MS Calendar Control in my VFP 5.0a app - MSCAL.OCX. It says "MS Calendar Control 8.0" on the ActiveX controls toolbar when I add it to the form. On the properties sheet it says MS.Calendar.7.
>>
>>When I ship out my app to the user, using the SETUP wizard, I include MSCAL.OCX. On most of his machines, it works just fine (all Win NT 4.0, by the way). One ONE machine, when the calendar pops up, it is missing the month/year selector. I've had him manually copy a new version of MSCAL.OCX into the SYSTEM32 directory (and make sure there are no other MSCAL.OCX's floating around). Same problem.
>>
>>The other day, he installed NT on a new machine, and then installed my app - this machine also has the bad calendar control.
>>
>>Anyone know what might be going on? It LOOKS like I'm getting the wrong version of the calendar control. How does the system find these things? By the name? Or by some internal ID number? This is a real PITA, since I want to ship the app to a bunch of different sites, but the calendar control is a vital part of it, and I've got to figure out what is going and and fix it.
>>
>>Many thanks in advance for any insights you might have.
>>
>>Larry
>
>
>You are not alone. I too have had this problem. I even installed the latest BUGFIC from MS (servicepack) to no avail. I am sorry but this is only a sympathy email so you know you are not alone. I had to rewrite my program using a vfp class.
>
>Bernard


I found a solution to the problem, thanks to someone on the MS Foxpro news server. In the INIT of the calendar control, I had to set the properties I wanted (such as the month and year selectors and days of the week headings. I could not rely on having set them in the designer. Now it works fine.

Larry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform