[DUG]: Midas performance and maybe BDE Threading

2001-09-06 Thread Chris Reynolds
Someone has just upgraded one of my old systems to three-tier. There seems to be a serious bottle-neck between the middle tier (Midas) and the back-end (Interbase). At the moment they are still using BDE components. Having never used Midas in anger, I am not much help. Does anyone know of any

[DUG]: Buying Delphi

2001-09-06 Thread Phil Middlemiss
It's been a while (Delphi 4 infact) and a different company. Can anyone tell me who the NZ distributor for Delphi is? Contact details etc? Thanks, Phil. --- New Zealand Delphi Users group - Delphi List - [EMAIL

RE: [DUG]: Buying Delphi

2001-09-06 Thread James Sugrue
Just ring borland directly. Its on the website www.borland.co.nz or wait for Nic to respond ;-) -Original Message- From: Phil Middlemiss [mailto:[EMAIL PROTECTED]] Sent: Friday, 7 September 2001 09:15 To: Multiple recipients of list delphi Subject: [DUG]: Buying Delphi It's been a

Re: [DUG]: Buying Delphi

2001-09-06 Thread Nic Wise
How about: Borland New Zealand Ltd ph: 09-3600231 fax: 09-3600384 ask for Alice or Olivia. We dont have distributors anymore - we split from Sealcorp last year, and they have since gone under. :) Nic. - Original Message - From: Phil Middlemiss [EMAIL PROTECTED] To: Multiple

Re: [DUG]: Midas performance and maybe BDE Threading

2001-09-06 Thread Peter Speden
1stly. Did the system originally use a file based DB like Paradox. If the answer is yes, is the new app using TTables or TQueries. This is the first bottleneck and relates to C/S developement in general. There are several other things that can cause this, and they are not necessarily related

[DUG]: [Q] Component Questions

2001-09-06 Thread Donovan J. Edye
G'Day All, If I have something like: TMyBaseComponent = class(TComponent) private FMyProp : string; FOnMyEvent : TNotifyEvent; published property MyProp : string read FMyProp write FMyProp; property OnMyEvent : TNotifyEvent read FOnMyEvent write FOnMyEvent; end; TMyDescendantComponent =

RE: [DUG]: [Q] Component Questions

2001-09-06 Thread Myles Penlington
Easy, use abstraction .. Do this instead .. (However if you cannot change your base class you arebasically stuffed ... ). eg TMyBaseComponent = class(TComponent)private FMyProp : string; FOnMyEvent : TNotifyEvent; protected procedure SetMyProp( const Value: String ); virtual; procedure

RE: [DUG]: [Q] Component Questions

2001-09-06 Thread Max Nilson
Donovan asked: 1. Determine when MyProp is changed so that TMyDescendantComponent can take some specialised action The main way to achieve this is to modify the base component to use a SetMyProp to stire the new value into the FMyProp, and either have this SetMyProp procedure virtual so that

RE: [DUG]: [Q] Component Questions

2001-09-06 Thread Stephen Bertram
If you have written TMyBaseComponent change it to : TMyBaseComponent = class(TComponent)private FMyProp : string; FOnMyEvent : TNotifyEvent; protected procedure SetMyProp(Value: string); virtual; published property MyProp : string read FMyProp write SetMyProp; property OnMyEvent :

Re: [DUG]: Midas performance and maybe BDE Threading

2001-09-06 Thread Nic Wise
Incase Chris is busy, I'll jump in, as I think I know the project he's talking about 1stly. Did the system originally use a file based DB like Paradox. If the answer is yes, is the new app using TTables or TQueries. This is the first bottleneck and relates to C/S developement in

Re: Re: [DUG]: Midas performance and maybe BDE Threading

2001-09-06 Thread Peter Speden
snip Which MIDAS connection method are they using Sockets, DCOM, WebConnection? Sockets is the fastest. If sockets then check that the SCKTSVR has the resolve host names set off. Sockets. - I dont think it has resolve hostname turned off tho. Turning it off will make it way better on

RE: [DUG]: Trapping ctrl+v

2001-09-06 Thread Jeremy Coulter
thanks for that. The problem seems to be that when the ctrl is held down, it doesnt fire the keypress or keyup events. Strange. Jeremy Coulter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andrew Little Sent: Thursday, 6 September 2001 16:44 To:

RE: [DUG]: Trapping ctrl+v

2001-09-06 Thread Myles Penlington
That's right, neither does Alt or Shift or Caps lock - but you can get their state if required when another key is pressed in combination with them. Myles. -Original Message- From: Jeremy Coulter [mailto:[EMAIL PROTECTED]] Sent: Friday, 7 September 2001 12:45 p.m. To: Multiple recipients

RE: [DUG]: Trapping ctrl+v

2001-09-06 Thread Patrick Dunford
Correct, CTRL is passed as one of the flags, it is V you are trapping. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jeremy Coulter Sent: Friday, 7 September 2001 12:55 To: Multiple recipients of list delphi Subject: RE: [DUG]: Trapping ctrl+v

RE: [DUG]: Trapping ctrl+v

2001-09-06 Thread Jeremy Coulter
yip all sorted. Thanks, Jeremy Coulter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Myles Penlington Sent: Friday, 7 September 2001 13:01 To: Multiple recipients of list delphi Subject: RE: [DUG]: Trapping ctrl+v That's right, neither does Alt or

[DUG]: help with diskfree

2001-09-06 Thread abaddon
hi all here is my piece of code. i am wanting to add the diskfree function to it but the d6 personal help files are not very help full on this matter to the fact it isn't even in the help files(that i can find) the piece of code gets my hdd's what i want to do is add the diskfree function to it

Re: [DUG]: help with diskfree

2001-09-06 Thread Phil Scadden
i am wanting to add the diskfree function to it but the d6 personal help files are not very help full on this matter to the fact it isn't even in the help files(that i can find) Delphi is long long way from protecting you from dealing with the Win32 API - you need the win32 SDK help files as

Re: [DUG]: Buying Delphi

2001-09-06 Thread Phil Middlemiss
Thanks, I found the fax page on the web site in the end (missed it the first time). cheers, Phil. - Original Message - From: Nic Wise [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Friday, September 07, 2001 9:25 AM Subject: Re: [DUG]: Buying Delphi

RE: Re: [DUG]: Midas performance and maybe BDE Threading

2001-09-06 Thread Chris Reynolds
Thanks guys. In summary :- 1. All the usual problems of changing from ISAM to SQL 2. BDE threading not an issue if each user has a seperate connection 3. Sockets is fastest connection method (I dont think the stalling is in the connect so I dont think the host resolution has any bearing) 4.

Re: [DUG]: help with diskfree

2001-09-06 Thread abaddon
On Fri, 07 Sep 2001 13:47:01 +1200, you wrote: error incompatible types byte andtrng Memo1.Lines.Add(dletter+Diskfree(dletter)+' Bytes Free'); ... Brendon Toogood E-Mail [EMAIL PROTECTED] --- New Zealand

Re: Re: [DUG]: Midas performance and maybe BDE Threading

2001-09-06 Thread Nic Wise
I wonder if the Midas caching of the master dataset is forcing full population of all the child datasets. Unless Campbell has changed it, yes, it does :) One of the datasets also has a couple of blob fields so that could also be causing overwork. Not to the degree that this is, AFAIK. N

Re: [DUG]: help with diskfree

2001-09-06 Thread Robert Martin
The diskfree procedure takes a numeric value as its parameter. 0 for the first hdd (C:) 1 for second (d:) etc. Robert Martin Software Engineer Wild Software Ltd - Original Message - From: [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Friday, September