[Gambas-user] DB Connection additional parameters

2014-09-21 Thread Christof Thalhofer
Hello, is there any chance to add additional parameters when establishing a Gambas connection to a DB? For instance Postgresql libpq allows the delivery of application_name in the connection string and a lot more parameters: http://www.postgresql.org/docs/9.0/static/libpq-connect.html Alles

Re: [Gambas-user] A good idea?

2014-09-21 Thread Jack
Le 21/09/2014 00:57, Tobias Boege a écrit : For the others: there is an error Component not found: genutil. You can either fix this yourselves or apply the attached patch. It seemed to be safe to just remove that component (?). Or recompile the project -- Cordialement Jacky Tripoteau

[Gambas-user] Making a simple C++ component

2014-09-21 Thread Jørn Erik Mørne
Hi! I had a C++ introduction course at the University, so my knowledge of the language is very basic (no play on words intended :) ). I've been looking at how to put together a simple C++ component, tried to get an understanding from the documentation and looking at some components in the svn

Re: [Gambas-user] Making a simple C++ component

2014-09-21 Thread Tobias Boege
On Sun, 21 Sep 2014, J??rn Erik M??rne wrote: Hi! I had a C++ introduction course at the University, so my knowledge of the language is very basic (no play on words intended :) ). I've been looking at how to put together a simple C++ component, tried to get an understanding from the

Re: [Gambas-user] DB Connection additional parameters

2014-09-21 Thread Benoît Minisini
Le 21/09/2014 08:55, Christof Thalhofer a écrit : Hello, is there any chance to add additional parameters when establishing a Gambas connection to a DB? For instance Postgresql libpq allows the delivery of application_name in the connection string and a lot more parameters:

Re: [Gambas-user] Issue 559 in gambas: default charset is not unicode

2014-09-21 Thread gambas
Comment #3 on issue 559 by benoit.m...@gmail.com: default charset is not unicode https://code.google.com/p/gambas/issues/detail?id=559 Apparently there is no standard way of defining collation. Each DBMS is completely different from the others. I know that SQL standard is a joke, but I'm

Re: [Gambas-user] Caps Lock - Num Lock state howto

2014-09-21 Thread Charlie
*I was playing with this routine and found that the following 2 lines can be replaced by 1*sShellOutput = Replace$(sShellOutput, , ) iKeyLocks = Val(Split(sShellOutput, :)[3])*Replace with*iKeyLocks = Val(Right(Trim(sShellOutput), 1)) -- View this message in context:

Re: [Gambas-user] Caps Lock - Num Lock state howto

2014-09-21 Thread Jesus
El 21/09/14 a las #4, Charlie escribió: *I was playing with this routine and found that the following 2 lines can be replaced by 1*sShellOutput = Replace$(sShellOutput, , ) iKeyLocks = Val(Split(sShellOutput, :)[3])*Replace with*iKeyLocks = Val(Right(Trim(sShellOutput), 1)) -- View this

Re: [Gambas-user] Caps Lock - Num Lock state howto

2014-09-21 Thread Charlie Reinl
Am Sonntag, den 21.09.2014, 19:06 +0200 schrieb Jesus: El 21/09/14 a las #4, Charlie escribió: *I was playing with this routine and found that the following 2 lines can be replaced by 1*sShellOutput = Replace$(sShellOutput, , ) iKeyLocks = Val(Split(sShellOutput, :)[3])*Replace

Re: [Gambas-user] Caps Lock - Num Lock state howto

2014-09-21 Thread Jesus
El 21/09/14 a las #4, Charlie Reinl escribió: Am Sonntag, den 21.09.2014, 19:06 +0200 schrieb Jesus: El 21/09/14 a las #4, Charlie escribió: *I was playing with this routine and found that the following 2 lines can be replaced by 1*sShellOutput = Replace$(sShellOutput, , ) iKeyLocks =

[Gambas-user] Request for implementation

2014-09-21 Thread Willy Raets
Hi all, It would be nice if the translator in IDE could update some extra info in the translation files (.po) Example: #, fuzzy msgid msgstr Project-Id-Version: PACKAGE VERSION\n POT-Creation-Date: 2002-11-01 04:27+0100\n PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n Last-Translator: FULL NAME

Re: [Gambas-user] Issue 559 in gambas: default charset is not unicode

2014-09-21 Thread gambas
Updates: Status: Fixed Comment #4 on issue 559 by benoit.m...@gmail.com: default charset is not unicode https://code.google.com/p/gambas/issues/detail?id=559 Collation support has been implemented in revision #6494. It just allows you to define the collation of a specific text field,

[Gambas-user] Collation support in database driver

2014-09-21 Thread Benoît Minisini
Collation support has been implemented in revision #6494, as a last-minute feature before the coming-soon Gambas 3.6. It just allows you to define the collation of a specific text field, both by code and from the IDE database editor. In MySQL/MariaDB, if you don't define it, the default