Check after removing "<link href='http://domainname/template/style1.css' rel='stylesheet ' type='text/css'/>" it seems that you have taken this code from somewhere and this css is not existing (it is just a dummy name), the browser may be trying to load the css before it load the page, as a result of that process (since it is trying to load a content that does not exist) it just hang.
Let me know if that helps.
Nirosh.
"Robin Zhang" <digitalhuman@h otmail.comwrote in message news:BF603139-55B5-4E6E-AAF1-F4BCD1DE10DF@mi crosoft.com...
Hi all,
I'm programing with WebBrowser to implement an browser of myself, problem found when I set html string like this->
webBrowser1.Doc umentText = "<html><head><t itle>xxxxx<titl e><link href='http://domainname/template/style1.css' rel='stylesheet ' type='text/css'/></head>some text<html>";
when the program executing, the browser control waitting here for something, progress bar is frozen, is there any sugguestion about this?
thanks and best reguards,
Robin
Let me know if that helps.
Nirosh.
"Robin Zhang" <digitalhuman@h otmail.comwrote in message news:BF603139-55B5-4E6E-AAF1-F4BCD1DE10DF@mi crosoft.com...
Hi all,
I'm programing with WebBrowser to implement an browser of myself, problem found when I set html string like this->
webBrowser1.Doc umentText = "<html><head><t itle>xxxxx<titl e><link href='http://domainname/template/style1.css' rel='stylesheet ' type='text/css'/></head>some text<html>";
when the program executing, the browser control waitting here for something, progress bar is frozen, is there any sugguestion about this?
thanks and best reguards,
Robin
Comment