[DUG]: Re: Paradox - Corrupt file / Databases

1999-03-02 Thread Tony Goodrich
If an index file is corrupt then a "techo" way of fixing the problem is: 1) delete the index file 2) run up the database administrator 3) re-index regards tony goodrich --- New Zealand Delphi Users group - Delphi Lis

[DUG]: Dumb question of the day

1999-03-02 Thread pjones
The standard edit mask should do this but I've never figured it out. How do I specify an edit mask for a $ value? If I use '###0.00' then the user can enter '12 .45' (with space) Please dont tell me to use a 3rd party control cause I cant.

RE: [DUG]: OLE and hiding the main form

1999-03-02 Thread Luke Bettis
> What I want is a way not show the main form when the EXE is being > accessed by OLE, but to show the main form normally when starting the > EXE normally. Check the command line parameter passed to the application, OLE puts something in there. I can't remember what it is offhand. You can then d

RE: [DUG]: Linux Delphi compiler

1999-03-02 Thread pjones
It's an Object Pascal compiler - not a Delphi compiler. So any VCL will need to be ported. Jeremy Coulter <[EMAIL PROTECTED]> on 03/03/99 14:07:11 Please respond to [EMAIL PROTECTED] To: Multiple recipients of list delphi <[EMAIL PROTECTED]> cc:(bcc: Peter Jones/Logistics&Informat

RE: [DUG]: Linux Delphi compiler

1999-03-02 Thread Derricutt, Mark
> Ok, just so I have NOT got the wrong end of the stick here, > if I use this > compiler, I can compile by delphi app. for DOS or Linux ?? > if so, how does it handle windows API calls ? Just to clarify with a 2 cent piece. afaik FPK will compile delphi's object pascal code, it will NOT h

RE: [DUG]: Linux Delphi compiler

1999-03-02 Thread Jeremy Coulter
Ok, just so I have NOT got the wrong end of the stick here, if I use this compiler, I can compile by delphi app. for DOS or Linux ?? if so, how does it handle windows API calls ? Jeremy Coulter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 0

RE: [DUG]: Linux Delphi compiler

1999-03-02 Thread pjones
For some reason I can't upload to the ftp site so you will need to get it from: http://tfdec1.fys.kuleuven.ac.be/~michael/fpc/fpc.html [EMAIL PROTECTED] on 03/03/99 13:41:26 Please respond to [EMAIL PROTECTED] To: Multiple recipients of list delphi <[EMAIL PROTECTED]> cc:(bcc: Peter

[DUG]: OLE and hiding the main form

1999-03-02 Thread Peter Harrison IT
I have an application which has a form I would like to bring up using OLE Automation. I have got to the point where I have a OLE automation object which does what I want - ie viewing the right form, but the main form is popping up when I do the create. What I want is a way not show the main form

RE: [DUG]: Linux Delphi compiler

1999-03-02 Thread pjones
I'll upload it to ftp.delphi.org.nz. It's called fpc-0_99_10_ELF.tar. I beleive there is an RPM version tho. If you want non Linux versions you can have a look inside the tar file for the web address. Have a look in about 1/2 an hour. Cheers "Harding, Arran" <[EMAIL PROTECTED]> on 03/03/

RE: [DUG]: Linux Delphi compiler

1999-03-02 Thread Harding, Arran
Where are these available from ?? thanks Arran Harding > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, March 03, 1999 1:47 PM > To: Multiple recipients of list delphi > Subject: Re: [DUG]: Linux Delphi compiler > > > > I've got it but

RE: [DUG]: Paradox - Corrupt file

1999-03-02 Thread Dennis Chuah
Mark, Download TUtility from Borland (Inprise, whatever) and run it against your files. I would advise that you do a verify before fixing. I have found that while this utility fixes the problem, it can cause records to be "lost" from the database. It is best to restore from backups. This is

Re: [DUG]: Linux Delphi compiler

1999-03-02 Thread pjones
I've got it but haven't managed to install it as I cant get the network going and the install is greater than 1 floppies worth! The same version is also ported to Windows/DOS I beleive so you could try it there. Also, the is a shareware/commercial product called Sybil (yuk) that looks like Del

Re: [DUG]: Access vs Interbase/SQL Server

1999-03-02 Thread pjones
The basic rule with this decison (I have found) is that if you don't write it multiuser/client-server now, then it won't happen at all - not without a rewrite anyway. Good C/S development requires time to learn and trying to adapt a single user app/database to a multiuser environment is never g

RE: [DUG]: bde alternatives

1999-03-02 Thread Patrick Dunford
-BEGIN PGP SIGNED MESSAGE- > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Laurence Bevan > Sent: Tuesday, 2 March 1999 07:10 > To: Multiple recipients of list delphi > Subject: Re: [DUG]: bde alternatives > > > For small projects, we tend

RE: [DUG]: bde alternatives

1999-03-02 Thread Patrick Dunford
-BEGIN PGP SIGNED MESSAGE- > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Jeremy Coulter > Sent: Tuesday, 2 March 1999 08:07 > To: Multiple recipients of list delphi > Subject: RE: [DUG]: bde alternatives > > > I have, and still use Titan A

