Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changed syntax?
Message
De
26/06/2008 05:29:29
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01326848
Message ID:
01326850
Vues:
11
>>In some older threads it was suggested to use the syntax lox=GetObject(,"InternetExplorer.Application") to get an object reference to a running IE. However, with VFP9 and IE7 this line reports an error, OLE error code ox800401e3: Operation unavailable. Can anyone help me?
>
>TRY
>   lox=GetObject(,"InternetExplorer.Application")
>   ? [Get]
>CATCH
>   lox=CreateObject("InternetExplorer.Application")
>   ? [Create]
>ENDTRY
>
That was what I wanted to implement, but since the getobject() fails instead of finding the already running IE, I always end up with a new instance.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform