How to get the URL address? 
Author Message
 How to get the URL address?

Hi everyone,

I want to catch the URL address from my VB application if there was a web
browser open.

Thanks in advance.

Yitong



Mon, 21 Jan 2002 03:00:00 GMT  
 How to get the URL address?
Hi Mattias,

Thanks for your help. Actually I want let the application to be browser
independent, so maybe at first I need to determine what kind of browser is
used and then catch the URLs. If I couldn't do browser independent, the more
kinds of browsers I can catch, the better it will be.

Thanks again.

I am looking forward to your help.

Yitong


Quote:


> >Hi everyone,

> >I want to catch the URL address from my VB application if there was a web
> >browser open.

> >Thanks in advance.

> >Yitong

> Yitong,

> That really depends on the users choice of webbrowser. Personally, I
> currently have 4 Netscape and 2 IE windows open, all with different
> URLs. How would you decide which one you want to get?

> Mattias

> ________________________________________________
> Mattias "BeeZo" Sj?gren

> http://home1.2.sbbs.se/mattias.sjogren/sw/



Mon, 21 Jan 2002 03:00:00 GMT  
 How to get the URL address?


Quote:
>Hi everyone,

>I want to catch the URL address from my VB application if there was a web
>browser open.

>Thanks in advance.

>Yitong

Yitong,

That really depends on the users choice of webbrowser. Personally, I
currently have 4 Netscape and 2 IE windows open, all with different
URLs. How would you decide which one you want to get?

Mattias

________________________________________________
Mattias "BeeZo" Sj?gren

http://home1.2.sbbs.se/mattias.sjogren/sw/



Tue, 22 Jan 2002 03:00:00 GMT  
 How to get the URL address?
The best way is to enumerate your windows...get the classes of the more popular
web browsers...and check the class of each window against your list...most of my
advice is possible, yet theoretical and a code snippet is at best in the
works...once you've found a browser, simply use FindWindowEx to retrieve the
child containing the text, get the text, and that is your web site
Quote:

> Hi Mattias,

> Thanks for your help. Actually I want let the application to be browser
> independent, so maybe at first I need to determine what kind of browser is
> used and then catch the URLs. If I couldn't do browser independent, the more
> kinds of browsers I can catch, the better it will be.

> Thanks again.

> I am looking forward to your help.

> Yitong





> > >Hi everyone,

> > >I want to catch the URL address from my VB application if there was a web
> > >browser open.

> > >Thanks in advance.

> > >Yitong

> > Yitong,

> > That really depends on the users choice of webbrowser. Personally, I
> > currently have 4 Netscape and 2 IE windows open, all with different
> > URLs. How would you decide which one you want to get?

> > Mattias

> > ________________________________________________
> > Mattias "BeeZo" Sj?gren

> > http://home1.2.sbbs.se/mattias.sjogren/sw/



Tue, 29 Jan 2002 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. getting the url address in vb

2. URL, Getting the url using asp

3. getting address from the address book

4. Getting addresses out of Lotus Notes Address Book

5. Getting the ip address based on the MAC Address

6. Getting a machine's MAC address given a NETBIOS machine name or IP address

7. Restrict access via code to URL Address link in IE5 or IE55

8. Restricting a Link to a specific URL Address in code

9. Grab IE Address Bar url

10. how do you mask a URL address ?

11. url address

12. URL in address bar

 

 
Powered by phpBB® Forum Software