Click here to Skip to main content
15,888,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I have a windows form application that uses WebBrowser control. On windows XP machine when a user logs in as Administrator then the DocumentComplete event gets fired but if a user logs in as Limited/Power user then DocumentComplete does not get fired.

I think there may be some library that needs permission or some setting issue. Please advice!

Menaka
Posted

1 solution

Not true. DocumentComplete fires on my machine not matter who I'm logged in as or what permissions I have. DocumentComplete will fire for each page that finishes loading in the entire request, including the Frame page and each page that populates the frames.

It's entirely possible the browser is still waiting for the end of the page to show up.

Now, this is assuming that the web browser control is Visible = True. If that value is False, DocumentComplete never fires.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900