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

2008-10-16 Thread Benoit Minisini
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. > > > > I have > > > > rResult3 = $hConn.Create("files") > > > > rResult3!filen

Re: [Gambas-user] SMTP autentication

2008-10-16 Thread Benoit Minisini
On jeudi 16 octobre 2008, Wellington de Souza Pinto wrote: > Hi!!! > How to send email via smtp when the email server smtp use TSL > autentication. Above my rotine in gb2.8. Not send, freeze. > > Any ideia > > Reguards, > > > PUBLIC SUB btMigra_Click() > DIM hMsg AS NEW SmtpClient > > h

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

2008-10-16 Thread Doriano Blengino
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 files and compare. > Also I am thinking a possibility to read whole files in m

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

2008-10-16 Thread Doriano Blengino
Kari Laine ha scritto: > Hi, > > i cannot figure out how the get inserted autoincrement column right after > addition to table. > > I have > > rResult3 = $hConn.Create("files") > > rResult3!filename = sFile > rResult3!md5sum = MUtils.md5sum(sDir, sFile) > rResult3!l

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

2008-10-16 Thread Jacky
Le Thursday 16 October 2008 22:08:22 Kari Laine, vous avez écrit : > Hi, > > i cannot figure out how the get inserted autoincrement column right after > addition to table. > > I have > > rResult3 = $hConn.Create("files") > > rResult3!filename = sFile > rResult3!md5sum

[Gambas-user] Binary compare of files?

2008-10-16 Thread Kari Laine
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 files and compare. Also I am thinking a possibility to read whole files in memory at once and then compare. Bes

[Gambas-user] Question Gambas 2.0.0

2008-10-16 Thread vitaf
Hello! Why the code (in archive) under Ubuntu 8.10 can not work. I use Gambas 2.0.0. Informs or on inaccessibility of the device (chmod 755/dev/video0 solves a problem), or about an incorrect symbol in the picture buffer. Vitaly MyWebCam.tar.gz Description: GNU Zip compressed

Re: [Gambas-user] Strange error in Embedder

2008-10-16 Thread JB Skaggs
Could you give a brief example of searching by WM_CLASS? I tried before and could not get that to work. JB On Thu, 2008-10-16 at 16:18 -0500, M0E Lnx wrote: > Have you thought about finding the window by using it's WM_CLASS value? > > I've had better results that way than with the window title >

Re: [Gambas-user] Strange error in Embedder

2008-10-16 Thread M0E Lnx
Have you thought about finding the window by using it's WM_CLASS value? I've had better results that way than with the window title On Thu, Oct 16, 2008 at 3:46 PM, JB Skaggs <[EMAIL PROTECTED]> wrote: > Right here in the code: > > key = Desktop.Find(windowTitle) > > On Thu, 2008-10-16 at 20:06 +

Re: [Gambas-user] Strange error in Embedder

