Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Browser Control
Message
From
13/02/2004 03:13:07
 
 
To
13/02/2004 01:51:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00876338
Message ID:
00876998
Views:
12
>Another related question - is there a way that I can test whether the user has the browser control installed or not before I call my form with the control on it?

You could either try to
local loIE
loIE = createobject("InternetExplorer.Application")
if !vartype(m.loIE)=="O" or Isnull(m.loIE)
Wait Wind "You don't have IE on your machine and cannot run my App!"
endif

or scan the registry.

Problem with approach 1: not very speedy
Problem with approach 2: not sure if entries in the registry are perhaps only "left overs".
Still, veryfiying the key for "InternetExplorer.Application" should be faster than
doing a createobject.

HTH

thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform