Re: [DUG]: Index out of Date

1999-11-24 Thread Eion McIntosh



Patrick Dunford wrote:

>
> There are two major possibilities
>
> 1. You are using a non maintained secondary index. Change all such indexes
> to maintained and this problem will disappear.
> 2. Your indexes are getting corrupted. Various fixes which include flushing
> all the data to disk each time you post, have been suggested here in the
> past.
>
> How frequently is "periodically"?

This has happened three times in the last 5 months.

Eion

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



[DUG]: Form creation / display order

1999-11-24 Thread Patrick Dunford

I have a project in which the main form that is set is being displayed
first, along with a second form that I don't want displayed.

All forms are auto-created in this project. I have never encountered a
situation before where a form will show itself automatically when it is not
the main form. How do I stop the other form from showing?


Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
http://www.trainweb.org/enzedrail/

--
Visit the Canterbury Railway Society Website
http://www.trainweb.org/canterbury/

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



[DUG]: Project source file - form creations

1999-11-24 Thread Patrick Dunford

I am seeing a lot of bizarre behaviour in D3 with one particular project
with the Application.CreateForm statements in project source.

1. It will not allow there to be no CreateForm calls in the project source.

2. The statements found here do not match the settings shown in Project |
Options | Forms

Right now I am looking at this project source

program DBRepair;

uses
  Forms,
  Errtbdlg in
'..\..\..\..\Software\Delphi\TUtility\O2A\Delphi2-3\tu32\TU\Demos\BtchProj\E
RRTBDLG.PAS' {BtnBottomDlg},
  License in 'License.pas' {LicenseForm};

{$R *.RES}

begin
  Application.CreateForm(TBtnBottomDlg, BtnBottomDlg);
  Application.CreateForm(TLicenseForm, LicenseForm);
  Application.Run;
end.

And the Project | Forms dialog looks like:

Main form: LicenseForm
Autocreate forms: LicenseForm
Available forms: BtnBottomDlg

The problems are obvious enough:
a. Both forms should be in the autocreate list.
b. The main form being LicenseForm, this should appear first in the
Application.CreateForm statements.
c. The form that is appearing first on the screen at runtime (and closes the
application when closed) is, you guessed it, BtnBottomDlg.
d. if I now tell Delphi that BtnBottomDlg is supposed to be in the list of
autocreated forms then it will add a second CreateForm statement for
TBtnBottomDlg to the one that is already there.
So my project source now looks like this:

  Application.CreateForm(TBtnBottomDlg, BtnBottomDlg);
  Application.CreateForm(TLicenseForm, LicenseForm);
  Application.CreateForm(TBtnBottomDlg, BtnBottomDlg);

And Delphi still insists that TLicenseForm is the main form. If I move
TLicenseForm to the top of the list, Delphi now insists that two
BtnBottomDlgs will be auto-created and LicenseForm is now in the list of
available forms. It seems the only way that will work is

  Application.CreateForm(TLicenseForm, LicenseForm);
  Application.CreateForm(TLicenseForm, LicenseForm);
  Application.CreateForm(TBtnBottomDlg, BtnBottomDlg);

This is stupid. I don't remember this from Delphi 2.


Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
http://www.trainweb.org/enzedrail/

--
Visit the Canterbury Railway Society Website
http://www.trainweb.org/canterbury/

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Index out of Date

1999-11-24 Thread Patrick Dunford

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Eion McIntosh (CHCH)
> Sent: Thursday, 25 November 1999 12:53
> To: Multiple recipients of list delphi
> Subject: [DUG]: Index out of Date
>
>
> Hi
>
> Has anyone come across the 'Index out of date' error message.
> One of my applications is currently getting this message periodically
> and the only way around it is to copy all the records into an empty
> database.
> No other applications we have have done this.
>
> Borland's FAQ site mentions this error in Paradox Tables on NT and
> mentions opportunistic locking and mentions making some new registry
> settings but we are getting this on an 95 machine with a Dbase table.
>
> Any ideas?

There are two major possibilities

1. You are using a non maintained secondary index. Change all such indexes
to maintained and this problem will disappear.
2. Your indexes are getting corrupted. Various fixes which include flushing
all the data to disk each time you post, have been suggested here in the
past.

How frequently is "periodically"?


Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: InstallShield

1999-11-24 Thread Chris Crowe

Is MS Outlook running?, if so shut it down before the install, most install
sheild installs run like a pig when OutLook is Open.

Chris



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Andrew Masters
Sent: Thursday, November 25, 1999 2:20 PM
To: Multiple recipients of list delphi
Subject: [DUG]: InstallShield


Hi All,

I have a bizzare problem. Firstly I have an install set of my app using the
out of the box ISExpress. This works fine and has done for some time.

My app will not install on a new clients PC. The PC is a bit of a kamakooza
but runs OK.  It's a floppy based install. PROBLEM is it runs but at an
absolute snail pace. I thought there was a floppy problem so I copied each
disk image to the HDD and ran it from there. It still ran at snail pace. By
this I mean it normally takes two minutes to do the whole install, on this
PC it advances 1% every 2 two minutes !! And it's not just the decompression
stage, even the preamble dialogs asking for install directory etc all paint
really slowly, respond to key clicks slowly etc. Infact the entire win95
system grinds to a halt while the IS install app is running (just running,
not even at teh decompress stage yet). It's odd !!

As a test I've tried installing Word, Publisher and Act, they all run OK. I
tried the BDE5.01 upgrade as a test too as it uses IS, and it has the same
problem.

Is there a known compatability problem with IS ? Anyone seen anything
remotely like this before ??

Any ideas much appreciated

TIA
Andrew Masters
Clinical Solutions Ltd
Auckland, NZ
Ph: +64-9-476-0106
Fax: +64-9-476-0108
e: [EMAIL PROTECTED]


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz


BEGIN:VCARD
VERSION:2.1
N:Crowe;Chris
FN:Chris Crowe
ORG:Byte Computer & Software
TITLE:Programmer
TEL;WORK;VOICE:3651-112
TEL;HOME;VOICE:3385-392
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;132 Peterbrough Street=0D=0AChristchurch  8001;261-655;;;New Zealand
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:132 Peterbrough Street=0D=0AChristchurch  8001=0D=0A261-655=0D=0ANew Zealand
ADR;HOME;ENCODING=QUOTED-PRINTABLE:;;59 McBeath Ave=0D=0AHoon-Hay;Christchurch;;8002;New Zealand
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:59 McBeath Ave=0D=0AHoon-Hay=0D=0AChristchurch 8002=0D=0ANew Zealand
URL:
URL:http://www.adrock.com
ROLE:Delphi Programmer, Component Builder, Web Page Development, Vertical Market Applications
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
REV:19991029T010606Z
END:VCARD



RE: [DUG]: InstallShield

1999-11-24 Thread Scott Cree

I also had that problem when running O&O Clevercache on NT4. Installshield
just crawled along.
So check that you're not running any disk caching software or that virus
checkers aren't slowing it down.

