Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-06 Thread Graeme Geldenhuys
On Sun, Apr 5, 2009 at 10:43 PM, Giuseppe Luigi Punzi Ruiz glpu...@lordzealon.com wrote: The DB needs to be firebird owner, and firebird group, and the user, in firebird group. Cheers, and thanks a lot for all. No problem, glad I could help. :) Regards, - Graeme -

Re: [Lazarus] read text file in lazarus

2009-04-06 Thread Bernd Mueller
svaa wrote: So the conclusion: For many cases, loadFromFile is faster. Even when increase the text buffer and try again ;-) Regards, Bernd. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

Re: [Lazarus] OT: Namespaces?

2009-04-06 Thread Hans-Peter Diettrich
dmitry boyarintsev schrieb: why aliases units names are required? E.g. when you have multiple third-party units of the same name. DoDi ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] OT: Namespaces?

2009-04-06 Thread dmitry boyarintsev
E.g. when you have multiple third-party units of the same name. there's a good ways to handle this: rename your units (adding my prefixed, like my_* to unit name). Usually 3d party units (usually libraries) do this, prefixing their names. after all, aliasing is dangerous, because, you might

[Lazarus] How to compile lazarus from its SVN source in WinXP?

2009-04-06 Thread Popeye Spinach
I have checked out latest lazarus from SVN using TortoiseSVN. I have also downloaded FPC 2.2.2 installer and fpcbuild2.2.2. What then now? I coudn't follow the instructions in http://wiki.lazarus.freepascal.org/Getting_Lazarusi. The information for compiling under WinXP seems has outdated.

Re: [Lazarus] How to compile lazarus from its SVN source in WinXP?

2009-04-06 Thread Bogusław Brandys
Popeye Spinach wrote: I have checked out latest lazarus from SVN using TortoiseSVN. I have also downloaded FPC 2.2.2 installer and fpcbuild2.2.2. What then now? I coudn't follow the instructions in http://wiki.lazarus. freepascal.org/Getting_ Lazarusi

[Lazarus] OT: Namespaces?

2009-04-06 Thread Hans-Peter Diettrich
From a discussion I want to present this idea: FPC (and Delphi) could extend the Uses syntax to USES unitname [IN filename] [AS identifier] The optional AS part would allow to create an alias (shortcut...) for units of possibly conflicting (same) name. IMO a simple implementation of the

Re: [Lazarus] How to compile lazarus from its SVN source in WinXP?

2009-04-06 Thread Leslie Kaye
Popeye Spinach wrote: I have checked out latest lazarus from SVN using TortoiseSVN. I have also downloaded FPC 2.2.2 installer and fpcbuild2.2.2. What then now? I coudn't follow the instructions in http://wiki.lazarus.freepascal.org/Getting_Lazarusi

Re: [Lazarus] How to compile lazarus from its SVN source in WinXP?

2009-04-06 Thread Joost van der Sluis
Op maandag 06-04-2009 om 13:37 uur [tijdzone +0200], schreef Bogusław Brandys: Popeye Spinach wrote: I have checked out latest lazarus from SVN using TortoiseSVN. I have also downloaded FPC 2.2.2 installer and fpcbuild2.2.2. What then now? I coudn't follow the instructions in

Re: [Lazarus] How to compile lazarus from its SVN source in WinXP?

2009-04-06 Thread Martin Friebe
Leslie Kaye wrote: Popeye Spinach wrote: I have checked out latest lazarus from SVN using TortoiseSVN. I have also downloaded FPC 2.2.2 installer and fpcbuild2.2.2. What then now? I coudn't follow the instructions in http://wiki.lazarus.freepascal.org/Getting_Lazarusi

[Lazarus] mbox mail format conversion to SQL database

2009-04-06 Thread Graeme Geldenhuys
Hi, I'm about to tackle this project. It seems that the mbox mail format is quite simple. But to save myself some time... if anybody knows of a tool that can convert mbox mail into SQL database tables that would be great. Reason for conversion: I want to write a CGI app using Lazarus that allows

Re: [Lazarus] mbox mail format conversion to SQL database

2009-04-06 Thread David W Noon
On Mon, 2009-04-06 at 16:26 +0200, Graeme Geldenhuys wrote: I'm about to tackle this project. It seems that the mbox mail format is quite simple. But to save myself some time... if anybody knows of a tool that can convert mbox mail into SQL database tables that would be great. There is a MDA

Re: [Lazarus] mbox mail format conversion to SQL database

2009-04-06 Thread Graeme Geldenhuys
On Mon, Apr 6, 2009 at 6:02 PM, David W Noon david.w.n...@ntlworld.com wrote: There is a MDA called dbmail that uses PostgreSQL or MySQL as its storage back-end. You can import messages into it using your favourite MUA (e.g. KMail, Evolution, M$ Lookout) and it will store them using dbmail's

Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-06 Thread Moshe Berlin
How about this error msg from Flamerobin in Linux? Our Firebird works fine in Windows with Delphi, but we'd like to convert everything to FPC/Lazarus/Firebird in Linux context:database::connect message:isc_attach_database failed sql message: -923 can't format message 13:77 --message

Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-06 Thread Graeme Geldenhuys
2009/4/6 Moshe Berlin mosheber...@yahoo.com: How about this error msg from Flamerobin in Linux? Our Firebird works fine in Windows with Delphi, but we'd like to convert everything to FPC/Lazarus/Firebird in Linux context:database::connect message:isc_attach_database failed sql

Re: [Lazarus] Loading a from layout from external file

2009-04-06 Thread Mattias Gaertner
On Tue, 7 Apr 2009 00:04:47 +0300 ik ido...@gmail.com wrote: Hello, Is there a way to load a form layout (lfm) on runtime ? See here http://wiki.lazarus.freepascal.org/Streaming_components#Writing_and_Reading_components_from.2Fto_LFM Mattias ___

[Lazarus] How to draw a progress bar under a column of a listview?

2009-04-06 Thread YanChengyuan
hi,all!i'm looking for a way to make a listview looks like this: i set a list view to vsReport and wrote the following code: Procedure Tform1.Button1click(Sender: Tobject); var l:TListItem; r:TRect; Begin l:=lv.Items.Add; l.Caption:='item '+IntToStr(lv.Items.Count);