Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IE 6 Object Model
Message
De
29/08/2001 15:12:43
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00550403
Message ID:
00550512
Vues:
15
Rick-

Jim said:
>>> The following code doesn't work from VB or VFP.
>>
>>The code you posted is VB. Of course it wouldn't work in VFP, right?
>>
>>>Set oexplorer = CreateObject("internetexplorer.application")
>>>oexplorer.navigate = "File://" & CurDir & "\Help\index.html"
>>>oexplorer.Visible = True
>>

I said:

>>You need something like:
>>
>>LOCAL oe
>>oe = CREATEOBJECT("InternetExplorer.Application")
>>oe.navigate("File://" + CurDir() + "\Help\index.html") && Assuming CurDir() doesn't have a space.
>>oe.visible = .t.


You said:

>This works for me:
>
>
>oexplorer = CreateObject("internetexplorer.application")
>oExplorer.Navigate("file://d:\westwind\webconnection\wcpricing.htm")
>oExplorer.Visible = .T.
>
>
>Your syntax is wrong...

I'm not sure what part of my syntax you're refering to as wrong. Seems we're saying the same thing?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform