Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IE 6 Object Model
Message
 
To
29/08/2001 13:22:05
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00550403
Message ID:
00550469
Views:
16
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform