FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Mr. Rao's samples collection.
Posts: 218
Joined: Mon Feb 07, 2022 09:54 PM
Re: Mr. Rao's samples collection.
Posted: Tue Jun 28, 2022 08:09 AM

Thanks again, Marc.
I appreciate your advice.

Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: Mr. Rao's samples collection.
Posted: Fri Aug 05, 2022 04:32 AM
hi Otto,
Otto wrote:
I made a test with the forum.prg changing the link against the German x_b_a_s_e Forum.
It is working fine.

there are not Source in Forum10.ZIP.
where can i get Forum.PRG :-)

btw. how to Download Forum WebPage :-)
greeting,

Jimmy
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Mr. Rao's samples collection.
Posted: Fri Aug 05, 2022 01:53 PM
Hi Jimmy,
do you mean this sample?

https://mybergland.com/fwforum/forum.zip

Best regards,
Otto
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Mr. Rao's samples collection.
Posted: Fri Aug 05, 2022 10:12 PM

I think this utility would be very helpful, but it is somewhat confusing on how to use it.

I would like to download ALL samples, to the current ones, and be able to search for a keyword.

For example, I would like to see recent RTF ( Rich Text Formatting ) samples.

1). How do I download ALL samples ?
2). How do I then search for the keyword. I put it in the field but see no button to activate the search.

I know this is from an old post that just resurfaced, but I think it could be very helpful.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: Mr. Rao's samples collection.
Posted: Fri Aug 05, 2022 11:08 PM

hi Tim,

i have exact same "Problem" to find out how the Tool work.

i have download from 1 - 40000, which take about 6 Hour using
Radio-Button "Flag" English = 3 and "Sample1"

now Sample1.DBF is "filled" but how to use Sample2.DBF :?:
when press "Forum Update" it "seems" always to go into Sample1.DBF

btw. Default are "new" which mean ZAP before begin ... i recommend "Append" as Default


IF i store hole Website how to display HTML (not using Browser) in App :?:


IF Website have a Attachment (not allowed in FiveWin Forum) how to detect :?:


when i want to "close" App using ALT-F4 it begin to delete Entry ... what is App doing ... :o

greeting,

Jimmy
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: Mr. Rao's samples collection.
Posted: Fri Aug 05, 2022 11:11 PM
hi Otto,
Otto wrote:do you mean this sample?
https://mybergland.com/fwforum/forum.zip

YES,
Thx for File

Code (fw): Select all Collapse
cText := WebPageContents( cPageUrl, .t. )

where is WebPageContents() come from :-)

can u use CURL instead to download Webpage :-) (if Yes how under FiveWin )
greeting,

Jimmy
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Mr. Rao's samples collection.
Posted: Sat Aug 06, 2022 03:53 AM

Hi Jimmy,

you find it here:

c:\fwh\source\function\imgtxtio.prg

Best regards,
Otto

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Mr. Rao's samples collection.
Posted: Sat Aug 06, 2022 04:09 AM

Code:
cText := WebPageContents( cPageUrl, .t. )

where is WebPageContents() come from :-)

can u use CURL instead to download Webpage :-) (if Yes how under FiveWin )


function WebPageContents( cURL, [lText := .f.] ) --> cText/cImage
is FWH built-in function and is used extensively inside FWH library to download image/text contents of any webpage. This function uses WinHTTP.

This function is in source\function\imgtxtio.prg

samples\forums.prg also uses this function.
Regards



G. N. Rao.

Hyderabad, India
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: Mr. Rao's samples collection.
Posted: Sat Aug 06, 2022 06:10 AM
hi Otto,
Otto wrote:you find it here:
c:\fwh\source\function\imgtxtio.prg

Aha
Thx to point me to Source File
greeting,

Jimmy
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Mr. Rao's samples collection.
Posted: Sat Aug 06, 2022 06:48 AM

Jimmy, that's the beauty of Fivewin.
Thanks to the generosity of Antonio and the Fivetech team, we have the opportunity to see all the source code.

There's nothing better when you want to do a little "tweaking" yourself.

Best regards,
Otto

Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Mr. Rao's samples collection.
Posted: Wed Aug 10, 2022 08:44 AM
TimStone wrote:I think this utility would be very helpful, but it is somewhat confusing on how to use it.

I would like to download ALL samples, to the current ones, and be able to search for a keyword.

For example, I would like to see recent RTF ( Rich Text Formatting ) samples.

1). How do I download ALL samples ?
2). How do I then search for the keyword. I put it in the field but see no button to activate the search.

I know this is from an old post that just resurfaced, but I think it could be very helpful.


Tim,

I have been using this program. We have to see If Uwe is willing to change some stuff for better simple usage.
The current version is indeed to complex for simple use. If we go back to one of the early version, we keep the basic of searching. After I think it was version 5, the program became to complex.

Even the original starting program from mr. Rao can be a great startingpoint, because it also does what is needed.
Marc Venken

Using: FWH 23.08 with Harbour
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: Mr. Rao's samples collection for Xbrowse
Posted: Wed Aug 10, 2022 09:36 AM
hi,
nageswaragunupudi wrote:I think I posted some time back a program to dowload all samples from the forum.

just for Information : can someone point me to "Original" Thread
greeting,

Jimmy
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Mr. Rao's samples collection for Xbrowse
Posted: Wed Aug 10, 2022 05:28 PM
Jimmy wrote:hi,
nageswaragunupudi wrote:I think I posted some time back a program to dowload all samples from the forum.

just for Information : can someone point me to "Original" Thread


viewtopic.php?f=3&t=33496
Marc Venken

Using: FWH 23.08 with Harbour
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Mr. Rao's samples collection for Xbrowse
Posted: Thu Aug 11, 2022 04:51 PM
Marc Venken wrote:
Jimmy wrote:hi,
nageswaragunupudi wrote:I think I posted some time back a program to dowload all samples from the forum.

just for Information : can someone point me to "Original" Thread


viewtopic.php?f=3&t=33496


viewtopic.php?f=3&t=33496

????

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Mr. Rao's samples collection for Xbrowse
Posted: Fri Aug 12, 2022 06:50 AM
Marc Venken wrote:
Jimmy wrote:hi,
nageswaragunupudi wrote:I think I posted some time back a program to dowload all samples from the forum.

just for Information : can someone point me to "Original" Thread


viewtopic.php?f=3&t=33496


Oeps... Part of the link was missing

viewtopic.php?f=3&t=33496
Marc Venken

Using: FWH 23.08 with Harbour