-Original Message-
From: Andrew Masters [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 25 November 1999 14:20
To: Multiple recipients of list delphi
Subject: [DUG]: InstallShield


Hi All,

I have a bizzare problem. Firstly I have an install set of my app using the
out of the box ISExpress. This works fine and has done for some time.

My app will not install on a new clients PC. The PC is a bit of a kamakooza
but runs OK.  It's a floppy based install. PROBLEM is it runs but at an
absolute snail pace. I thought there was a floppy problem so I copied each
disk image to the HDD and ran it from there. It still ran at snail pace. By
this I mean it normally takes two minutes to do the whole install, on this
PC it advances 1% every 2 two minutes !! And it's not just the decompression
stage, even the preamble dialogs asking for install directory etc all paint
really slowly, respond to key clicks slowly etc. Infact the entire win95
system grinds to a halt while the IS install app is running (just running,
not even at teh decompress stage yet). It's odd !!

As a test I've tried installing Word, Publisher and Act, they all run OK. I
tried the BDE5.01 upgrade as a test too as it uses IS, and it has the same
problem.

Is there a known compatability problem with IS ? Anyone seen anything
remotely like this before ??

Any ideas much appreciated

TIA
Andrew Masters
Clinical Solutions Ltd
Auckland, NZ
Ph: +64-9-476-0106
Fax: +64-9-476-0108 
e: [EMAIL PROTECTED]


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Help Options

1999-11-24 Thread Donovan J. Edye

I can also recommend H&M.


--Donovan
Donovan J. Edye [www.edye.wattle.id.au]
Namadgi Systems, Delphi Developer
Web: www.namsys.com.au E-Mail: [EMAIL PROTECTED]
Voice: +61 2 6285-3460 Fax: +61 2 6285-3459
TVisualBasic = Class(None);



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Coulter, Jeremy
> Sent: Thursday, 25 November 1999 08:01
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: Help Options
>
>
> Have a look at Help and Manual http://www.ec-software.com
>
> I find it really good.
> You can download a fully funcational demo, and will create HELP,
> HTML HELP,
> WIN16 HELP, AND its a one stop shop. I.e. it will create the help
> file AND a
> manual all in one go.
>
> Worth a lookWYSIWIG too
>
> Jeremy Coulter
> Application Developer
>
> Application Development Centre
> Compaq Computer New Zealand Ltd.
>
> Phone:64 3 371 5724
> Fax:  64 3 371 5724
> Mobile:   64 0212533214
> E-mail:   [EMAIL PROTECTED]
> Personal Email: [EMAIL PROTECTED]
>
>
>
> -Original Message-
> From: Backup Co [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 25, 1999 10:02 AM
> To: Multiple recipients of list delphi
> Subject: [DUG]: Help Options
>
>
> This may have already been on the list but..
>
> Damned users keep making snide comments about a manual or on-line help for
> my application.  (I thought I might get away with Hints, not likely!)
>
> What do people use/recommend, is RoboHelp worth it's 3-4k price tag?
>
> Any comments gratefully received
>
> --
> -
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>   Website: http://www.delphi.org.nz
> --
> -
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>   Website: http://www.delphi.org.nz
>

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: InstallShield

1999-11-24 Thread Neil Anderson

I found installs ran at a snails pace when the machine had virus scanning
software which was set to scan all files

Neil

-Original Message-
From: Andrew Masters [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 25 November 1999 14:20
To: Multiple recipients of list delphi
Subject: [DUG]: InstallShield


Hi All,

I have a bizzare problem. Firstly I have an install set of my app using the
out of the box ISExpress. This works fine and has done for some time.

My app will not install on a new clients PC. The PC is a bit of a kamakooza
but runs OK.  It's a floppy based install. PROBLEM is it runs but at an
absolute snail pace. I thought there was a floppy problem so I copied each
disk image to the HDD and ran it from there. It still ran at snail pace. By
this I mean it normally takes two minutes to do the whole install, on this
PC it advances 1% every 2 two minutes !! And it's not just the decompression
stage, even the preamble dialogs asking for install directory etc all paint
really slowly, respond to key clicks slowly etc. Infact the entire win95
system grinds to a halt while the IS install app is running (just running,
not even at teh decompress stage yet). It's odd !!

As a test I've tried installing Word, Publisher and Act, they all run OK. I
tried the BDE5.01 upgrade as a test too as it uses IS, and it has the same
problem.

Is there a known compatability problem with IS ? Anyone seen anything
remotely like this before ??

Any ideas much appreciated

TIA
Andrew Masters
Clinical Solutions Ltd
Auckland, NZ
Ph: +64-9-476-0106
Fax: +64-9-476-0108 
e: [EMAIL PROTECTED]


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



[DUG]: InstallShield

1999-11-24 Thread Andrew Masters

Hi All,

I have a bizzare problem. Firstly I have an install set of my app using the out of the 
box ISExpress. This works fine and has done for some time.

My app will not install on a new clients PC. The PC is a bit of a kamakooza but runs 
OK.  It's a floppy based install. PROBLEM is it runs but at an absolute snail pace. I 
thought there was a floppy problem so I copied each disk image to the HDD and ran it 
from there. It still ran at snail pace. By this I mean it normally takes two minutes 
to do the whole install, on this PC it advances 1% every 2 two minutes !! And it's not 
just the decompression stage, even the preamble dialogs asking for install directory 
etc all paint really slowly, respond to key clicks slowly etc. Infact the entire win95 
system grinds to a halt while the IS install app is running (just running, not even at 
teh decompress stage yet). It's odd !!

As a test I've tried installing Word, Publisher and Act, they all run OK. I tried the 
BDE5.01 upgrade as a test too as it uses IS, and it has the same problem.

Is there a known compatability problem with IS ? Anyone seen anything remotely like 
this before ??

Any ideas much appreciated

TIA
Andrew Masters
Clinical Solutions Ltd
Auckland, NZ
Ph: +64-9-476-0106
Fax: +64-9-476-0108 
e: [EMAIL PROTECTED]


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



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
> 
> 
> Hi
> 
> Has anyone come across the 'Index out of date' error message.
> One of my applications is currently getting this message periodically
> and the only way around it is to copy all the records into an empty
> database.
> No other applications we have have done this.
> 
> Borland's FAQ site mentions this error in Paradox Tables on NT and
> mentions opportunistic locking and mentions making some new registry
> settings but we are getting this on an 95 machine with a Dbase table.
> 
> Any ideas?
> 
> Eion
> --
> -
> New Zealand Delphi Users group - Delphi List - 
> [EMAIL PROTECTED]
>   Website: http://www.delphi.org.nz
> 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



[DUG]: Updating custom built Tedit & TDBEdit

1999-11-24 Thread Eion McIntosh (CHCH)

Hi

I have built a two custom components to do something special based on
TEdit and TDBEdit.

The component works fine and does what it is supposed to except that
when I exit it the edit display changes to what I want but it is not
reflected if I copy it to another field until I enter and exit it again.
I have noticed that if I copy on the ONEXIT event that this is done
first before it does the custom component logic.

The TDBedit version shows the orginal information and it not put in the
database unless I enter and exit again.

What am I missing.

Eion
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



[DUG]: Index out of Date

1999-11-24 Thread Eion McIntosh (CHCH)

Hi

Has anyone come across the 'Index out of date' error message.
One of my applications is currently getting this message periodically
and the only way around it is to copy all the records into an empty
database.
No other applications we have have done this.

Borland's FAQ site mentions this error in Paradox Tables on NT and
mentions opportunistic locking and mentions making some new registry
settings but we are getting this on an 95 machine with a Dbase table.

Any ideas?

Eion
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



Re: [DUG]: Help Options

1999-11-24 Thread Leo Ramakers

hi,

I have used Helpscribble (http://www.jgsoft.com/helpscr.html ). Its shareware,
has a free trial version but costs U$D79 to register. It has been fine for my
needs.

Leo Ramakers
SoftOption

Backup Co wrote:

> This may have already been on the list but..
>
> Damned users keep making snide comments about a manual or on-line help for
> my application.  (I thought I might get away with Hints, not likely!)
>
> What do people use/recommend, is RoboHelp worth it's 3-4k price tag?
>
> Any comments gratefully received
>
> ---
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>   Website: http://www.delphi.org.nz

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



Re: [DUG]: Help Options

1999-11-24 Thread pdunford

Quoting Backup Co <[EMAIL PROTECTED]>:

> This may have already been on the list but..
> 
> Damned users keep making snide comments about a manual or on-line help for
> my application.  (I thought I might get away with Hints, not likely!)
> 
> What do people use/recommend, is RoboHelp worth it's 3-4k price tag?
> 
> Any comments gratefully received

MS HTML Help is worthwhile and you can download the help compilers free from MS.
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



Re: [DUG]: Determining if Object Implements an interface

1999-11-24 Thread Aaron Scott-Boddendijk

> As an aside, for those of you who have used interfaces, do you think
> Borland's implementation can do with a bit of improvement.  I mean wouldn't
> it be better to have a garbage collector rather than use the addref /
> release mechanism, which BTW, calls an expensive kernel API to increment /
> decrement the reference count.  So here is another tip - if you don't need
> your implementation classes to be thread safe, you can override AddRef and
> Release to bypass the use of the kernel api calls - its faster.

issues exist also in replacing the direct release on last reference with the garbage
collection...

1. The garbage collection is unpredictable and so machine resources are harder
  to manage in resource starved environments.
2. Garbage collection is often driven in a separate thread via idle monitoring -
  since most resource use is during intense processing, resource recovery will
  not begin until after such processing (which may not be in time to release
  resources)...
3. Issues of thread safety in existing VCL code may incur impractical costs in
  implementing a garbage collector under the current delphi implementation.

--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Help Options

1999-11-24 Thread Coulter, Jeremy

Have a look at Help and Manual http://www.ec-software.com

I find it really good.
You can download a fully funcational demo, and will create HELP, HTML HELP,
WIN16 HELP, AND its a one stop shop. I.e. it will create the help file AND a
manual all in one go.

Worth a lookWYSIWIG too

Jeremy Coulter
Application Developer

Application Development Centre
Compaq Computer New Zealand Ltd.

Phone:  64 3 371 5724
Fax:64 3 371 5724
Mobile:   64 0212533214
E-mail: [EMAIL PROTECTED]   
Personal Email: [EMAIL PROTECTED]



-Original Message-
From: Backup Co [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 25, 1999 10:02 AM
To: Multiple recipients of list delphi
Subject: [DUG]: Help Options


This may have already been on the list but..

Damned users keep making snide comments about a manual or on-line help for
my application.  (I thought I might get away with Hints, not likely!)

What do people use/recommend, is RoboHelp worth it's 3-4k price tag?

Any comments gratefully received

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



[DUG]: Help Options

1999-11-24 Thread Backup Co

This may have already been on the list but..

Damned users keep making snide comments about a manual or on-line help for
my application.  (I thought I might get away with Hints, not likely!)

What do people use/recommend, is RoboHelp worth it's 3-4k price tag?

Any comments gratefully received

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



[DUG]: Using DAO leaves behind a .LDB file

1999-11-24 Thread Chris Crowe

Hi,

I have a problem that the MS Access lock file (*.LDB) is left behind after
some editing which is done though my update program.

I need to get rid of this lock file so that I can rename the main database
file, which I can not since it is basically in use and is locked.

Does anyone have any experience in this field?, and any ideas of what I can
do?

I am using 100% DAO using OLEVariants to access the database.

I run some append queries, and open some recordsets.

I close the recordsets by using Table.Close, and then Table := UnAssigned,
is their a better method...


Chris

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



[DUG]: Delphi and EDIFACT translation

1999-11-24 Thread Bernard Varaine

I have to install an EDIFACT translation for one of my customer. Anyone with an 
exisitng solution or components or ideas where I could look ?

thanks


Bernard Varaine

Digital Objects Ltd www.digitalobjects.co.nz
PO Box 60510   Mobile: 025 2777-843
Titirangi   Fax:  (09) 8128-368
AucklandPhone: 0800 LETS DO IT
New Zealand   0800 538-736 

 smime.p7s