Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check if object exists
Message
From
26/06/2002 04:21:37
 
 
To
26/06/2002 04:16:31
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00672350
Message ID:
00672352
Views:
9
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
Previous
Reply
Map
View

Click here to load this message in the networking platform