AxWebBrowser questions

  • Thread starter Thread starter Nick Howard
  • Start date Start date
N

Nick Howard

Hello,

I hope these questions aren't too terribly dumb. I'm
using a AxWebBrowser control in a C# app to display html
to the user. I create the html on the fly. Is it possible
to pass AxWebBrowser a string of html to display instead
of a filename?

One other question. I will have links on the pages that I
create dynamically. The links will need to take the user
to another dynamically created page. Any thoughts on how
I should do that? What I would like to do is parse what
the querystring parameters are and then create a new
dynamic html string.

Thanks for any help, I really appreciate it.

Thanks,
Nick
 
<ciach>

System.Object nullObject = 0;
string str = "";
System.Object nullObjStr = str;
Cursor.Current = Cursors.WaitCursor;
axWebBrowser1.Navigate("about:<html><body><p>dupa</p></body></html>", ref
nullObject, ref nullObjStr, ref nullObjStr, ref nullObjStr);
Cursor.Current = Cursors.Default;

pozdrawiam

Przemek Sulikowski
 
Thank you very much for your help. Pardon my ignorance,
but what is the "about:" command? Thanks again for your
help.

Regards,
Nick
 
Back
Top