2008-10-16 Thread JB Skaggs
Right here in the code: key = Desktop.Find(windowTitle) On Thu, 2008-10-16 at 20:06 +0200, Benoit Minisini wrote: > On jeudi 16 octobre 2008, jbskaggs wrote: > > Okay I have an embedder working to embed Open Office- But a couple of users > > of the program get this error: > > > > Wanted Pointer [

[Gambas-user] gb.db autoincrement ?

2008-10-16 Thread Kari Laine
Hi, i cannot figure out how the get inserted autoincrement column right after addition to table. I have rResult3 = $hConn.Create("files") rResult3!filename = sFile rResult3!md5sum = MUtils.md5sum(sDir, sFile) rResult3!lastaccess = Stat(sdir &/ sFile, TRUE).LastAc

[Gambas-user] SMTP autentication

2008-10-16 Thread Wellington de Souza Pinto
Hi!!! How to send email via smtp when the email server smtp use TSL autentication. Above my rotine in gb2.8. Not send, freeze. Any ideia Reguards, PUBLIC SUB btMigra_Click() DIM hMsg AS NEW SmtpClient hMsg.To.Add("[EMAIL PROTECTED]") hMsg.Subject = "ERRO TESTE" hMsg.Add("e-

Re: [Gambas-user] Text formatting in TextArea

2008-10-16 Thread jbskaggs
Hi, Try using replace$. replace$(text_to_be_searched, text_to_look_for, text_to_replace_with) JB Almanova Sistemi wrote: > > Hello, > > in first tank's to Doriano Blengino and Stefano Palmeri for suggestion > about TableView. > I have followed the second suggestion from Doriano Blengino. >

Re: [Gambas-user] Strange error in Embedder

2008-10-16 Thread Benoit Minisini
On jeudi 16 octobre 2008, jbskaggs wrote: > Okay I have an embedder working to embed Open Office- But a couple of users > of the program get this error: > > Wanted Pointer [] got integer Where exactly? -- Benoit Minisini -

[Gambas-user] Strange error in Embedder

2008-10-16 Thread jbskaggs
Okay I have an embedder working to embed Open Office- But a couple of users of the program get this error: Wanted Pointer [] got integer I cannot duplicate this on my system and my other users don't get this error. Here is the code: PUBLIC SUB Presence_Embed(windowTitle AS String) DIM key

Re: [Gambas-user] About gb.xml component

2008-10-16 Thread Benoit Minisini
On jeudi 16 octobre 2008, Ron wrote: > Benoit Minisini wrote: > > Hi, > > > > The management of XML nodes in the gb.xml component was incorrect, so I > > started to fix it in revision #1641. > > > > So if Ron, (and others trying to use that component) can test it again > > with their application, a

[Gambas-user] Ask Clearing all tableview contents

2008-10-16 Thread Leo Sendra
Hello all, I have a problem in clearing all tableview contents. I have already use clear method, like this: tableview1.clear But, not all rows in tableview1 are cleared. Just a few of them are cleared. How to empty a tableview?? Coba Yahoo! Messenger baru -

Re: [Gambas-user] Possible bug in Gambas

2008-10-16 Thread Kari Laine
On Thu, Oct 16, 2008 at 9:47 AM, Ron_1st <[EMAIL PROTECTED]> wrote: > On Thursday 16 October 2008, Doriano Blengino wrote: > > Ron_1st ha scritto: > > > On Wednesday 15 October 2008, Kari Laine wrote: > > > > > >> On Wed, Oct 15, 2008 at 6:57 PM, Werner <[EMAIL PROTECTED]> wrote: > > >> > > >> > >

[Gambas-user] Text formatting in TextArea

2008-10-16 Thread Almanova Sistemi
Hello, in first tank's to Doriano Blengino and Stefano Palmeri for suggestion about TableView. I have followed the second suggestion from Doriano Blengino. Now I have a new problem: I need to modify part of text in TextArea. E.g.: I have a text like "bla bla bla ..." and I nedd to have "bla *bl

Re: [Gambas-user] String to Form

2008-10-16 Thread Ron
Benoit Minisini wrote: > On jeudi 16 octobre 2008, Ron wrote: > >> Silly thing I can't get my grip on, even after some coffee ;) >> >> I want to make the form to load on my workspace user configurable. >> >> So I have a cmbbox with all available Forms to load. >> >> I have a routine to place a f

Re: [Gambas-user] How to nest a checkbox into a gridview's field

2008-10-16 Thread Benoit Minisini
On mercredi 15 octobre 2008, M0E Lnx wrote: > Maybe another gb.gtk bug here, but the picture is not changing when I > click on your example project here. > It's a bug: the cell is not refreshed. Just call the Refresh() method on the GridView cell as a temporary workaround. Regards, -- Benoit M

Re: [Gambas-user] String to Form

2008-10-16 Thread Benoit Minisini
On jeudi 16 octobre 2008, Ron wrote: > Silly thing I can't get my grip on, even after some coffee ;) > > I want to make the form to load on my workspace user configurable. > > So I have a cmbbox with all available Forms to load. > > I have a routine to place a form on the workspace, it expects a Fo

[Gambas-user] String to Form

2008-10-16 Thread Ron
Silly thing I can't get my grip on, even after some coffee ;) I want to make the form to load on my workspace user configurable. So I have a cmbbox with all available Forms to load. I have a routine to place a form on the workspace, it expects a Form as param. and I have cmbForms.Text = "FContr

Re: [Gambas-user] About gb.xml component

2008-10-16 Thread Ron
Benoit Minisini wrote: > Hi, > > The management of XML nodes in the gb.xml component was incorrect, so I > started to fix it in revision #1641. > > So if Ron, (and others trying to use that component) can test it again with > their application, and tell me the result, it would be cool. > > If I s

Re: [Gambas-user] How to nest a checkbox into a gridview's field

2008-10-16 Thread Stefano Palmeri
Il mercoledì 15 ottobre 2008 20:14:36 Joshua Higgins ha scritto: > To Stefano: your example raises a signal 11 for me so I can't check whether > it works (Gambas 2.5). > I'm using Gambas 2.8.2, under KDE (so it uses gb.qt, I suppose). Here it works. Bye, Stefano > On Wed, Oct 15, 2008 at 6: