Hello
I want to know how can i open multiple tabs in IE7 using C#. Following is my code but this code is opening 2 separate internet explorer windows.
I want to open 2 websites in same window but in 2 different tabs.
using
System;using
System.Collections.Generic;using
System.Text;using
SHDocVw;namespace
Internet_Explorer{
class Program{
static void Main(string[] args)
{
InternetExplorer ieExplorer1 = new InternetExplorer(); InternetExplorer ieExplorer2 = new InternetExplorer();
ieExplorer1.Visible = true;
ieExplorer2.Visible = true;
object x = null;
ieExplorer1.Navigate(@"http://www.google.com", ref x, ref x, ref x, ref x);
ieExplorer2.Navigate(@"http://www.blackle.com", ref x, ref x, ref x, ref x);
}
}
}