Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLECalendar in _datetime vcx
Message
De
24/09/2003 15:19:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
OLECalendar in _datetime vcx
Divers
Thread ID:
00831976
Message ID:
00831976
Vues:
54
Hi I am creating a calendar control from _datetime vcx which in turns uses the mscomct2.ocx activeX control. I am including this ActiveX control in the home directory of my application; however, at certain computers when I try to instantiate the calendar object it tells me that the component is not registered. Can someone give me some hints how to go about registering activex components on the fly. below is the sample code used intantiate the calendar object. Again the mscomct2.ocx is included in the home directory of my application

oCalForm = Create('form')
oCalForm.NewObject("olecalendar","_olecalendar","_datetime")
IF VARTYPE(oCalForm.olecalendar) = "O"
oCalForm.oleCalendar.Visible = .T.
Endif
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform