Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Registering Controls from inside VFP
Message
De
31/03/2001 08:21:08
 
 
À
31/03/2001 07:34:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00490297
Message ID:
00490573
Vues:
8
I am a little late with my advices, Paul Vlad Tatavu has already added such entry in FAQ.


>Nadya,
>
>OK, I will check the FAQ section and place my advices if something like that is not already there.
>
>Alex
>
>>Alexander,
>>
>>If there is no FAQ on this topic already, please, place both your advices into the FAQ section.
>>
>>>I just got an idea, if a control (DLL or OCX) has function to register itself, why do not call it directly?
>>>

>>>* just to handle errors
>>>lSuccess = .T.
>>>nResult = 0
>>>On Error lSuccess = .F.
>>>Declare Integer DllRegisterServer In SomeDLLorOCX
>>>nResult = DllRegisterServer()
>>>On Error
>>>Clear DLLs
>>>If m.lSuccess And m.nResult = 0
>>> && we have it sucessfully registered
>>>Else
>>> && it may be no ActiveX control or some other problem
>>>EndIf
>>>

>>>The same way, but using DllUnregisterServer, we may unregister control, remove entries created through DllRegisterServer.
>>>
>>>Alex
>>>
>>>P.S.
>>>Maybe post this idea to FAQ?
>>>
>>>>Is there a way inside VFP (preferably without the RUN command) to determine if a control (DLL or OCX) has been registered, and if not register it?
>>>>
>>>>Bryan A. Jackson
>>>>FOCUS CMC
Alex
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform