|
Rank: Newbie Groups: Member
Joined: 4/1/2020 Posts: 7
|
Hallo support,
is it possible to avoid the slow start performance?
When we initialize the WebBrowser Control the first time it needs nearly 1.9 seconds until the control is displayed. When we initialize the WebBrowser Control in a Thread (the control is not visible) nothing changes. When we initialize the WebBrowser Control in a Thread (the control is visible) the performance is better.
Is there an easy way to avoid the slow start performance (without make the control visible)?
Thanks for your support Best regards Life Science Development
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi, You can use a ThreadRunner to create the WebView in the background: https://www.essentialobjects.com/doc/webbrowser/start/webview_no_ui.aspxThe WebView you created will not be used --- it's just that creating this WebView would initialize the browser engine, which is what takes time. So as long as this WebView has been created, the next time when you create the real WebView to use it would be a lot faster. Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 4/1/2020 Posts: 7
|
Hi eo_support,
thank you for your prompt reply. That is what we searched for.
Best regards Life Science Development
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Great! Please feel free to let us know if there is anything else.
|
|