|
-
Apr 14th, 2012, 08:28 AM
#6
Re: Prevent WebBrowser Control open external browser
All that extra code in your constructor should be in the Load event handler. You should never have data access code in a constructor.
Apart from that, I see that you have a call to Navigate in the DocumentCompleted event handler. After my telling you multiple times that it would be your code causing this window to open, have you tried checking whether it's that line doing it?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|