How to get the Text(url address) fro explorer?

Post Reply
User avatar
kim yong woo
Posts: 55
Joined: Sun Apr 12, 2009 10:51 am
Location: Seoul, Korea
Contact:

How to get the Text(url address) fro explorer?

Post by kim yong woo »

Dear Sirs,

I wish to control internet explorer (or Chrome ) with Fivewin(Harbour/xHarbour), so, how to know whether followings are possible.
1.get the url Address from currently active explorer(or chrome).
2.input new url address (by fivewin prg) into currently active explorer(or chrome).
3.let the explorer(or chrome) to move to new url address
4.Get the contents from browser.

** I've tried to use ActiveX to achieve the above target, but, found there are many webpages which do not allow active-X.
So, I hope to be able to control Explorer(or chrome, or any aother browser).

Please inform me whether this is possible.

Thanks.

Y.W.Kim
User avatar
Marc Venken
Posts: 727
Joined: Tue Jun 14, 2016 7:51 am

Re: How to get the Text(url address) fro explorer?

Post by Marc Venken »

Maybe there are some answers in this sample from Mr. Rao.

The program :

http://forums.fivetechsupport.com/viewt ... =3&t=33496

Opens browser
connect to a website (this forum)
read the content with some parameters
Puts some content into a dbf
and this for as many pages you like.

Maybe some lines of code can get started.

Marc
Marc Venken
Using: FWH 20.08 with Harbour
User avatar
kim yong woo
Posts: 55
Joined: Sun Apr 12, 2009 10:51 am
Location: Seoul, Korea
Contact:

Re: How to get the Text(url address) fro explorer?

Post by kim yong woo »

Thanks! Mr.Marc Venken,

I've tried with source on the board you have mentioned.

But, found Fivewin error message as followings.

"Error: Unresolved external '_HB_FUN_WEBPAGECONTENTS' referenced from E:\FWH\FWH32\SAMPLES\FWDOWN.OBJ"

Since I am a pharmacist(not professional programmer), I have not updated Fivewin. (I am using "Fivewin for Harbour 15.05", 2015. June version).

Can I know "WEBPAGECONTENTS'" function was developed recently?

Thanks.

Y.W.Kim
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: How to get the Text(url address) fro explorer?

Post by nageswaragunupudi »

Can I know "WEBPAGECONTENTS'" function was developed recently?
Yes, recently.

Still, I do not think that is going to help you for what you are looking for.
Regards

G. N. Rao.
Hyderabad, India
Post Reply