i'm using the following code to open site in internet explorer
ProcessStartInfo startInfo = new ProcessStartInfo
{
Arguments = "http://www.mysite.com",
FileName = "C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe",
RedirectStandardInput = true,
UseShellExecute = false
};
System.Diagnostics.Process process = System.Diagnostics.Process.Start(startInfo);
How can i open my site in a new tab not a new browser considering that there is a browser already opened???
Well,
We are Building an application where the user can use 2 options:
1-Using the default browser.
2- use one of the following browsers: IE,Google Chrome and Firefox (for now).
and after choosing wich browser whant to use in his application, he must choose if he want to open the requested page in a new window or in a new tab.
for exemple: if he choosed IE with new tab option, so the system will try to find the last page opened by the program and refresh it if exist, and if not he will open it in a new tab.
Concerning the IE browser i think that EricLaw -MSFT helped me to found a way to open a new tab and a new window, i still have to know how can i get an opened tab (already opened by my program) and refresh in need.
I still have to do the same for Firefox and Google Chrome.
Thanks for your answers, and sorry again for my bad english :)