帮助一个奇怪的问题! webbrowser不再访问某些网站! [英] help a strange problem! webbrowser don't access some site again!
问题描述
这是一个奇怪的问题!
我使用网络浏览器控件(c#)访问一个网站,例如"a.b.c".
首先效果很好.在Web浏览器控件继续访问该网站以获取
后,
时间长了,它返回一个错误代码的意思是
我使用一些工具来检查连接超时"的网络状态.发现
webbrowser控件未访问网络(没有数据发送到网络).但是如果我使用
网络浏览器访问其他网站,例如"d.e.f".它运作良好.只有网站"a.b.c"不能
工作.
我已经将wininet.dll api(例如``DeleteUrlCacheGroup,DeleteUrlCacheEntryA'')用于
清除缓存,问题仍然发生.
thx!
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!
推荐答案
您尝试过wbBrwsr.Refresh();
实际上,您正在使用IE引擎在WebBrowser控件中呈现网页.使用普通IE浏览时是否会发生相同的事情?
did you trywbBrwsr.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 ?
这篇关于帮助一个奇怪的问题! webbrowser不再访问某些网站!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!