[lazarus] postgres revisited

2008-02-08 Thread Alex du Plessis
Hi all Earlier I reported a problem finding libpq.dll. I then suspected a problem on my disc and did a complete Windows XP re-install, followed by a postgres 8.3 install and then a Lazarus 0.9.25 re-install. I started by changing fpc.cfg to add the library path of the libpq.dll file to

Re: [lazarus] postgres revisited

2008-02-08 Thread Alex du Plessis
Marc Weustink wrote: Alex du Plessis wrote: Alex du Plessis wrote: Hi all Earlier I reported a problem finding libpq.dll. I then suspected a problem on my disc and did a complete Windows XP re-install, followed by a postgres 8.3 install and then a Lazarus 0.9.25 re-install. I

Re: [lazarus] postgres revisited

2008-02-08 Thread Alex du Plessis
Alex du Plessis wrote: Hi all Earlier I reported a problem finding libpq.dll. I then suspected a problem on my disc and did a complete Windows XP re-install, followed by a postgres 8.3 install and then a Lazarus 0.9.25 re-install. I started by changing fpc.cfg to add the library path

Re: [lazarus] postgres revisited

2008-02-08 Thread Alex du Plessis
Vincent Snijders wrote: Alex du Plessis schreef: Marc Weustink wrote: Alex du Plessis wrote: Alex du Plessis wrote: Hi all Earlier I reported a problem finding libpq.dll. I then suspected a problem on my disc and did a complete Windows XP re-install, followed by a postgres 8.3 install

Re: [lazarus] Trouble with postgres

2008-02-06 Thread Alex du Plessis
Vincent Snijders wrote: Alex du Plessis schreef: I certainly did - and in the library file directory one only finds the libpq.a file no libpq.dll That is a bit strange. Did previous version install a dll? Vincent

Re: [lazarus] Trouble with postgres

2008-02-06 Thread Alex du Plessis
Alex du Plessis wrote: Vincent Snijders wrote: Alex du Plessis schreef: I certainly did - and in the library file directory one only finds the libpq.a file no libpq.dll That is a bit strange. Did previous version install a dll? Vincent

Re: [lazarus] Trouble with postgres

2008-02-06 Thread Alex du Plessis
Vincent Snijders wrote: Alex du Plessis schreef: I did a re-install of postgres and now libpq is a .lib file. Any thoughts on what that file type might be? Seems the only workaround at the moment is to use odbc. With odbc at least I can get connected I still need to find out how

Re: [lazarus] Trouble with postgres

2008-02-06 Thread Alex du Plessis
Joost van order Sluis wrote: Op woensdag 06-02-2008 om 10:16 uur [tijdzone +0200], schreef Alex du Plessis: Vincent Snijders wrote: Alex du Plessis schreef: I certainly did - and in the library file directory one only finds the libpq.a file no libpq.dll

[lazarus] Trouble with postgres

2008-02-05 Thread Alex du Plessis
project has come to a grinding halt. Regards Alex du Plessis _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Re: [lazarus] Trouble with postgres

2008-02-05 Thread Alex du Plessis
Vincent Snijders wrote: Alex du Plessis schreef: I have recently installed lazarus 0.9.25 and postgres version 8.3 on a Windows XP box. sqldb used to connect flawlessly in my previous installations but suddenly I have no luck in connecting to the database.Even after updating fpc.cfg

[lazarus] TurboPower IPro

2006-11-06 Thread Alex du Plessis
Hello List, I am trying to use TIPHTMLPanel with TIPFileDataProvider. Everything works fine until I try to click on an anchor to take me to another page. Here things go a bit pear shaped - the IPPanel complains it cannot open the file, even though it is in the same directory as the file

Re: [lazarus] TurboPower IPro

2006-11-06 Thread Alex du Plessis
Thank you, that certainly did the trick. Jesús Reyes A. wrote: - Original Message - From: Alex du Plessis [EMAIL PROTECTED] To: Lazarus mailing list lazarus@miraclec.com Sent: Monday, November 06, 2006 10:34 AM Subject: [lazarus] TurboPower IPro Hello List, I am trying to use

[lazarus] IPro

2006-11-04 Thread Alex du Plessis
Hi Would anyone know why TIPHTMLPanel would read one image but not the next even though both are of the same type(i.e. GIF or XPM) ? I cannot find any obvious reason why. I am using exactly the same html to load both - one displays, the other does'nt. I am using the code from the

[lazarus] Turbopower IPro

2006-11-04 Thread Alex du Plessis
Hi Would anyone know why TIPHTMLPanel would read one image but not the next even though both are of the same type(i.e. GIF or XPM) ? I cannot find any obvious reason why. I am using exactly the same html to load both - one displays, the other does'nt. I am using the code from the examples

[lazarus] [Fwd: IPro]

2006-11-04 Thread Alex du Plessis
Original Message Subject: IPro Date: Fri, 03 Nov 2006 09:13:13 +0200 From: Alex du Plessis [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Organization: Phenomenal Consulting CC To: Lazarus mailing list lazarus@miraclec.com Hi Would anyone know why TIPHTMLPanel would read one

[lazarus] TPQConnection

2006-08-18 Thread Alex du Plessis
Hi List, How would one go about retrieving the error message from a TPQConnection? (ex sqldb). Thanks in advance Alex _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

[lazarus] Environment variables

2006-07-26 Thread Alex du Plessis
Hi list Does anyone know how to access environment variables via an app in FPC _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

[lazarus] psql - No transaction

2006-06-24 Thread Alex du Plessis
Hi I need to execute a sql statement that cannot be enclosed in a transaction (CREATE DATABASE) to be exact on a postgres server. How do i do that from my client app i.e. how do I switch off the implicit transaction with sqldb? Alex

Re: [lazarus] TStringGrid access violation

2006-06-22 Thread Alex du Plessis
itself - in fact it works like a charm Alex Alex du Plessis wrote: I'll make up a little project with the problem. Maybe that will help David B Copeland wrote: Hi Alex, I can't think of anything else without seeing more of the code. I remember having fun (ha, ha) figuring out how to use

Re: [lazarus] TStringGrid access violation

2006-06-21 Thread Alex du Plessis
With the first instance I did. In the second instance (InsertColRow()) the grid tries to focus the cell automatically and also causes an acces violation. David B Copeland wrote: On Wed, 2006-06-21 at 17:17 +0200, Alex du Plessis wrote: Hi I need to insert a new row into a StringGrid

Re: [lazarus] TStringGrid access violation

2006-06-21 Thread Alex du Plessis
+ 1; SGItems.Cells[1, wRow] := CBProdCode.Text; SGItems.Row := wRow; // highlights the new row end; Dave. On Wed, 2006-06-21 at 17:51 +0200, Alex du Plessis wrote: With the first instance I did. In the second instance (InsertColRow()) the grid tries to focus the cell automatically

Re: [lazarus] TStringGrid access violation

2006-06-21 Thread Alex du Plessis
Jesus Reyes wrote: --- Alex du Plessis [EMAIL PROTECTED] escribió: Sorry Dave, That's not it yet. Here is my code: StringGrid1.InsertColRow(false,1);//Notice it is creating a new line at the top of the grid StringGrid1.Col := 1; StringGrid1.Row := 2; And this works fine. The line

Re: [lazarus] TStringGrid access violation

2006-06-21 Thread Alex du Plessis
... options, goEditting for example) you have selected for the grid. Dave. On Wed, 2006-06-21 at 20:39 +0200, Alex du Plessis wrote: Sorry Dave, That's not it yet. Here is my code: StringGrid1.InsertColRow(false,1);//Notice it is creating a new line at the top of the grid StringGrid1.Col := 1

[lazarus] Lazreport

2006-06-14 Thread Alex du Plessis
While trying to compile the lazreport component, the compiler stops complaining about not finding identifier 'Brushcopy'. When I have a look in the TCanvas source, I find that the method has been commented out. It seems as if this method did exist, but not any more. Is there a different

[lazarus] Postgres connection question

2006-05-12 Thread Alex du Plessis
How does one access the error messages from a postgres database when using the sqldb components (i.e. TPQConnection, TSQLTransaction and TSQLQuery)? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as

[lazarus] TSDFDataset

2006-04-12 Thread Alex du Plessis
Does anybody know where I can read up on how to use TSDFDataset ? _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Re: [lazarus] Linking error

2006-04-03 Thread Alex du Plessis
Vincent Snijders wrote: Alex du Plessis schreef: Hi Could someone point me in the right direction please. I have added the unit pgcl (a postgres access unit) to a project which built and compiled perfectly without any problems. Now when I build the project , a message error while linking

[lazarus] Postgres/sqldb data type conversion

2005-11-10 Thread Alex du Plessis
as a variant - here is the rub. I cannot seem to convert this variant value to a string. Does anybody have any idea how to work around this? Any idea would be much appreciated. Thanx Alex du Plessis _ To unsubscribe: mail [EMAIL

[lazarus] Lazarus application

2005-09-28 Thread Alex du Plessis
Hi How dows one allow for different screen resolutions when designing a Lazarus application? Regards Alex _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at