Page 1 of 1

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

Posted: Sat Apr 15, 2017 5:10 am
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

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

Posted: Sat Apr 15, 2017 10:03 am
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

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

Posted: Sat Apr 15, 2017 2:05 pm
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

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

Posted: Sat Apr 15, 2017 2:20 pm
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.