Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
I am developing an application in which I need to list all the URL's in the browsers which are currently open.Also I need to count the number of web browsers which are currently open.How do I do that.Do I have to use System.Net namespace or System.Web namespace?
Posted
I am developing an application in which I need to list all the URL's in the browsers which are currently open.Also I need to count the number of web browsers which are currently open.How do I do that.Do I have to use System.Net namespace or System.Web namespace?

 

Which browser are you trying to get the URL's from? Also, for instance using IE, do you need the history of urls for that instance of IE or just the current one in the open IE windows?

 

I am new to .NET so I am not sure about the namespaces to do that. I rely on API. What I would do, is make a enumerator and go through all the current open windows. Find all the windows with classname cls_Name where cls_Name could be the classname of IE,Netscape,Opera,Firefox, etc. Then find the combobox which holds the url and finally a sendmessage to tranfer the data. I am sure there is an easier more reliable and proficient way, but again I am not used to .NET

-Sean

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...