Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web Browser Control and Internet Explorer
Message
 
 
À
05/03/2010 08:54:56
Mike Sue-Ping
Cambridge, Ontario, Canada
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:
01452771
Message ID:
01452794
Vues:
105
This message has been marked as the solution to the initial question of the thread.
lcProgID = "Shell.Explorer.2"
#DEFINE HKEY_CLASSES_ROOT    -2147483648
 
loReg = NEWOBJECT("Registry", "registry.prg")
lcCLSID = loReg.ReadRegistryString(HKEY_CLASSES_ROOT, lcProgID + "\CLSID" , "")
lcActiveXFileName = loReg.ReadRegistryString(HKEY_CLASSES_ROOT, "CLSID\" + lcCLSID + "\InprocServer32" , "")

DIMENSION laVerInfo[1]
AGETFILEVERSION(laVerInfo, lcActiveXFileName)  

? laVerInfo[11]
The code is based on http://www.berezniker.com/content/pages/visual-foxpro/verify-activex-presence-and-registration

>I've been using the web browser activeX control on a VFP form with good results and was wondering how it is related to versions of Internet Explorer.
>
>If one computer has IE6 and another has IE8, are the two computers using different versions of the web browser control when I run my form? Is there a way to determine that?
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform