Click here to Skip to main content
15,879,474 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi

How do I fetch the URL address to the address bar in Internet explorer.

The URL can be retrieved from notepad, using c# or java script.
Posted
Updated 7-Sep-10 23:08pm
v2
Comments
Dalek Dave 8-Sep-10 5:09am    
Edited for Grammar and Syntax.

1 solution

// For Read a Text File
string sURLPath = System.IO.File.ReadAllText( path ); 

// For Call IE 
System.Diagnostics.Process process = new System.Diagnostics.Process();
process.StartInfo.UseShellExecute = true;
process.StartInfo.FileName = sURLPath;
process.Start();


Other Ans:

Its for Read a Text File into String

http://support.microsoft.com/kb/816149[^]

I hope this useful to you.

Cheers :)
 
Share this answer
 
Comments
Dalek Dave 8-Sep-10 6:05am    
Good Call.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900