Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web Browser Control and Internet Explorer
Message
From
05/03/2010 09:28:59
 
 
To
05/03/2010 08:54:56
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01452771
Message ID:
01452794
Views:
103
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform