Information générale
Catégorie:
Codage, syntaxe et commandes
>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
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