I use the following code to open a site in Internet Explorer
ProcessStartInfo startInfo = new ProcessStartInfo { Arguments = "http://www.example.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 in a new browser, given that the browser is already open?
Well,
We are creating an application in which the user can use 2 options:
1 - Use the default browser.
2- use one of the following browsers: IE, Google Chrome and Firefox (for now).
and after choosing which browser he wants to use in his application, he must choose whether he wants to open the requested page in a new window or in a new tab.
for example: if he selects IE with a new tab, the system will try to find the last page opened by the program and refresh it if it exists, and if not, it will open it in a new tab.
Regarding the IE browser, I think EricLaw -MSFT helped me find a way to open a new tab and a new window, I still need to know how I can open an open tab (already open by my program) and update in need.
I still have to do the same for Firefox and Google Chrome.
Thanks for your answers and sorry for my bad english :)
source share