Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Its a strange problem!

I use a webbrowser control(c#) to access one site like 'a.b.c'.

It first work well. after the webbrowser control continue to acces the site for a

long time,It return an errorcode mean

"connection timeout" I use some tool to check its net status.and I found that the

webbrowser control did not access the net (no data send to the net). but if I use the

webbrowser to someother site like 'd.e.f'. it work well. only the site 'a.b.c' can't

work.

I have used wininet.dll api like 'DeleteUrlCacheGroup,DeleteUrlCacheEntryA' to
clear cache,The problem still happened.

somebody know what's wrong?thx!
Posted
Comments
gxtiou 11-Sep-10 23:35pm    
help!
Abhinav S 12-Sep-10 12:54pm    
It could just be site traffic to "a,b,c"?

1 solution

did you try wbBrwsr.Refresh();

Actually you are using the IE engine to render the webpage in your WebBrowser control. Does the same thing happens when you browse using normal IE ?
 
Share this answer
 
Comments
gxtiou 13-Sep-10 23:54pm    
I did not try wbBrwsr.Refresh(); I access many pages under the site. all did not work,no data send to the net.

the same thing did not happen when using normal IE .
thx!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900