Hi,
i work with C#.
how to get Internet Explorer address bar information? When i`m type in to address bar e.g. http://www.google.com, i want to get message with the same URL
e.g. Welcome to http://www.google.com How to get this?
foreach (InternetExplorer ie in new ShellWindowsClass())
{
string url = ie.LocationURL;
MessageBox.Show("Welcome to" + url, "Welcome", MessageBoxButtons.OK,
MessageBoxIcon.Information);
}
This code does not work correctly. I get info about open directory e.g. C:/User/...
Can anyone help me?