A question on Web Browser Control
-
Web browser control's Navigate and Navigate2 methods look for either a file on a web server or a local file(htm) on the application root. Is there a possibility to use this by passing a html fragment( say <h2>Hello</h2>) to it? Simple trial shows you get an Action Cancelled web page with no HTTP errors(possibly it's not http).
-
Web browser control's Navigate and Navigate2 methods look for either a file on a web server or a local file(htm) on the application root. Is there a possibility to use this by passing a html fragment( say <h2>Hello</h2>) to it? Simple trial shows you get an Action Cancelled web page with no HTTP errors(possibly it's not http).
I found the easiest way was just to create a temp file and navigate to it then delete it. Changing .DocumentText dosn't work except the first time you use it. Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).
-
I found the easiest way was just to create a temp file and navigate to it then delete it. Changing .DocumentText dosn't work except the first time you use it. Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).
-
Web browser control's Navigate and Navigate2 methods look for either a file on a web server or a local file(htm) on the application root. Is there a possibility to use this by passing a html fragment( say <h2>Hello</h2>) to it? Simple trial shows you get an Action Cancelled web page with no HTTP errors(possibly it's not http).
-
I use this to replace the web browser control, in case your interested. Tim Anderson's ITWriting http://itwriting.com/htmleditor/[^] progload