Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GUI Clipper

58 views
Skip to first unread message

Sid

unread,
Jul 31, 2006, 2:24:00 AM7/31/06
to
I'm a former PC Clipper programmer, and I have a number of Clipper
5.3b programs on my PC. Is there any software out there that can
cheaply convert the applications so that:

-front-end is easily changed from DOS to GUI... but
-back-end Clipper calcs are unchanged (Clipper is very powerful, and
unsurpassed for ease of cutting code fro complex tasks... and I tried
xBase a while ago, but being an old DOS programmer, the instruction
manual was confusing).

Any suggestions?

Ross McKenzie

unread,
Jul 31, 2006, 2:45:48 AM7/31/06
to

Hi Sid,

There is no cheap/easy magic bullet, but I have had reasonable success
using the Harbour/MiniGUI/BCC combination.


Regards,

Ross McKenzie
ValuSoft
Melbourne Australia

valusoft AT optusnet DOT com DOT au

Sid

unread,
Jul 31, 2006, 5:05:56 AM7/31/06
to
Hi Ross,
Thanks. Could you elaborate more on "Harbour/MiniGUI/BCC"
ie where to download software, manuals, cost etc?
Regards, Sid

Ross McKenzie

unread,
Jul 31, 2006, 5:24:05 AM7/31/06
to
On 31 Jul 2006 02:05:56 -0700, "Sid" <si...@optusnet.com.au> wrote:

>Hi Ross,
>Thanks. Could you elaborate more on "Harbour/MiniGUI/BCC"
>ie where to download software, manuals, cost etc?
>Regards, Sid
>
>

Hi Sid.

Zero cost.

http://groups.yahoo.com/group/harbourminigui/

Join up to receive email stream. Download the most recent distribution
(approx 5 Mbytes zipped) which includes an appropriate version of the
Harbour development, the MiniGUI libraries and dozens upon dozens of
sample applications (basic and advanced). If memory serves me
correctly the documentation (also in the self installing download)
tells you where to get the Borland C product which is also free of
cost.

Just now got an emailed announcement that a new version has been
released.

****
This email message is a notification to let you know that
a file has been uploaded to the Files area of the harbourminigui
group.

File : /CONTRIB/hmgexsetup_18f.zip
Uploaded by : gfilatov2002 <gfil...@freemail.ru>
Description : Harbour MiniGUI 1.2 Extended Build 18f setup. This is an
inofficial release

You can access this file at the URL:
http://groups.yahoo.com/group/harbourminigui/files/CONTRIB/hmgexsetup_18f.zip
*****

Otto Haldi

unread,
Jul 31, 2006, 6:46:51 AM7/31/06
to
In article <1154336756.3...@m79g2000cwm.googlegroups.com>, Sid wrote:
> Thanks. Could you elaborate more on "Harbour/MiniGUI/BCC"
> ie where to download software, manuals, cost etc?
>
Hello,
I also just downloaded MiniGui, look very nice. But have some problem with the
Clipper database characters.

In the sample Browse11 sample it don't show me correctly the spez. French or
German characters like ДИЭХ etc.
If I once changed then it is OK.

Are they any function to convert it in one time ?

It is possible to work on the same dbf files with a MiniGui and Clipper
application (DOS & Windows characters) ?

Regards

Otto

--

Using Clipper 5.2e, Blinker , TextPad, PageScript

Ross McKenzie

unread,
Jul 31, 2006, 7:24:57 AM7/31/06
to
On Mon, 31 Jul 2006 12:46:51 +0200, Otto Haldi <oha...@freesurf.ch>
wrote:

>In article <1154336756.3...@m79g2000cwm.googlegroups.com>, Sid wrote:
>> Thanks. Could you elaborate more on "Harbour/MiniGUI/BCC"
>> ie where to download software, manuals, cost etc?
>>
>Hello,
>I also just downloaded MiniGui, look very nice. But have some problem with the
>Clipper database characters.
>
>In the sample Browse11 sample it don't show me correctly the spez. French or
>German characters like ДИЭХ etc.

Hello Otto.

Look at the .chm file in the C:\MiniGUI\Doc directory and especially
the "set language" command.

Select language for interface messages.
Syntax


SET LANGUAGE TO SPANISH | ENGLISH | FRENCH | PORTUGUESE | GERMAN |
RUSSIAN | ITALIAN | FINNISH | CROATIAN | BASQUE | POLISH | DUTCH |
SLOVENIAN | GREEK | CZECH

LHS...@gmail.com

unread,
Jul 31, 2006, 10:08:44 AM7/31/06
to
Ross and Otto,

The set language in Minigui is for Minigui internals, the char problem
can be solved by requesting the correct codepage in the beginning of
your xHarbour program like follows:

REQUEST HB_CODEPAGE_FIDOS
REQUEST HB_CODEPAGE_FIWIN

In function Main

Function Main(cIniFile, cUsername, cPassword)

HB_SETCODEPAGE("FIWIN")
RDDSETDEFAULT("DBFCDX")
...


Regarding Clipper and xHarbour using the same files, it's possible, I'm
doing it in clipper I use Comix rdd and in xHarbour dbfcdx rdd the
locking scheme has to be the same, so I have in my main function the
following

SET(_SET_DBFLOCKSCHEME, 2)


NOTE this is for my Finnish databases, there are many other codepages
defined in xHarbour, there are also many locking schemes.

In the USE command you can also use the CODEPAGE as follows

USE mybase NEW CODEPAGE "FIDOS" .....

I think that basic doc's are to be found on www.xHarbour.com/xhdn/


Lasse


Ross McKenzie wrote:
> On Mon, 31 Jul 2006 12:46:51 +0200, Otto Haldi <oha...@freesurf.ch>
> wrote:
>
> >In article <1154336756.3...@m79g2000cwm.googlegroups.com>, Sid wrote:
> >> Thanks. Could you elaborate more on "Harbour/MiniGUI/BCC"
> >> ie where to download software, manuals, cost etc?
> >>
> >Hello,
> >I also just downloaded MiniGui, look very nice. But have some problem with the
> >Clipper database characters.
> >
> >In the sample Browse11 sample it don't show me correctly the spez. French or

> >German characters like äéüè etc.

Otto Haldi

unread,
Jul 31, 2006, 12:24:32 PM7/31/06
to
In article <1154354924.9...@m79g2000cwm.googlegroups.com>, wrote:
> The set language in Minigui is for Minigui internals, the char problem
> can be solved by requesting the correct codepage in the beginning of
> your xHarbour program like follows:
>
> REQUEST HB_CODEPAGE_FIDOS
> REQUEST HB_CODEPAGE_FIWIN
>
> In function Main
>
> Function Main(cIniFile, cUsername, cPassword)
>
> HB_SETCODEPAGE("FIWIN")
> RDDSETDEFAULT("DBFCDX")
> ...
>
>
> Regarding Clipper and xHarbour using the same files, it's possible, I'm
> doing it in clipper I use Comix rdd and in xHarbour dbfcdx rdd the
> locking scheme has to be the same, so I have in my main function the
> following
>
> SET(_SET_DBFLOCKSCHEME, 2)
>
>
> NOTE this is for my Finnish databases, there are many other codepages
> defined in xHarbour, there are also many locking schemes.
>
> In the USE command you can also use the CODEPAGE as follows
>
> USE mybase NEW CODEPAGE "FIDOS" .....
>
> I think that basic doc's are to be found on www.xHarbour.com/xhdn/
>
>
> Lasse
>
Hello Lasse,

As I see you have a lot of know how. Many thanks for your help. I will now
start to make some test with MiniGui and Harbour. And come back if I have any
questions.

Otto Haldi

unread,
Jul 31, 2006, 12:24:33 PM7/31/06
to
In article <44cde82f.48339640@news>, Ross McKenzie wrote:
> Look at the .chm file in the C:\MiniGUI\Doc directory and especially
> the "set language" command.
>
Hello Ross,

Many thanks four your quick answer. I think I will look for the solution form
Lasse.
In my Database I have to use German and French characters at the same time.

Best regards

AUGE_OHR

unread,
Jul 31, 2006, 1:16:20 PM7/31/06
to
hi,

> In my Database I have to use German and French characters at the same
time.

NO i don´t think so. Cl*pper use "DOS"-OEM so it can´t use 2 Codepage
(German & France) at the same Time.

In a Windows Application, like Xbase++, you can use different Font/Codepage
to show it in German and French at the same Time if it is ANSI (not Unicode)

greetings by OHR
Jimmy

Deutschsprachiges Xbase-Forum:
http://www.xbaseforum.de/


LHS...@gmail.com

unread,
Jul 31, 2006, 1:48:05 PM7/31/06
to
Otto,

I had a look at xHarbour source, there is a french dos codepage defined
("HB_CODEPAGE_FR"), but no frech windows defined. There is a also both
dos and windows for german ("HB_CODEPAGE_DE" for dos, and
"HB_CODEPAGE_DEWIN" for windows)

If you need the .c templates to implement your own, mail me at lasse
/at/ the-holms.org , replace relevant part of the address with the @
sign. I had to make my own because the finnish wasn't included in
xHarbour.

Do you need t ohave open both german and french charsets containing
databases at the same time? or are they different installations?

Lasse

Otto Haldi

unread,
Jul 31, 2006, 4:18:51 PM7/31/06
to
In article <1154368085.6...@b28g2000cwb.googlegroups.com>, wrote:
> Do you need t ohave open both german and french charsets containing
> databases at the same time? or are they different installations?
>
Hello Lasse

In fact, I need to save in my Address Database name like:
François, Hélène, Müller, etc.

In my Clipper prgs I never used any charsets setting!

I discover this problem since I'm testing MiniGui.
(I compiled the browse11.prg sample and opened my address database)

LHS...@gmail.com

unread,
Jul 31, 2006, 11:40:41 PM7/31/06
to
Otto,

I belive it can be done, you just have to modify the codepage template
to include all the different letters one for dos made with an dos
editor to be shure it's in OEM format, the other one with an windows
editor in ANSI format, both should have all the letters you use in the
same order.

Then you open (USE) the dbfs using the dos codepage but in the program
use the win version as default, kind of what I'm doing.
By USING the dbf through some codepage it will update the database
using the chr() values for that codepage, but on screen the chars shows
s ANSI. This is working for me, and I'm using the same dbfs through
both clipper and xHarbour Minigui.

Send me an email and I'll send you the .c files I use for my codepage,
I think that you will see how it works by examining them, and you can
modify them, I can also send the makefile for Borland for you to use.

Lasse

julia...@yahoo.com

unread,
Aug 1, 2006, 10:47:24 AM8/1/06
to
Hi,

How to use ADS or CDX Index with minigui ?

Regards,

Julian

Ross McKenzie menuliskan:


> On Mon, 31 Jul 2006 12:46:51 +0200, Otto Haldi <oha...@freesurf.ch>
> wrote:
>
> >In article <1154336756.3...@m79g2000cwm.googlegroups.com>, Sid wrote:
> >> Thanks. Could you elaborate more on "Harbour/MiniGUI/BCC"
> >> ie where to download software, manuals, cost etc?
> >>
> >Hello,
> >I also just downloaded MiniGui, look very nice. But have some problem with the
> >Clipper database characters.
> >
> >In the sample Browse11 sample it don't show me correctly the spez. French or

> >German characters like äéüè etc.

Ross McKenzie

unread,
Aug 1, 2006, 4:59:10 PM8/1/06
to
On 1 Aug 2006 07:47:24 -0700, julia...@yahoo.com wrote:

>Hi,
>
>How to use ADS or CDX Index with minigui ?
>
>Regards,
>
>Julian

Hi Julian.

Simple.

For ADS usage, examine the code in

C:\MiniGUI\Samples\Basic\ADS_RDD

...for CDX usage eaxamine the code in

C:\MiniGUI\Samples\Basic\Edit_Extended

There are others for CDX, but this one is as good as any of them.

Ross McKenzie

unread,
Aug 1, 2006, 5:01:38 PM8/1/06
to
On Mon, 31 Jul 2006 18:24:33 +0200, Otto Haldi <oha...@freesurf.ch>
wrote:

>In article <44cde82f.48339640@news>, Ross McKenzie wrote:


>> Look at the .chm file in the C:\MiniGUI\Doc directory and especially
>> the "set language" command.
>>
>Hello Ross,
>
>Many thanks four your quick answer. I think I will look for the solution form
>Lasse.
>In my Database I have to use German and French characters at the same time.
>
>Best regards
>
>Otto

No problem Otto. I haven't had to deal with these problems directly
myself and had forgotten about codepage switching. Fortunately, Lasse
has.

Ross McKenzie

unread,
Aug 1, 2006, 5:04:33 PM8/1/06
to
On 31 Jul 2006 20:40:41 -0700, LHS...@gmail.com wrote:

>Otto,
>
>I belive it can be done, you just have to modify the codepage template
>to include all the different letters one for dos made with an dos
>editor to be shure it's in OEM format, the other one with an windows
>editor in ANSI format, both should have all the letters you use in the
>same order.
>
>Then you open (USE) the dbfs using the dos codepage but in the program
>use the win version as default, kind of what I'm doing.
>By USING the dbf through some codepage it will update the database
>using the chr() values for that codepage, but on screen the chars shows
>s ANSI. This is working for me, and I'm using the same dbfs through
>both clipper and xHarbour Minigui.
>
>Send me an email and I'll send you the .c files I use for my codepage,
>I think that you will see how it works by examining them, and you can
>modify them, I can also send the makefile for Borland for you to use.
>
>Lasse
>

Hi Lars.

Good catch.

Your solution is probably worth contributing to the MiniGUI Extended
distribution. Perhaps after Grigory returns from his much earned
holiday.

julia...@yahoo.com

unread,
Aug 1, 2006, 9:24:50 PM8/1/06
to
Dear Ross,

I can't find c:\minigui\samples\basic.
Minigui installed on c:\hmg directory.

Where I can find documention .chm ?

Regards,

Julian


Ross McKenzie menuliskan:

Ross McKenzie

unread,
Aug 1, 2006, 10:59:40 PM8/1/06
to
On 1 Aug 2006 18:24:50 -0700, julia...@yahoo.com wrote:

>Dear Ross,
>
>I can't find c:\minigui\samples\basic.
>Minigui installed on c:\hmg directory.
>
>Where I can find documention .chm ?
>
>Regards,
>
>Julian

Hello Julian.

I am using the MiniGUI Extended Build 1.2 version 18.f which has all
of the samples and the MiniGUI.chm files.

I am guessing that you have Roberto's version instead.

julia...@yahoo.com

unread,
Aug 1, 2006, 11:51:38 PM8/1/06
to
Dear Ross,

Yes, I use Roberto version. Is it difference ?

I think MiniGui like FiveWin, is it ?

Could you send me MiniGui ?

Regards,

Julian


Ross McKenzie menuliskan:

LHS...@gmail.com

unread,
Aug 2, 2006, 3:13:15 AM8/2/06
to
Ross,

I can send them to Grigory, but in fact they should be included int the
codepage.lib in xHarbour, abd why not in Harbour too:-), maybe Grigory
can do that?

Lasse

Ross McKenzie

unread,
Aug 2, 2006, 3:45:00 AM8/2/06
to
Hello Julian.

On 1 Aug 2006 20:51:38 -0700, julia...@yahoo.com wrote:

>Dear Ross,
>


>Yes, I use Roberto version. Is it difference ?

Roberto wrote the original MiniGUI that used Harbour and BCC. Then
about 1 year ago, he announced that he was "leaving" the group to work
on a new MiniGUI using MingW instead of BCC. I think that many people
chose to "stay" with Grigory, Jacek and Janusz who have been the
development team of HMG since then. I have not looked at Roberto's new
work, so I cannot make any comparisons.

>
>I think MiniGui like FiveWin, is it ?

I do not use FiveWin so I cannot say...except that FiveWin costs
money? HMG does not cost money. FiveWin and MiniGUI both create
Windows GUI applications.

>
>Could you send me MiniGui ?

It is a 5 MBytes download from the URL that I sent you.

http://groups.yahoo.com/group/harbourminigui/files/CONTRIB/hmgexsetup_18f.zip

Easier for you to download it. You also need to download the Borland
BCC.

Otto Haldi

unread,
Aug 2, 2006, 6:56:39 AM8/2/06
to
Hello Ross

> It is a 5 MBytes download from the URL that I sent you.
> http://groups.yahoo.com/group/harbourminigui/files/CONTRIB/hmgexsetup_18f.zip
> Easier for you to download it. You also need to download the Borland
>

Are those samples compatible with Minigui /HMG ?

Ross McKenzie

unread,
Aug 2, 2006, 8:13:15 AM8/2/06
to
On Wed, 02 Aug 2006 12:56:39 +0200, Otto Haldi <oha...@freesurf.ch>
wrote:

>Hello Ross

>Using Clipper 5.2e, Blinker , TextPad, PageScript ...and soon HMG <g>
>

Hi Otto.

Yes the samples that I have mentioned are all part of the contents in
the file hmgexsetup_18f.zip. When you unzip the file, you will get an
exe file which will create the C:\MiniGUI directory as a default (you
can change it, but I never do).

It will then extract some files into there and then create all of the
other sub directories including C:\MiniGUI\Samples\Basic and
C:\MiniGUI\Samples\Advanced. These then have a single directory for
each self contained sample application. Very neat, very professional,
very easy to follow.

Otto Haldi

unread,
Aug 2, 2006, 2:58:49 PM8/2/06
to
Hello Ross

> Yes the samples that I have mentioned are all part of the contents in
> the file hmgexsetup_18f.zip. When you unzip the file, you will get an
> exe file which will create the C:\MiniGUI directory as a default (you
> can change it, but I never do).
>
> It will then extract some files into there and then create all of the
> other sub directories including C:\MiniGUI\Samples\Basic and
> C:\MiniGUI\Samples\Advanced. These then have a single directory for
> each self contained sample application. Very neat, very professional,
> very easy to follow.
>

Many thanks for your help.

Most of the advanced samples are not working with MiniGUI HMG.
I unzipped the hmgexsetup_18f.zip file and moved some advanced samples (circle,
etc.) In the
c:\hmg\samples directories.

I changed the compile.bat file to :
@ECHO OFF
call c:\hmg\batch\compile.bat %1 %2

But didn't work.

Ross McKenzie

unread,
Aug 2, 2006, 6:49:35 PM8/2/06
to
On Wed, 02 Aug 2006 20:58:49 +0200, Otto Haldi <oha...@freesurf.ch>
wrote:

>Hello Ross

Otto.

The circle sample works perfectly for me.

As I said earlier, these samples are FOR MiniGUI Extended (
hmgexsetup_18f.zip ) ...not Roberto's new branch. If you insist on
using Roberto's version, you will need to ask Roberto for samples that
match his branch I guess.

Otto Haldi

unread,
Aug 3, 2006, 6:54:07 AM8/3/06
to
Hello Ross

> As I said earlier, these samples are FOR MiniGUI Extended (
> hmgexsetup_18f.zip ) ...not Roberto's new branch. If you insist on
> using Roberto's version, you will need to ask Roberto for samples that
> match his branch I guess.
>

Many thanks four your quick answer. I'm very new with MiniGUI and do not
understand what are the differences between Roberto's new branch and MiniGui
extended version.

Are they many Version of MiniGUI ?

julia...@yahoo.com

unread,
Aug 6, 2006, 1:38:37 AM8/6/06
to
Hi Ross,

Where I can find Documentation for harbour from minigui ?

How about Set Filter speed ? Is there comix for harbour ?

Is there report generator form harbour/minigui ?

Regards,

Julian

Ross McKenzie menuliskan:

Ross McKenzie

unread,
Aug 6, 2006, 4:03:42 AM8/6/06
to
On 5 Aug 2006 22:38:37 -0700, julia...@yahoo.com wrote:

>Hi Ross,
>
>Where I can find Documentation for harbour from minigui ?

The documentation for Harbour is inside the distribution file
available at...

http://groups.yahoo.com/group/harbourminigui/files/CONTRIB/hmgexsetup_18f.zip

The documentation for MiniGUI extended version is inside the
distribution file available at...

http://groups.yahoo.com/group/harbourminigui/files/CONTRIB/hmgexsetup_18f.zip

>
>How about Set Filter speed ?

I don't use filters.

>Is there comix for harbour ?

It has support for CDX. Works for me.

>
>Is there report generator form harbour/minigui ?

You can use...
DO REPORT;
TITLE <cTitle>
HEADERS <acHeaders1> , <acHeaders2>
FIELDS <acFields>
WIDTHS <anWidths>
[ TOTALS <alTotals> ]
[ NFORMATS <aFormats> ]
WORKAREA <WorkArea>
[ LPP <nLpp> ]
[ CPL <nCpl> ]
[ LMARGIN <nlLmargin> ]
[ TMARGIN <nlTmargin> ]
[ PAPERSIZE <nPaperSize> ]
[ DOSMODE ]
[ PREVIEW ]
[ SELECT ]
[ IMAGE <cFileName> AT <nRow> , <nCol> TO <nRow> , <nCol> ]
[ MULTIPLE ]
[ GROUPED BY <cGrpBy> | "EVERY PAGE" ]
[ HEADRGRP <cHdrGrp> ]
[ LANDSCAPE ]


or

DO REPORT FORM <creportFormName[.rpt]>

Executes a report from a given report definition file (.mod)


>
>Regards,
>
>Julian

Otto Haldi

unread,
Aug 6, 2006, 7:13:27 AM8/6/06
to
Julian,

> Where I can find Documentation for harbour from minigui ?
>

I download for a few weeks the MiniGui HMG from:
http://sourceforge.net/projects/harbourminigui/

Very easy to install (on directory C:\HMG) and to use.

Documentation and help on the following links:
http://wit.mht.bme.hu/~zlazar/harbour/
http://www.geocities.com/harbour_minigui/
http://www.harbourminigui.com/index.php?option=com_glossary&catid=20&func=displ
ay&search=do+report

Ross McKenzie

unread,
Aug 6, 2006, 8:17:13 AM8/6/06
to
On Sun, 06 Aug 2006 13:13:27 +0200, Otto Haldi <oha...@freesurf.ch>
wrote:

>Julian,

Otto and Julian.

You are now mixing two separate products and do so at your own peril.
In other words, you will get confused and generate errors that you
will want help with ...

0 new messages