Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web browsing
Message
 
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00358389
Message ID:
00358538
Views:
13
Hi Ed,

Maybe I dont understand what you mean by "server."

Are you saying that to use the IE control you need a webserver or that you need to have the IE Automation Server (Internet Explorer) installed on your machine?

If you mean webserver, I think your statement is incorrect. Tools like Ken Levy's WebExplorer and ScreenX would not be as useful if that were true. I can drop an instance of the IE ActiveX Control (name it oIEControl) onto a form, drop a button on the form, and in the click of the button call:
thisform.oIeControl.Navigate("file:///c:/test.htm")
to view the htm file (assuming it was in the root of my c: drive) without a webserver running.

I am sure that you know that the Windows explorer (for those who have IE5 installed - maybe even IE4, I am not sure) is actually the IE control in disguise.

Rick

>>All I'm trying to do is to display an file (test.htm) that is located locally. I don't need a http connection or anything. Seems like I shouldn't need a server installed. What do i set the serverinstalled property to?
>
>You need a server. You don't have to believe me, but you'll be wrong. Very, very wrong. The WebBrowser Control is nothing more than an ActiveX controlk that talks to an out-of-process instance of internetexplorer.application - look and you'll get a clue.
>
>You can associate any of a number of servers for the file type htm through the registry HKEY_CLASSES_ROOT; no magic - it's the same mechanism as every other class association.
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform