Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveX Controls
Message
De
12/11/1998 14:42:03
Dave Emerson
Dc Emerson Consult8Ng, Inc
Destin, Floride, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00157070
Message ID:
00157103
Vues:
23
>>I have an application running on a network drive in which some forms have ActiveX controls, primarily the oleCaledar. In the Init event of the form I initialize the oldCalendar with "ThisForm.oleCalendar.Value = DATE()". When the form is activated on my users PCs, the error "Property VALUE not found" is displayed.
>>
>>Does anyone know what I have done wrong here? On the development PC I have never seen the error and the setup routine includes COMCTL32.OCX to be placed in the windows system directory.
>>
>>TIA
>Hi Dave,
>
>Are you using the MS Calendar control (which is MSCAL.OCX, BTW)? If I recall correctly, there were some problems with setting the .Value property. The workaround was to set the .Day, .Month, and .Year properties (at least that's how I did it). You can, however, retrieve the selected date with the .Value property.
>
>hth,

George,

I just looked a little closer at the OLEClass property and it is MSACAL.MSACALCtrl.7. I changed the initialization to what you recommended and that worked.

Now however, I still have some PCs which are getting the Open File Dialog. As I mentioned previously, I think it has something to do with the setup.

Dave
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform