Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IE 6 Object Model
Message
From
29/08/2001 15:25:58
 
 
To
29/08/2001 15:12:43
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00550403
Message ID:
00550518
Views:
14
Nancy maybe you need
oe.navigate("File://" + sys(5)+CurDir() + "Help\index.html") 
instead of
oe.navigate("File://" + CurDir() + "\Help\index.html")
Glenn

>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform