Change the address bar of ineternet explorer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi EveryBody:

How can I use win32 api to change the address bar of internet explorer;
for example if i want to change the address bar from http://www.msn.cm/ to
http://www.yahoo.com/, how can I do that, is there any function like
sendmessage can handle this ?

any help will be appreciated

regard's

Husam
 
Do you mean change the Homepage?

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main

HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main

Change:

'Start Page' to the URL you wish

-----------------------------------------------------------------------------

Another way if you want to open a webpage is to do this:

System.Diagnostics.Process.Start("Http://msdn.microsoft.com.htm")

I hope these help
 
Back
Top