Information générale
Catégorie:
Contrôles ActiveX en VFP
>Hi Ed,
> <>>> Could you either post the code for me or give me the date and section and I'll find the message. Thanks.
> I'm interested to know about the System vs. System32 subdirectory because if an OCX is missing, I will need to register it via program code. I believe that in order to do that, I have to place the ocx file into the appropriate subdirectory. So I need to know which is the appropriate subdirectory--System or System32. It's confusing because there are ocx's in both.
> Also, as per Doug Hennig, if an OCX is not registered, I have to check for the situation where the ocx physically exists but is not registered, so I have to know where to look for it.
> Thanks, Chaim
Chaim:
This is one of the things i've been meaing to do as well but haven't gotten around to yet...
I noticed that if you use the component gallery that you can load a list of the currently registered active-x controls on a workstation.
So when i have a chance, (or when hell freezes over!), I'm going to take apart the code (which comes with VFP now!) and see how they "walk the registry" to get the registered controls from it.
It's in your \program files\microsoft visual studio\vfp98\gallery directory within the Vfpglry.vcx class library.
If you (or anyone else) get a chance to dig though the code please post something usefull for the rest of us to play with as well.
hth
scott
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement