Hi Rohit,
I use the unit DosErrorMsg.pas, and just say:
stDosErrorMsgs[iDosErrorNumber]
See attached file.
Cheers,
John Christenhusz
POSTEC DATA SYSTEMS Ltd.
PO Box 302-230
Auckland, New Zealand
E-mail: [EMAIL PROTECTED]
Phone: 09-415.8803
Fax: 09-415.9042
-Original Message
ts of list delphi
Subject: Re: [DUG]: Filter Date/Time
You may have to filter based on a date/time range becasue a
date/time is an
exact (to 1 sec) match so you need to run frmm midnight to midnight.
-Original Message-----
From: John Christenhusz [EMAIL PROTECTED]
To: Multiple
;
except
result := false;
end;
tblSource.free;
tblDest.free;
except
result := false;
end;
end;{CreateCloneTable}
John Christenhusz
POSTEC DATA SYSTEMS Ltd.
PO Box 302-230
Auckland, New Zealand
E-mail: [EMAIL PROTECTED]
Phone: 09-415.8803
Fax: 09-415.9042
-enabling the
controls, or any other solution?
Thanks very much for your help.
John Christenhusz
POSTEC DATA SYSTEMS Ltd.
PO Box 302-230
Auckland, New Zealand
E-mail: [EMAIL PROTECTED]
Phone: 09-415.8803
Fax: 09-415.9042
own error code
(e.g. from number 1000 onwards).
Thanks very much,
John Christenhusz
POSTEC DATA SYSTEMS Ltd.
PO Box 302-230
Auckland, New Zealand
E-mail: [EMAIL PROTECTED]
Phone: 09-415.8803
Fax: 09-415.9042
application/ms-tnef
for any comment.
John Christenhusz.
function ProcessExecute(sCommandLine, sParams: string; vtRunMode:
tRunMode; vtStartMode : tStartMode): integer;
{Function:
Launch application by path\name using optional parameters.
This method encapsulates the call to CreateProcess()
Calling program
Try GetCurrentDir
John Christenhusz
-Original Message-
From: Sean Cross [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 10, 1999 4:55 PM
To: Multiple recipients of list delphi
Subject: [DUG]: Getting the Working directory?
Does anyone know how to get the working directory
123456
But this is what I get:
Product CapacityTempStock
(invalid) (invalid) (invalid) (invalid)
Has anybody got any idea what's going on.
Thanks very much for your help.
John Christenhusz
POSTEC DATA SYSTEMS Ltd.
PO Box 302-230
o they can implement any of that in
their new version (perhaps stream-lined via Inprise NZ?).
I'm sure Inprise will be interested to know how their customers think about
their product and how to improve it.
Regards,
John Christenhusz.
application/ms-tnef
celeration. By doing it this way you won't need the
Analogue Input board.
Cheers,
John Christenhusz
-Original Message-
From: Sean Cross [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 23, 1999 5:57 PM
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Sampling sound
I
Hi all,
The TDBGrid component has the property dgMultiSelect, obviously to select
multiple items.
How can I process the selected items at all?
Thanks,
John Christenhusz
POSTEC DATA SYSTEMS Ltd.
PO Box 302-230
Auckland, New Zealand
E-mail: [EMAIL PROTECTED]
Phone: 09-415.8803
Fax: 09-415.9042
Hi all,
Has anybody the help file for TGraphicsServer (named CTRLREF.HLP) ?
Or can anybody suggest any other powerful graphics component?
Thanks,
John Christenhusz
POSTEC DATA SYSTEMS Ltd.
PO Box 302-230
Auckland, New Zealand
E-mail: [EMAIL PROTECTED]
Phone: 09-415.8803
Fax: 09-415.9042
be appreciated. Or does anybody have experience with
any alternative Language package?
John Christenhusz
POSTEC DATA SYSTEMS Ltd.
PO Box 302-230
Auckland, New Zealand
E-mail: [EMAIL PROTECTED]
Phone: 09-415.8803
Fax: 09-415.9042
application/ms-tnef
Is it any good?
What does it cost?
Who's the supplier?
John Christenhusz.
-Original Message-
From: Neil Anderson [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 22, 1999 2:48 PM
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Language Package
We use multilizer
Hi Grant,
I use the (home made) unit attached. It includes the DOS error messages up
to number 106.
To use it, include the unit and do something like:
sErrorMessage := stDosErrorMsgs[iDosError];
Cheers,
John Christenhusz
-Original Message-
From: Grant Black [mailto:[EMAIL
How about setting the component's property ShowHint to True or False.
John Christenhusz.
-Original Message-
From: Donovan J. Edye [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 05, 1999 12:02 PM
To: Multiple recipients of list delphi
Subject: [DUG]: [Q] Showing a hint manually
Hi Eion,
Have a look at http://www.delumpa.com/tips/db/db02.htm
Cheers,
John Christenhusz
-Original Message-
From: Eion McIntosh (CHCH) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 25, 1999 12:53 PM
To: Multiple recipients of list delphi
Subject: [DUG]: Index out of Date
I can highly reccomment it. It's excellent.. for proping up
my monitor and
as a door stop. For anything else, it's utter crap.
Dear Peter Jones,
Haven't you got any sense at all, can't you be a little bit more
constructive ?
Otherwise keep your big mouth shut!
John Christenhusz
error 200 = "Division By Zero"
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 03, 2000 11:24 AM
To: Multiple recipients of list delphi
Subject: [DUG]: BP7
Does anyone remember the runtime 200 error on fast PCs. Ever
since the
Hi folks,
How can I change the tab order on a TPageControl component. I was hoping to
find a property named e.g. "Pages" similar to the TTabbedNotebook (Win31)
allowing you to add/remove/order the tabs.
Thanks for your help.
John Christenhusz
POSTEC DATA SYSTEMS Ltd.
PO Box 302-23
Hi all,
Installing D4 on my PC fails. It comes with the error message:
"Error -113 while copy files. Could not find "RunImage" directory. "
Any had this before, any ideas why and how to solve this problem?
Thanks very much in advance.
John Christenhusz
POSTEC DATA
alternative (this using TRxGIFAnimator).
Any other alternatives?
TIA
John Christenhusz
POSTEC DATA SYSTEMS Ltd.
PO Box 302-230
Auckland, New Zealand
E-mail: [EMAIL PROTECTED]
Phone: 09-415.8803
Fax: 09-415.9042
application/ms-tnef
Thanks for the advice to use the TMediaPlayer to run an AVI.
But, how can I control the size of the AVI. When I set the TMediaPlayer's
property Display to e.g. a panel then it shows the AVI at a reduced size.
How can I make it so that it stretches the AVI to fit the panel?
TIA
John Christenhusz
! Also when I move any other window
partially over the AVI it wipes that area.
Any ideas / suggestions.
Thanks very much,
John Christenhusz.
procedure TformControl.btnStartClick(Sender: TObject);
begin
with MediaPlayer do
begin
formAVI.show
idea why the AVI gets deleted
when I go over it with any other window? It wipes it like an erase rubber.
Cheers,
John Christenhusz.
-Original Message-
From: Darren J Gilbertson [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Monday, February 28, 2000 9:24 AM
To: [EMAIL
Hereafter it gives up and the installation process is
terminated.
Has anybody any ideas?
Is there any way of passing this question to the
Borland technicians?
Your help is highly appreciated.
John Christenhusz POSTEC DATA SYSTEMS Ltd. PO Box 302-230 Auckland, New Zealand E-mail: [EMAIL PROTECTED]
run SETUP.EXE
from the Start-Menu's RUN command: "c:\Delphi4\Install\SETUP.EXE".
Has anybody any ideas how to solve this (urgent)
problem?
Note: I have re-installed Delphi 2 (from the CD) without any
problems.
Your help is highly appreciated.
John Christenhusz.
Error Mes
Hi all,
How can I import a Lotus spreadsheet file into a Paradox table?
Thanks for any help.
John Christenhusz
C/- Post Office
PUHOI - 1240
Phone: 09-422.0601
Mobile: 021-johnch (021-564624)
E-mail: [EMAIL PROTECTED]
winmail.dat
?
Thanks very much for any help.
John Christenhusz
C/- Post Office
PUHOI - 1240
Phone: 09-422.0601
Mobile: 021-johnch (021-564624)
E-mail: [EMAIL PROTECTED]
winmail.dat
long.
Thanks for any help.
John Christenhusz
C/- Post Office
PUHOI - 1240
Phone: 09-422.0601
Mobile: 021-johnch (021-564624)
E-mail: [EMAIL PROTECTED]
winmail.dat
LookupTable = tblCity
LookupField = Index
Selected = City
ShowMatchText = True
Style = csDropDown
The wwDBLookupCombo shows a city and I can change a city. But wat doesn't
work is
- the ShowMatchText and
- add a new city to the table
What is the problem
Thanks very much for any help.
John
wMatchText = True
Style = csDropDown
The wwDBLookupCombo shows a city and I can change a city. But
wat doesn't
work is
- the ShowMatchText and
- add a new city to the table
What is the problem
Thanks very much for any help.
John Ch
QuickRep1.preview;
free;
end;
end;
Any help is highly appreciated.
John Christenhusz
winmail.dat
G'day folks,
Can anybody tell me how to get an image dynamically loaded onto the form.
I have a TQRImage and I want to change the bitmap on the fly.
the instruction loadFromFile('xx') is unknown with this component.
Any ideas???
Thanks very much for any help.
John Christenhusz
Pacific Data
Please ignore this test.
GLOBAL ECOMEX Ltd.
John
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with
Hi all,
Who knows the answer to this simple problem?
DateToStr(now) returns nicely the string equivalent for the current date
using ShortDateFormat.
StrToDate('date string') returns the TDateTime for the given date string.
However, when you have the date time settings so that you use e.g.
This is great, fantastic, just what I needed.
Thanks a lot Kurt.
John
On Monday, October 23, 2000 1:31 PM, Kurt [SMTP:[EMAIL PROTECTED]] wrote:
Try using VarToDateTime. It takes a variant parameter, so you just
pass in a string. Being a variant its too slow for doing a lot of
G'day all,
Can anybody tell me what would be the best registry value to use as a PC
identification?
John
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website:
Yes, works very nicely without any problems at all.
Win2000 seems a lot more robust than Win98!
Cheers,
John
On Tuesday, October 31, 2000 12:31 PM, [EMAIL PROTECTED]
[SMTP:[EMAIL PROTECTED]] wrote:
Is it better than win98. A little more robust perhaps? I currently use
Win2000 on
my
G'day folks,
My current contract work finishes this month and am looking at another
Delphi Development job.
Please drop me an e-mail (personally, not to the List) if you have or know
anything.
Thanks a lot.
John Christenhusz
C/- Post Office
PUHOI - 1240
Phone: 09-422.0601
Mobile: 021-johnch
Did
you set the table-field's property 'Currency' to TRUE?
and
don't use the $ sign in the format string.
Cheers,
John.
-Original Message-From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mark
HowardSent: Wednesday, 29 November, 2000 11:42To:
Multiple
Hi all,
All of a sudden my Delphi environment (D4) doesn't allow me to set break
points or to step through.
The "Integrated Debugger" checkbox in "Tools/Debugger Options/" is on.
Any ideas?
Thanks
Hi Stacey,
I've got Debug Information ON.
Has anybody any other ideas?
John Christenhusz
-Original Message-
Check you project options. You may be compiling without debug information.
Stacey
-Original Message-
From: John Christenhusz [mailto:[EMAIL PROTECTED]]
Sent
when loaded into the TImage:
"Unknown picture file extension (.JPG)"
Any idea?
Thanks for your help.
John Christenhusz
E-mail: [EMAIL PROTECTED]
---
New Zealand Delphi Users group - Delphi List - [EMAIL
Hi Laurence,
U wrote:
You need to include the Jpeg.pas file in your unit.
Is this a standard Delphi file? I can't find this file on my system.
I still wonder, why can TImage load a BMP or JPG image at design-time but
can't load the same JPG at run-time?
Thanks for any help,
John
a lot
John Christenhusz
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
this and how to fix this?
Thanks a lot
John Christenhusz
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL
It is my pleasure to announce that Borland will be holding a
product launch
for Kylix on Friday 23 February 2001 at The Carlton Hotel, corner Mayrol
Drive Vincent Streets, Auckland.
What time?
---
New Zealand
G'day folks,
I want to delete certain records from multiple linked tables.
The criteria (defined in sFILTER) is e.g. "ClientType = 2"
What I did is, I created the following SQL and delete records in a loop.
The thing is, that the loop seems to work quite well, it counts down
(indicated by the
Hi all,
Can anybody help me with code or a utility to convert a heap of BMP files
into JPEG files?
Thanks a lot,
John.
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website:
Thanks Steve,
Very good to know about this MesssageDlg.
In addition, wouldn't it be even better to put the MessageDlg in a loop till
Yes or No is clicked!? Otherwise the cancel (x) seems for the user an escape
but for the program an ongoing process that the user definitely not wanted
after all.
I use a my own MsgDlg from my library, where I can specify;
- a header text,
- message,
- required buttons,
-type of message (showing an associated icon):
- info
- dialogue
- error message
- error message (and terminate)
Both error messages beep and the 2nd
G'day folks,
Can anybody tell me how to control a checkbox by the keyboard?
TAI
John
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub,
G'day folks,
Is there any way of printing an TQRImage (loaded as a colour picture)
printed in black white?
TIA
John.
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website:
Hi Ross,
The problem is that you started the 'if' with 'begin' so the compiler
expects an 'end' which you don't have!
The code should be:
if InputIsCDG then
begin
case WriteRadioGroup.itemindex of
0: BINbuffer := EmptyWAV;
1: BINbuffer :=
Hi
Mark,
This
function call DBISaveChanges(Handle) sounds great, but:
1. My
compiler (D4) doesn't know about this call (what file to include
please?)
2.
Where does Handle come from?
TIA
John
-Original Message-From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
I understood that ME is good as long as you don't (want to) install it on
old hardware because of lacking old drivers.
Can any body confirm that (for delphi development) ME would be better than
98 and 2000 better than ME?
John.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Is it worth it to move from 98 to ME at all?
John
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Maurice Butler
Sent: Saturday, 07 July, 2001 11:40
To: Multiple recipients of list delphi
Subject: Re: [DUG]: If you had to choose (win98se or WinMe)
Hi,
With Quick report, is there any way of disabling the top row buttons (all
except the print close button) in the preview?
TIA
John
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Good one, thanks a lot Patrick.
Cheers,
John
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Patrick Dunford
Sent: Wednesday, 18 July, 2001 18:40
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Quick report buttons
Don't know but
Hi
Donavan,
I've
had a similar problem recently. The application ran fine on my development
machine, my laptop, and4 brand new machines at my client, but not
onthe 5th new machine (same client, similar machine, same
processoretc). It came up with an exception violation, obviously not
Hi folks,
I want to change the text in a TwwdbGrid for a particular item. The
following code doesn't work:
procedure TformREDB.dbgridSearchCalcCellColors(Sender: TObject; Field:
TField;
State: TGridDrawState; Highlight: Boolean; AFont: TFont; ABrush:
TBrush);
begin
if (field.name
Title: RE: [DUG]: TwwdbGrid
Thanks
James for the code, this works great!
As you
wrote, using the OnDrawDataCell Event is apparently obsolete! What's the
alternative?
TIA
John
-Original Message-
I think the problem is (I could be
wrong here) that by changing then Field.Text
Hi all,
I have a detail band with a stretching QRMemo on it. This doesn't stretch
when required, so I read in the QR help that you should use any stretch
component on a childBand. So I created the childBand (from the detailBand)
and moved the QRMemo to the childBand.
No luck. It still doesn't
G'day folks,
When a QR report is generated, it shows the first page (when ready) and at
the background it continues processes the remaining pages, that works fine.
But when I close the preview before all pages have been processed, it some
times generates an error:
Access violation at address
Hi Ross,
The following code is a simple routine to encrypt and decrypt strings.
Simplicity at it's best! (?)
Cheers,
John.
function EnDecrypt(s : string) : string;
{Function:
Encrypt / Decrypt given string.
Entry parameters:
s = string to en/decrypt.
Return value:
En/Decrypted
Great, show us the code!!
John
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Ross Levis
Sent: Thursday, 27 September, 2001 13:36
To: Multiple recipients of list delphi
Subject: Re: [DUG]: String Encryption routine
Thanks for the offer Nirav
Is there a way getting a unique ID code for each PC?
TIA
John
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL
Hi Paul,
Thanks very much pointing me to the indy web-page.
I had a look at the FTPdemo and that comes pretty close to what I want. Did
you have a look at this demo at all? I'm just a beginner at this field, but
can you possibly tell me how (after getting connected) to change to an
Hi all,
Can anybody tell me the difference between the following two declarations
and why you want to use the first one. The second one seems to use less
memory!
const
sName : string = 'This is a test';
and
const
sName = 'This is a test';
TIA
John.
G'day folks,
I've asked this question before and did get a satisfactory reply at that
time, but after all it doesn't seem to work the way I want it to.
What I want is to change the presentation of a dbGrig's field only when the
field ('Type') = 2.
Pseudo code:
When Type = 2 then
begin
when
71 matches
Mail list logo