FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Mr. Rao's samples collection.
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Mr. Rao's samples collection.
Posted: Tue Feb 27, 2018 10:28 PM
A new helpsection is included

Now it is possible to write Your own help
4 sections for each forum ( language ) are defined.
I will add still some more text

Download :
http://www.service-fivewin.de/DOWNLOADS/Forum7.zip

Maybe only add the new 2 helpfiles and replace the Forum.exe



regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Mr. Rao's samples collection.
Posted: Wed Feb 28, 2018 12:05 PM
New extended fileimport from computer-directorys

Now it is possible to define up to 5 directorys
just select the radio that belongs to the directory for the fileimport

sample of selected directorys :

1. FWH-samples
2. FWH-source
3. FWH-functions
4. FWH-api
5. any privat-directory with samples

the same symbol from the setup that belongs to the directory is show in browser-col < forum >

I'm working with 2 copies
one copy only for forum-import
the other one with import from computerdirectories
You can work on both the same time !

Download :
http://www.service-fivewin.de/DOWNLOADS/Forum7.zip



regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Mr. Rao's samples collection.
Posted: Sun Mar 04, 2018 11:21 AM

Hey Uwe,

Did you try to launch

buildh.bat from the samples dir ?

I would be handy to start the compile from the browse.

Also : If there is a existing .exe file, maybe there is a mark, or color change in the name and a buton to start the exe.

Just the Idea.

Any Luck with the color changes in the text ?

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Mr. Rao's samples collection.
Posted: Sun Mar 04, 2018 11:31 AM
Marc,

working on some more improvements :
A msgmeter is included ( better speed ) shows the download / import -status
A new Col-color to show the active index
Filecopy : Just download from the forum once and copy the result to the needed files 1 - 7
there You have only to define filters, authors, like .... ( saves a lot of time )



The new SETUP-section :-)



regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Mr. Rao's samples collection.
Posted: Sun Mar 04, 2018 03:52 PM

Uwe,

Some suggestions :

Why do you copy to one of the files ? From day one, I use your version with just 1 file, and ALL seeks (Topic, User, ...) are done
like the original version. Quick and simple

I see the logic if you say that after time, you select items from the browse (based on level of like, and put them in a extra file (1 of seven) and give them a name like
Xbrowse, Menus, Graphics, .... , but then i think that you have to stop making files based on filterwords or users during import. ( I never use this)

Hitting the clear button, I would ask confirmation, because now it's gone, and it took some time to like topics )))

It's not clear anymore how to filter items. (I my case I simply use 1 file, download ALL topics from 1 forum, and then use the filter)
So the download is done once, and everytime I need to seek something, i use your program's seek. (filter)
As it was in Mr. Rao's version.

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Mr. Rao's samples collection.
Posted: Sun Mar 04, 2018 03:59 PM

As a user from day one,

Maybe you can concider a basic version, based on the original with folowing anhancements.

1 massive import, one seek for all users, topics, words
The autoimport from where you ended the last import.
Coloring the seeked words
The prg import
starting the editor and maybe the the buildh.bat
The Like's
Copy the likes to several files (xbrows, menus, folders, design,...)
and for sure all in you great graphics !!!

This should be the basic version. (where most people would like to work with)

All other options will be for people with more needs...

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Mr. Rao's samples collection.
Posted: Sun Mar 04, 2018 04:16 PM

When I download the samples forum, I see the names correct in the browse and textfield, but the with I hit the editor,
It opens, but is not showing the true file name and or directory.
Maybe you have to import with full Path ? and show only the file name.

I know that you have ansered this before, but I still miss your logic in this.

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Mr. Rao's samples collection.
Posted: Sun Mar 04, 2018 07:17 PM
Marc,

I have to create a extra PRG for printing from the code called < Sample.prg >
saved inside the image-path

IIF( File( c_path1 + "Sample.prg" ), FERASE( c_path1 + "Sample.prg" ), NIL ), ;
cECode := "// " + cTopic + CRLF + ;
"// " + cTLink + ;
CRLF + CRLF + cTCode, ;
oTCode:SetText( cECode ), ;
oTCode:SaveToFile( c_path1 + "Sample.prg" ), ;
WinExec( TRIM(cEDITOR) + " " + c_path1 + "Sample.prg" ), ;
oTCode:SetText( cTCode ) ), ; // restore old text
// calls Your defined editor

NEW
The topic-title and link is included now on top



regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Mr. Rao's samples collection.
Posted: Mon Mar 05, 2018 12:35 AM

Many new options are included
as well the changes from Mr. Rao
slowly it's getting completed :roll:

Download :

http://www.service-fivewin.de/DOWNLOADS/Forum7.zip

regards
Uwe :D

Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Mr. Rao's samples collection.
Posted: Mon Mar 05, 2018 07:57 AM
A last minute-change :

When I download the samples forum, I see the names correct in the browse and textfield, but the with I hit the editor,
It opens, but is not showing the true file name and or directory.
Maybe you have to import with full Path ? and show only the file name.


A new sub-directory < EXPORT > is created to save all topics opened with a editor.
Before ONLY one export-filename has been used.

Opening a topic with Your editor will create a PRG like :
from forum the topic-number : T_32657.prg
from any computer-directory the original prg-name : xBrowse.prg

Download :
http://www.service-fivewin.de/DOWNLOADS/Forum7.zip

I noticed a problem in headerhight ( linebreak ) :-)
It is fixed now.

The autoimport from where you ended the last import.


This is included.
You can start the next import with a given range using < UPDATE >
A given import range can return a lower endnumber as defined
The new startnumber would be the last possible endtopicnumber + 1

Working with the UPDATE-section

35400 defined -> 35341 as last number detected.
New UPDATE-start-number 35342



regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Mr. Rao's samples collection.
Posted: Mon Mar 05, 2018 02:14 PM

Uwe,

If you start with the Coloring of the selected words (filter) maybe you can think of counting the amount of hits of the word in the file.

If ex. HEADERS is found 3 times (in the file, NOT the browse) then this count could be shown somewhere. Even better, since you know where the words are in the file,
there could be a action button with the counter on it, and a action of Go Next. So when it it hit, the file positioning is altered.

Again, Just a idea.

BTW : I prefer that you release a version quicker, where the words are colored, but the extra above is just a idea/option. (Of cource, it's your program, and call ....)

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Mr. Rao's samples collection.
Posted: Thu Mar 15, 2018 11:37 AM
There will be a update in a short time with many improvements

1. because running out of space the setup-section is changed to folder-usage
2. You can set the import to UNIQUE that means
-- the code with the same topic numer is added to the 1. created record
-- like the sample shows the code of these 9 topics will be added to just one record using linefeed
3. some topics with just a few lines doesn't make sense to be used as a sample
-- now You can define a linevalue. Topics with lines < this value will be deleted
4. a complete forum can be deleted.

Using all these new options the filesize can be reduced up to 50 %



regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Mr. Rao's samples collection.
Posted: Fri Mar 16, 2018 01:56 PM
The NEW option UNIQUE that can be defined before importing
is showing interesting details :

from a import range of 33000 to 35360 = 2360
the normal import shows a value of 3887
that means there are many numbers with sub-topics



using UNIQUE shows a value of 1223 selected from a range of 33000 to 35360
Each number is used only ONCE and sub-codes are added to the main-number.
Missing numbers inside the order means that there is NO code defined.
The solution creates a very compact import-result



regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Mr. Rao's samples collection.
Posted: Sat Mar 17, 2018 01:26 PM

The promised update

It is big because all 7 sample-files are including the full topic-range ( 9.13 MB )
There is a new headline added where it is possible to write some infotext about the contents.
The setup-section shows a full xbrowse-editor with source-preview.
With all the new added options, slowly we can write a book about it :roll:

Download :

http://www.service-fivewin.de/DOWNLOADS/Forum8.zip

regards
Uwe :D

Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Mr. Rao's samples collection.
Posted: Sun Mar 18, 2018 10:45 AM

I was hoping for the color in the string....

Marc Venken

Using: FWH 23.08 with Harbour