1
Webbrowser is running on Visual Studio’s Iisexpress, but not working on Windows ISS.
I run this code after creating the Thread SetApartmentState(ApartmentState.STA)
try
{
//BrowserValidate.FixBrowserVersion();
webBet = new WebBrowser();
webBet.DocumentCompleted += webBet_DocumentCompleted;
webBet.Navigate("https://www.site.com");
Application.Run();
}
catch (Exception)
{
}
And what is the error presented?
– Leandro Angelo
So @Leandroangelo he has no error, just does not perform anything after Application.Run(); in theory he should call my Documentcompleted method, not even fall into the method. thanks in advance for the help.
– ARGN_