Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check if object exists
Message
De
26/06/2002 04:21:37
 
 
À
26/06/2002 04:16:31
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00672350
Message ID:
00672352
Vues:
8
PLEASE IGNORE! HAVE FOUND PROBLEM.

KEV

>Hi
>
>I have a method that "attempts" to check if IE is installed on a user's PC, here is my code:
>
>
*--------------------------------------------------------------
>*Method	: InternetExplorerInstalled
>*Author	: Kevin Lawrence
>*Date	: 04/12/2001
>*--------------------------------------------------------------
>*Desc	: Checks for install of Internet Explorer
>*--------------------------------------------------------------
>LOCAL loIe, llError
>
>*Turn off error trapping
>ON ERROR llError = .T.
>loIe = CREATEOBJECT("InternetExplorer.Application")
>loIe.Quit()
>ON ERROR
>
>RETURN (llError = .F.)
>
>This works fine from the commandline, but if it can't find the object when run in my compiled application it produces an error of "InternetExplorer.Application" class not found!
>
>Is there another way to check if an App like IE is installed.
>
>Thanks
>Kev
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform