winform - open up a NEW default browser window

  • Thread starter thomasamillergoogle
  • Start date
T

thomasamillergoogle

Currently my app is doing

System.Diagnostics.Process.Start("http://www.yahoo.com");

this successfully launches a browser window but it RE-USES an existing
window if there is an existing window! Sometimes the existing window is
NOT resizeable because it is a pop-up ad.

So even if my users have a bunch of javascript pop-up ads that are not
resizeable, I want my C# code to launch a new browser window in a new
process. I don't want it to reuse existing windows.
I have seen several apps do this. for example the yahoo IM client.
 
C

Cor Ligthert

In addition to Chris,

What you use now is for every (default) browser, the sample for Chris only
for IE.

This problem is largely discussed in the newsgroup language.vb, there was no
other answer found than the one Chris shows now for opening a new window.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top