FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to get the Text(url address) fro explorer?
Posts: 57
Joined: Sun Apr 12, 2009 10:51 AM
How to get the Text(url address) fro explorer?
Posted: Sat Apr 15, 2017 05:10 AM

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

Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: How to get the Text(url address) fro explorer?
Posted: Sat Apr 15, 2017 10:03 AM
Maybe there are some answers in this sample from Mr. Rao.

The program :

http://forums.fivetechsupport.com/viewtopic.php?f=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 23.08 with Harbour
Posts: 57
Joined: Sun Apr 12, 2009 10:51 AM
Re: How to get the Text(url address) fro explorer?
Posted: Sat Apr 15, 2017 02:05 PM

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

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: How to get the Text(url address) fro explorer?
Posted: Sat Apr 15, 2017 02:20 PM
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

Continue the discussion