Displaying a stored webpage in a windows form

  • Thread starter Thread starter freddy
  • Start date Start date
F

freddy

I want to display a webpage that I have in a string. which
control should i use to do this?, or how can i acomplish
this?
 
Try putting an AxWebBrowser control on your form, and then perhaps loading a
blank HTML file and manipulating that HTML by doing something like setting
the innerHTML of the BODY tag to your string. Have a search on google about
the browser control anyway.
 
Hugh said:
Try putting an AxWebBrowser control on your form, and then perhaps loading a
blank HTML file and manipulating that HTML by doing something like setting
the innerHTML of the BODY tag to your string. Have a search on google about
the browser control anyway.
Or expose an IDispatch out of your form, set that to the window.external
pointer. After that, you can write any sort of script in a generic
HTML page which will allow you to do such stuff as doing..
document.write (window.external.MyHTML).. :)
 
Back
Top