Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IE 6 Object Model
Message
 
À
29/08/2001 13:22:05
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:
00550469
Vues:
15
This works for me:
oexplorer = CreateObject("internetexplorer.application")
oExplorer.Navigate("file://d:\westwind\webconnection\wcpricing.htm")
oExplorer.Visible = .T.
Your syntax is wrong...

+++ Rick ---

>> 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
>
>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.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform