Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use ActiveX control without registering?
Message
De
10/10/2011 15:47:19
Joel Leach
Memorial Business Systems, Inc.
Tennessie, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01525987
Message ID:
01525992
Vues:
73
>>I thought I read somewhere (VFP Help?) that you could use an ActiveX control without registering it as long as the OCX file is in the current directory. I can't find that statement now. Anyone know if that is correct?
>>
>
>It's not that simple. You have to use application manifest file to "register" it for your application http://msdn.microsoft.com/en-us/library/ms973913.aspx.

I did some testing, and this is what I'm seeing: If an ActiveX control is not registered and VFP can find the OCX file, VFP will register it for you. In Windows Vista/7, this means you have to run VFP as admin. Not what I was hoping for, but this must be what I read before.
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform