Re: [Gambas-user] MySQL query problems with apostropies

2010-04-06 Thread Benoît Minisini
> Strings that contain these three characters: quote, double quote and > backslash need to be escaped. > You escape them by having a backslash immediately before it. > Example: > Patty O'Lantern would be... > Patty O\'Lantern > > One way is to make a small function that will insert a backslash

Re: [Gambas-user] Parallel Port - Illegal Seek -

2010-04-06 Thread nando
Using SEEK is not correct. If you think of the parallel port as a file, you cannot seek. It doesn't make sense. You can only read and write. What are you trying to accomplish ? -Fernando -- Original Message --- From: Bjorn Macintosh To: gambas-user@lists.sourceforge.net Sent: Fr

Re: [Gambas-user] MySQL query problems with apostropies

2010-04-06 Thread nando
Strings that contain these three characters: quote, double quote and backslash need to be escaped. You escape them by having a backslash immediately before it. Example: Patty O'Lantern would be... Patty O\'Lantern One way is to make a small function that will insert a backslash when it finds a

Re: [Gambas-user] Problems with Library libffi.so.5 using GB_DIR

2010-04-06 Thread EA7DFH
craf escribió: > -Mensaje original- > De: Benoît Minisini > Reply-to: mailing list for gambas users > > Para: mailing list for gambas users > Asunto: Re: [Gambas-user] Problems with Library libffi.so.5 using GB_DIR > Fecha: Tue, 6 Apr 2010 18:50:35 +0200 > > >> -Mensaje original---

Re: [Gambas-user] Problem with PATH to shared library - part 2

2010-04-06 Thread EA7DFH
Doriano Blengino escribió: >>> $ Tree opt >>> >>> my_project/ >>> >>> |-- gambas2 >>> | >>> | |-- bin >>> | | >>> | | |-- gbr2 >>> | | >>> | | `-- gbx2 >>> | | >>> | |-- lib >>> | | >>> | | `-- gambas2 >>> | | >>> | | |-- blah blah blah... >>> | >>> |

[Gambas-user] MySQL query problems with apostropies

2010-04-06 Thread Keith Clark
I have the following code: $Query = "" QueryArray[0] = "insert into products_description" QueryArray[1] = "(products_id,language_id,products_name,products_description,products_format)" QueryArray[2] = "values (" & NewProductID & ",1,'" & TitleTextBox.Text & "','" & DescriptionTextArea.Text & "',"

Re: [Gambas-user] Problems with Library libffi.so.5 using GB_DIR

2010-04-06 Thread craf
-Mensaje original- De: Benoît Minisini Reply-to: mailing list for gambas users Para: mailing list for gambas users Asunto: Re: [Gambas-user] Problems with Library libffi.so.5 using GB_DIR Fecha: Tue, 6 Apr 2010 18:50:35 +0200 > -Mensaje original- > De: craf > Reply-to: mailing

Re: [Gambas-user] Bug with * operator (I think)

2010-04-06 Thread Jussi Lahtinen
If someone is interested, this is how I managed to solve my problem. I converted this; Print (y * (1 + y)) / 2 To this (here y is string, not long); Shell "echo \"(" & y & "*(1+" & y & "))/2\" |bc" To sResult This is not very quick method, but in my case it is fast enough. Jussi On Mon, Apr

Re: [Gambas-user] problem with alignmet & position in GB3(qt)

2010-04-06 Thread Benoît Minisini
> I couldn't find the option snap to grid in GB3 but I try on/off the toggle > grid . same result . > > problem align same height and same width. > 1. i create a form and drop 3 buttons > 2. change the button1 only widthxheight to 80x100 > 3. select the rest button and do align same height and s

Re: [Gambas-user] Problems with Library libffi.so.5 using GB_DIR

2010-04-06 Thread Benoît Minisini
> -Mensaje original- > De: craf > Reply-to: mailing list for gambas users > > Para: Lista Gambas Ingles > Asunto: [Gambas-user] Problems with Library libffi.so.5 using GB_DIR > Fecha: Mon, 05 Apr 2010 20:40:21 -0400 > > >Hi. > > > >I'm still trying to port an application made in Gambas

Re: [Gambas-user] Problems with Library libffi.so.5 using GB_DIR

2010-04-06 Thread craf
-Mensaje original- De: craf Reply-to: mailing list for gambas users Para: Lista Gambas Ingles Asunto: [Gambas-user] Problems with Library libffi.so.5 using GB_DIR Fecha: Mon, 05 Apr 2010 20:40:21 -0400 >Hi. >I'm still trying to port an application made in Gambas 2.20.2 in a >distribut

Re: [Gambas-user] problem with alignmet & position in GB3(qt)

2010-04-06 Thread richard terry
On Tuesday 06 April 2010 18:55:16 kobolds wrote: Hi, I'm stuggling to understand what you mean - why not just use vertical box/horizontal box, and set the expand or not expand properties. let the IDE do the work for you I enclose a simple example showing various areas of the screen not-expandi

Re: [Gambas-user] problem with alignmet & position in GB3(qt)

2010-04-06 Thread Kadaitcha Man
On 6 April 2010 18:55, kobolds wrote: > > I couldn't find the option snap to grid in GB3 but I try on/off the toggle > grid . same result . > > problem align same height and same width. > 1. i create a form and drop 3 buttons > 2. change the  button1  only widthxheight to 80x100 > 3. select the re

Re: [Gambas-user] problem with alignmet & position in GB3(qt)

2010-04-06 Thread kobolds
I couldn't find the option snap to grid in GB3 but I try on/off the toggle grid . same result . problem align same height and same width. 1. i create a form and drop 3 buttons 2. change the button1 only widthxheight to 80x100 3. select the rest button and do align same height and same width 4

Re: [Gambas-user] problem with alignmet & position in GB3(qt)

2010-04-06 Thread Kadaitcha Man
On 6 April 2010 08:19, Ron_1st wrote: > On Monday 05 April 2010, Kadaitcha Man wrote: >> On 5 April 2010 17:19, kobolds wrote: >> > >> > here how you do the test on IDE >> > >> > 1. create a form (768x1024) >> > 2. drag a panel into the form (make sure it big) >> > 3. drag a picbox into the panel