RE: [DUG]: GetLastError

1999-02-08 Thread John Christenhusz
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

RE: [DUG]: Filter Date/Time

1999-02-17 Thread John Christenhusz
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

[DUG]: Cloning a table

1999-03-31 Thread John Christenhusz
; 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

RE: [DUG]: Disable action on re-enabled controls - 2

1999-04-09 Thread John Christenhusz
-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

[DUG]: Application Return Code

1999-06-07 Thread John Christenhusz
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

[DUG]: Application Return Code - 2

1999-06-07 Thread John Christenhusz
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

RE: [DUG]: Getting the Working directory?

1999-06-10 Thread John Christenhusz
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

[DUG]: ReportPrinter problem

1999-07-14 Thread John Christenhusz
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

[DUG]: Delphi upgrades

1999-09-15 Thread John Christenhusz
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

RE: [DUG]: Sampling sound

1999-09-23 Thread John Christenhusz
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

[DUG]: TDBGrid component's dgMultiSelect

1999-10-14 Thread John Christenhusz
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

[DUG]: TGraphicsServer

1999-10-18 Thread John Christenhusz
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

[DUG]: Language Package

1999-10-21 Thread John Christenhusz
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

RE: [DUG]: Language Package

1999-10-21 Thread John Christenhusz
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

RE: [DUG]: Dos Error Codes

1999-11-03 Thread John Christenhusz
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

RE: [DUG]: [Q] Showing a hint manually....

1999-01-02 Thread John Christenhusz
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

RE: [DUG]: Index out of Date

1999-11-24 Thread John Christenhusz
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

RE: [DUG]: Good deal

1999-12-14 Thread John Christenhusz
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

RE: [DUG]: BP7

2000-02-02 Thread 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

[DUG]: tPageControl

2000-02-06 Thread John Christenhusz
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

[DUG]: Installation problem

2000-02-27 Thread John Christenhusz
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

[DUG]: AVI component - 2

2000-02-16 Thread John Christenhusz
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

[DUG] AVI - TMediaPlayer

2000-02-17 Thread John Christenhusz
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

RE: [DUG] AVI - TMediaPlayer - 2

2000-02-17 Thread 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

[DUG]: AVI - 3

2000-02-27 Thread John Christenhusz
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

[DUG]: Installation problem

2000-03-08 Thread John Christenhusz
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]

RE: [DUG]: Installation problem - 2

2000-03-09 Thread John Christenhusz
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

[DUG]: Lotus

2000-04-06 Thread John Christenhusz
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

[DUG]: Lotus File Structure

2000-04-10 Thread John Christenhusz
? 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

[DUG]: TwwDBGrid

2000-05-18 Thread John Christenhusz
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

[DUG]: InfoPower - wwDBLookupCombo

2000-08-15 Thread John Christenhusz
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

RE: [DUG]: InfoPower - wwDBLookupCombo

2000-08-16 Thread John Christenhusz
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

[DUG]: QuickReport

2000-08-27 Thread John Christenhusz
QuickRep1.preview; free; end; end; Any help is highly appreciated. John Christenhusz winmail.dat

[DUG]: Quick report

2000-09-12 Thread John Christenhusz
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

[DUG]: Ignore - test

2000-10-24 Thread John Christenhusz
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

[DUG]: StrToDate - DateToStr

2000-10-25 Thread John Christenhusz
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.

RE: [DUG]: StrToDate - DateToStr

2000-10-25 Thread John Christenhusz
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

[DUG]: PC id

2000-10-29 Thread John Christenhusz
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:

RE: [DUG]: Anyone developing on Windows ME?

2000-10-30 Thread John Christenhusz
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

[DUG]: Work wanted

2000-11-20 Thread John Christenhusz
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

RE: [DUG]: String Format problem

2000-11-27 Thread John Christenhusz
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

[DUG]: Debugger

2000-12-17 Thread John Christenhusz
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

RE: [DUG]: Debugger not working

2000-12-17 Thread John Christenhusz
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

[DUG]: TImage and JPG files

2001-01-30 Thread John Christenhusz
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

RE: [DUG]: TImage and JPG files - 2

2001-01-31 Thread John Christenhusz
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

[DUG]: Strange behaviour

2001-01-31 Thread John Christenhusz
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"

RE: [DUG]: Strange behaviour

2001-02-04 Thread John Christenhusz
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

RE: [DUG]: Borland Kylix product launch and training!

2001-02-06 Thread John Christenhusz
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

[DUG]: Deleting records

2001-02-19 Thread John Christenhusz
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

[DUG]: BMP to JPEG

2001-03-14 Thread John Christenhusz
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:

RE: [DUG]: Traps with MessDlg()

2001-06-20 Thread John Christenhusz
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.

RE: [DUG]: Traps with MessDlg()

2001-06-21 Thread John Christenhusz
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

[DUG]: Keyboard Control

2001-06-21 Thread John Christenhusz
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,

[DUG]: QuickReport - Colour in BW

2001-06-21 Thread John Christenhusz
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:

RE: [DUG]: if case else

2001-06-27 Thread John Christenhusz
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 :=

RE: [DUG]: Updating Physical Tables - 2

2001-07-05 Thread John Christenhusz
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

RE: [DUG]: If you had to choose (win98se or WinMe)

2001-07-05 Thread John Christenhusz
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

RE: [DUG]: If you had to choose (win98se or WinMe)

2001-07-08 Thread John Christenhusz
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)

[DUG]: Quick report buttons

2001-07-17 Thread John Christenhusz
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]

RE: [DUG]: Quick report buttons

2001-07-18 Thread John Christenhusz
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

RE: [DUG]: [Q] Windows Update / BDE

2001-08-14 Thread John Christenhusz
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

[DUG]: TwwdbGrid

2001-08-14 Thread John Christenhusz
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

RE: [DUG]: TwwdbGrid

2001-08-14 Thread John Christenhusz
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

[DUG]: QuickReport

2001-08-16 Thread John Christenhusz
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

[DUG]: QuickReport

2001-09-10 Thread John Christenhusz
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

RE: [DUG]: String Encryption routine

2001-09-25 Thread John Christenhusz
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

RE: [DUG]: String Encryption routine

2001-09-26 Thread John Christenhusz
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

[DUG]: Unique PC ID code

2001-10-27 Thread John Christenhusz
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

RE: [DUG]: automated HTTP file uploads

2001-10-31 Thread John Christenhusz
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

[DUG]: Const

2001-11-11 Thread John Christenhusz
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.

[DUG]: dbGrid

2001-10-14 Thread John Christenhusz
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