Results 1 to 3 of 3

Thread: How to get a new IE window to display in webrowser control instead?

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2009
    Posts
    36

    Question How to get a new IE window to display in webrowser control instead?

    A webrowser on my application visit a link on a website that creates a new window when clicked. I tried searching the answer online, but I keep bumping into old examples that uses C#

    How do I get the new window to load into my webbrowser instead with VB.NET?

  2. #2
    Wait... what? weirddemon's Avatar
    Join Date
    Jan 2009
    Location
    USA
    Posts
    3,826

    Re: How to get a new IE window to display in webrowser control instead?

    If it's in C#, it's likely that it can be almost directly converted to VB via free online tools.
    CodeBank contributions: Process Manager, Temp File Cleaner

    Quote Originally Posted by SJWhiteley
    "game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: How to get a new IE window to display in webrowser control instead?

    It can't be done with the .NET WebBrowser control, or at least I've never seen it done. Every reference I've seen requires you to use the old ActiveX Web Browser control and handle its NewWindow2 event. Search for that and you should find examples, probably on this very site.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width