Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel times out
Message
De
09/01/2005 18:23:45
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00975101
Message ID:
00975550
Vues:
13
>>One thing I noticed when handling oExcel is that the interface to it (and to browser object as well, not necessarily related to this) is quirky, at least. One thing that it doesn't like is going too deep in a hierarchy of reference. Some things like
>
>That has been my experience as well. And it seems to be that case for most automation (ie. Outlook, internet explorer, Word, Excel). Everytime you change level in the hierarchy make a reference to it. Here is perfect example, the internet explorer document property.
>
o = CREATEOBJECT('internetexplorer.application')
>o.Navigate2("www.microsoft.com")
>o.Document. && Nothing show up here
>
>And yet if you do this
>
>
o = CREATEOBJECT('internetexplorer.application')
>o.Navigate2("www.microsoft.com")
>oDoc=o.Document
>oDoc. && Now the properties show up
Exactly the same as I see it when I try it. Though, I never use that particular url :).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform