using System;

using System.Windows.Forms;

using SHDocVw;

namespace WindowsApplication35


...{

public partial class Form1 : Form


...{

public Form1()


...{

InitializeComponent();

}

private void Form1_Load(object sender, EventArgs e)


...{

ShellWindowsClass shellWindows = new ShellWindowsClass();

foreach (InternetExplorer IE in shellWindows)


...{

string filename = System.IO.Path.GetFileNameWithoutExtension(IE.FullName).ToLower();


if (filename.Equals("IExplore"))


...{

Console.WriteLine(IE.LocationURL);

}

}

}


}

}