RE: [DUG]: bde alternatives

1999-03-02 Thread Patrick Dunford
-BEGIN PGP SIGNED MESSAGE- > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Simon Mahony > Sent: Tuesday, 2 March 1999 09:44 > To: Multiple recipients of list delphi > Subject: RE: [DUG]: bde alternatives > > > Laurence, > does this imply tha

RE: [DUG]: Paradox - Corrupt file / Databases

1999-03-02 Thread Max Renshaw-Fox
[snip] The new ISQLW (Query Anal) is horrible and they must have used different programmers on this version. It would be nice if they extended the SQL language to allow you to write your own functions you could use within a query (eg. like GetDate()). [snip] IB has the ability to call User Defi

[DUG]: Drag-scrolling

1999-03-02 Thread Aaron Scott-Boddendijk
We have a treeview in a form which allows dragging of nodes around inside the tree... (Iknow, I know, simple stuff, works fine)... However there is the need for having the treeview autoscroll during the drag so that nodes offscreen scroll into view. I hacked together this OnDragOver routine to pe

[DUG]: Linux Delphi compiler

1999-03-02 Thread Terry Johnson
>From what I've heard, Delphi's a bit too demanding for the Windows sims out there. But that was a few months ago. >Has anyone tried any of the Delphi compilers for linux ? and if so, how did it go ? Cheers, Jeremy Coulter < --

Re: [DUG]: Access vs Interbase/SQL Server

1999-03-02 Thread Phil Scadden
> We're putting together a mission critical system for deployment to Asia. > I've almost convinced my boss to deploy Interbase as the database engine, > but the other two members of my team have come forward with a preference for > using MS Access instead. Okay. I use MS Access a LOT as a client

RE: [DUG]: environment vars

1999-03-02 Thread Colin Fraser
Hi, I believe it is a bit different in win16 vs win32, but in win32 have a look in the win api under GetEnvironmentStrings, GetEnvironmentVariable and SetEnvironementVariable. Not sure if there is an easier way. Regards Colin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PR

[DUG]: Linux Delphi compiler

1999-03-02 Thread Jeremy Coulter
Has anyone tried any of the Delphi compilers for linux ? and if so, how did it go ? Cheers, Jeremy Coulter --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delph

RE: Re: [DUG]: Interbase market presence... was SQL Server or Interbase ??

1999-03-02 Thread Gary T. Benner
[Reply] At 13:56 on 2/03/1999 Peter Hyde wrote >> Also, do not forget that what appears in journal reviews IS based on their >> advertising budgets with those magazines - this is the real world you >> know! > >You're definitely overstating it Gary. If it were literally true or >widespread, none

Re: [DUG]: Paradox - Corrupt file / Databases

1999-03-02 Thread Greg Nixon
Borland have a sample app with source that uses the TTUtility and I never found a case where it hasn't fixed it. As someone else said you need the correct TTutility.dll for the BDE version your user has. I have build it into my apps like I used to do with VB and Access (compress and repair) many y

RE: [DUG]: Paradox - Corrupt file

1999-03-02 Thread Max Renshaw-Fox
Funny: I thought Paradox was famous for stability, Access for corruption - which is why MS distribute the repair/compact as part of the jet engine. Seriously: my experience is - that like any shared file database it will corrupt, rarely IMHO, when the user, or OS, kills it off in mid flight. Acce

Re: [DUG]: Paradox - Corrupt file

1999-03-02 Thread Laurence Bevan
Mark, Paradox is famous for corrupt files. I have found over the years that it is generally an index problem caused by users not shutting programs down properly or Windows crashing etc. There are various things you can do to minimise it but I haven't used Paradox since Delphi 2 so maybe others ca

[DUG]: Paradox - Corrupt file

1999-03-02 Thread Mark Howard
Hi all Novice question Have a Delphi 3 app deployed using Paradox database. User today reported message saying "Corrupt File - other than header FileName.DB" Can you people who are doing this stuff every day tell me what you do in this situation. What is the immediate fix, if there is one - ot

Re: [DUG]: SQL Server or Interbase ??

1999-03-02 Thread Nic Wise
> Just out of curiosity. > > Having watched industry for several years I still cannot grasp one thing. > How come that, being such a wonderful database, IB is never ever listed in > DB products reviews or anything like that. It is always Oracle,MS,Informix > and Sybase people are speaking about.

Re: [DUG]: Access vs Interbase/SQL Server

1999-03-02 Thread Peter Hyde
Simon wrote: > We're putting together a mission critical system for deployment to Asia. > I've almost convinced my boss to deploy Interbase as the database engine, > but the other two members of my team have come forward with a preference > for using MS Access instead. Not real-life story, just

RE: [DUG]: Access vs Interbase/SQL Server

1999-03-02 Thread Max Renshaw-Fox
Access, like Paradox, *will* corrupt the data at some point because it's fundamental operation is based on shared files. Single, or minimally overlapping, Access databases are pretty stable in my experience but I've always instituted a regular "backup-repair-compact" regime. I also know of some ve