Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to call Internet Explorer not using Activex?
Message
From
09/01/2002 21:27:37
 
 
To
09/01/2002 21:18:20
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00602810
Message ID:
00602820
Views:
22
Thanks, that works. Could you help me to know how to open a .TXT file in a similar fashion?

TIA

Luis



>Hi Luis,
>
>Start an instance of Internet Explorer:
>
>oIE = CreateObject("InternetExplorer.Application")  && Start an instance of Internet Explorer
>oIE.Visible = .T.                                   && Make the Internet Explorer application visible
>
>oIE.Navigate("http://www.levelextreme.com")      && Navigate to UniverslThread
>oIE.Navigate(""file:///c:/test.txt")                && Open a text file in the Internet Explorer application window
>
>
>>I'm trying to export files (.HTM, .XLS, .DOC, .TXT, .CSV),
>>I use GETOBJECT() with .XLS, .DOC, .CSV and it works fine but
>>what can I use to open IE with the .HTM file I also use
>>GETOBJECT() but I don't know how to make IE visible, can
>>someone tell me IE's object model? Besides that, I would like
>>to know a way to open the .TXT files?
>>
>>TIA
>>
>>LUIS
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform