Re: [Gambas-user] TextEdit

2008-10-17 Thread richard terry
On Sat, 18 Oct 2008 05:17:31 am Almanova Sistemi wrote: > Hi All, > > I try to use TextEdit and when I press Return key, I get a blank line > after the current line. > This not happen with Editor, but I need TextEdit because I must change > some attibutes of the text. > > How I can do this? > > Tha

[Gambas-user] Mysql GAMBAS Administrator

2008-10-17 Thread Diego Fernández
Wow, looking around in google code, look what i found, nice IDE to manage MYSQL Database and databases. Worth take a try. http://code.google.com/p/mysql-gui/ Greetings Diego. - This SF.Net email is sponsored by the Mobli

Re: [Gambas-user] Binary compare of files?

2008-10-17 Thread Kari Laine
On Fri, Oct 17, 2008 at 9:11 PM, Ron_1st <[EMAIL PROTECTED]> wrote: > On Friday 17 October 2008, Kari Laine wrote: > > On Fri, Oct 17, 2008 at 5:44 PM, Kari Laine <[EMAIL PROTECTED]> wrote: > > > > > On Fri, Oct 17, 2008 at 12:28 PM, Stefano Palmeri < > [EMAIL PROTECTED]>wrote: > > > > > >> Il ven

Re: [Gambas-user] Binary compare of files?

2008-10-17 Thread Ron_1st
On Friday 17 October 2008, Kari Laine wrote: > On Fri, Oct 17, 2008 at 5:44 PM, Kari Laine <[EMAIL PROTECTED]> wrote: > > > On Fri, Oct 17, 2008 at 12:28 PM, Stefano Palmeri <[EMAIL PROTECTED]>wrote: > > > >> Il venerdì 17 ottobre 2008 10:28:28 Ron_1st ha scritto: > >> > On Friday 17 October 2008,

Re: [Gambas-user] Binary compare of files?

2008-10-17 Thread Kari Laine
On Fri, Oct 17, 2008 at 7:21 PM, Doriano Blengino < [EMAIL PROTECTED]> wrote: > So, choose the algorithm which gives you more bytes as possible. Well, > some algorithm is more oriented to checksumming, some to guarantee > security (difficult to break); probably checksumming ones are faster; > perh

Re: [Gambas-user] gb.db autoincrement ?

2008-10-17 Thread [EMAIL PROTECTED]
Hi Doriano With transactions there are many different lock levels, look at help. But in case you are using mySQL there is the function LAST_INSERT_ID (), see: http://dev.mysql.com/doc/refman/5.1/en/information-functions.html#function_last-insert-id. Other vendors maybe have also functions or va

Re: [Gambas-user] Binary compare of files?

2008-10-17 Thread Doriano Blengino
Kari Laine ha scritto: > On Fri, Oct 17, 2008 at 5:44 PM, Kari Laine <[EMAIL PROTECTED]> wrote: > A little misunderstanding of MD5. You know for _*_sure_*_ if the SUM differs they are not equal. You may _*_assume_*_ they like the same if the sum is equal.

Re: [Gambas-user] Binary compare of files?

2008-10-17 Thread Kari Laine
On Fri, Oct 17, 2008 at 5:44 PM, Kari Laine <[EMAIL PROTECTED]> wrote: > On Fri, Oct 17, 2008 at 12:28 PM, Stefano Palmeri <[EMAIL PROTECTED]>wrote: > >> Il venerdì 17 ottobre 2008 10:28:28 Ron_1st ha scritto: >> > On Friday 17 October 2008, Stefano Palmeri wrote: >> > > If you only want to know i

Re: [Gambas-user] Binary compare of files?

2008-10-17 Thread Kari Laine
On Fri, Oct 17, 2008 at 12:28 PM, Stefano Palmeri <[EMAIL PROTECTED]>wrote: > Il venerdì 17 ottobre 2008 10:28:28 Ron_1st ha scritto: > > On Friday 17 October 2008, Stefano Palmeri wrote: > > > If you only want to know if two files are identical, > > > you could use md5sum. > > > > > > Ciao, > > >

Re: [Gambas-user] Strange error in Embedder

2008-10-17 Thread M0E Lnx
You can find the "WM_CLASS" property of a window by executing "xprop" and then clicking on the window you wish to look up do this xprop | grep WM_CLASS then click the running OO window that you wish to embed You can look at how I did it here to embed gparted into a linux installer I'm writing htt

Re: [Gambas-user] Binary compare of files?

2008-10-17 Thread Stefano Palmeri
Il venerdì 17 ottobre 2008 10:28:28 Ron_1st ha scritto: > On Friday 17 October 2008, Stefano Palmeri wrote: > > If you only want to know if two files are identical, > > you could use md5sum. > > > > Ciao, > > > > Stefano > > A little misunderstanding of MD5. > You know for _*_sure_*_ if the SUM di

[Gambas-user] Moving items in a ListView

2008-10-17 Thread dfuchs
I would like to allow the user to move items in a ListView (up, down, to the beginning, to the end) by buttons. The Enabled properties of the buttons are set by a private method UpdateButtons each time the selection of the ListView changes (according to the position of the selected item in the view

Re: [Gambas-user] Binary compare of files?

2008-10-17 Thread Ron_1st
On Friday 17 October 2008, Stefano Palmeri wrote: > If you only want to know if two files are identical, > you could use md5sum. > > Ciao, > > Stefano > A little misunderstanding of MD5. You know for _*_sure_*_ if the SUM differs they are not equal. You may _*_assume_*_ they like the same if

Re: [Gambas-user] Binary compare of files?

2008-10-17 Thread Doriano Blengino
Stefano Palmeri ha scritto: > Il venerdì 17 ottobre 2008 08:18:20 Doriano Blengino ha scritto: > >> Kari Laine ha scritto: >> >>> Hi All, >>> >>> could someone please give me a hint how compare two files for binary >>> equality? >>> > > If you only want to know if two files are ident

Re: [Gambas-user] gb.db autoincrement ?

2008-10-17 Thread Doriano Blengino
Benoit Minisini ha scritto: > On vendredi 17 octobre 2008, Doriano Blengino wrote: > >> Kari Laine ha scritto: >> >>> Hi, >>> >>> i cannot figure out how the get inserted autoincrement column right after >>> addition to table. >>> >>> invoice = db.create("invoices") >>> invoice!numb

Re: [Gambas-user] Binary compare of files?

2008-10-17 Thread Stefano Palmeri
Il venerdì 17 ottobre 2008 08:18:20 Doriano Blengino ha scritto: > Kari Laine ha scritto: > > Hi All, > > > > could someone please give me a hint how compare two files for binary > > equality? > > I am doing it now int by int basis and it is taking years. I would like > > to read big chunks of both