Hi everyone,
I have an issue with axWebBrowser. The method axWebBrowser1_DocumentComplete is never reached and i don't understand why.
Basically, this is what I have:
private void buttonStart_Click(object sender, EventArgs e)
{
try {
...
axWebBrowser1.Navigate("http...");
return;
}
catch {...}
finally {}
}
private void axWebBrowser1_DocumentComplete(object sender, AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent e)
{
...
Console.WriteLine("ENTER HERE!");
}
When I launch the application, the page is loaded well, but ENTER HERE never appeared.
I even tried to put DownloadComplete instead of DocumentComplete but it's still not working.
I don't know what I'm doing wrong.
If you have any suggestions, please let me know.
Thanks a lot!
I have an issue with axWebBrowser. The method axWebBrowser1_DocumentComplete is never reached and i don't understand why.
Basically, this is what I have:
private void buttonStart_Click(object sender, EventArgs e)
{
try {
...
axWebBrowser1.Navigate("http...");
return;
}
catch {...}
finally {}
}
private void axWebBrowser1_DocumentComplete(object sender, AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent e)
{
...
Console.WriteLine("ENTER HERE!");
}
When I launch the application, the page is loaded well, but ENTER HERE never appeared.
I even tried to put DownloadComplete instead of DocumentComplete but it's still not working.
I don't know what I'm doing wrong.
If you have any suggestions, please let me know.
Thanks a lot!