c# - The WebBrowser very slow in server from the second times calling -
when call navigatefrombrowser() first time, return fast, if called again, slowly, , timeout. btw, issue happens in windows server, , doesn't happen in windows client such win7.please advice why happens.
private void navigatefrombrowser() { using (var wb = new webbrowser()) { wb.width = width; wb.height = height; wb.scrollbarsenabled = false; wb.navigate(_url); while (wb.readystate != webbrowserreadystate.complete) { application.doevents(); } } }
Comments
Post a Comment