Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
An ActiveX Control for Displaying HTML?
Message
 
 
To
14/07/2003 11:51:10
Eric Sedlacek
TTSS Interactive Products
Rockville, Maryland, United States
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00809853
Message ID:
00809915
Views:
26
Eric,

The MS Webbrowser ActiveX control should do you just fine. You can call it's Navigate() method to direct it to a URL or file.

If you want to write the HTML into the control do something like:
with thisform.OIE
   .Navigate( "about:blank" )
   oDoc = .Document
   oDoc.write( "<html><body>Test</body></html>" )
endwith
>Is there an ActiveX control that can be used to display an HTML page? I ask because I want to have a form where I display an HTML page in one quadrant of the form. So I need a sizable box in which I can display the contents of the page.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform