From nando_f at ...951... Wed Jun 1 04:33:51 2005 From: nando_f at ...951... (nando) Date: Tue, 31 May 2005 22:33:51 -0400 Subject: [Gambas-user] Goto question Message-ID: <20050601023131.M93295@...951...> Benoit, Does performing GOTO to exit out of a loop (FOR, WHILE, CASE) cause a problem with execution, stack, etc?? -Fernando From nando_f at ...951... Wed Jun 1 05:31:12 2005 From: nando_f at ...951... (nando) Date: Tue, 31 May 2005 23:31:12 -0400 Subject: [Gambas-user] BTst Function Message-ID: <20050601032506.M22245@...951...> I'm curious of the following DIM x AS INTEGER x=1 PRINT BTst(x,0) ' <<-result is TRUE (correct) PRINT BTst(x,0)=1 ' <<-result is FALSE (unexpected) -Fernando From pvera at ...729... Wed Jun 1 14:53:49 2005 From: pvera at ...729... (Pablo Vera) Date: Wed, 01 Jun 2005 07:53:49 -0500 Subject: [Gambas-user] BTst Function In-Reply-To: <20050601032506.M22245@...951...> References: <20050601032506.M22245@...951...> Message-ID: <429DAFDD.7070405@...729...> I am only guessing, but I think that BTst(x,0) is equal to TRUE which is not equal to 1. Saludos, Pablo Vera nando wrote: > I'm curious of the following > > DIM x AS INTEGER > > x=1 > > PRINT BTst(x,0) ' <<-result is TRUE (correct) > PRINT BTst(x,0)=1 ' <<-result is FALSE (unexpected) From meadmaker1977 at ...43... Wed Jun 1 14:54:33 2005 From: meadmaker1977 at ...43... (Michael Beale) Date: Wed, 1 Jun 2005 05:54:33 -0700 (PDT) Subject: [Gambas-user] Static Message-ID: <20050601125433.34851.qmail@...982...> Could someone explain to me a little better what the message "Class.function() is not static" means? What do I have to do to fix it? Why can't I call the function? Thanks Mike B __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From psaborio1 at ...43... Wed Jun 1 17:30:25 2005 From: psaborio1 at ...43... (pablo saborio) Date: Wed, 1 Jun 2005 08:30:25 -0700 (PDT) Subject: [Gambas-user] Resize controls in a form when it is maximized Message-ID: <20050601153025.41375.qmail@...987...> > > Dear friends: > > I am beginning in gambas programming and like to > know > pertinent > documentation about how to resize controls in a form > when it is > maximized. > Also, like to learn about programming with the GTK+ > component > (literature, code examples). > Many thanks in advance, > > Pablo Saborio > Costa Rica > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From mj at ...621... Wed Jun 1 20:27:35 2005 From: mj at ...621... (MJ) Date: Wed, 1 Jun 2005 15:27:35 -0300 Subject: [Gambas-user] Error gb.db.odbc Message-ID: make[2]: Saindo do diret?rio `/home/usuario/Desktop/gambas2-1.9.8/gb.db.mysql' Making all in gb.db.odbc /bin/sh: line 1: cd: gb.db.odbc: Arquivo ou diret?rio n?o encontrado make[1]: ** [all-recursive] Erro 1 make[1]: Saindo do diret?rio `/home/usuario/Desktop/gambas2-1.9.8' make: ** [all] Erro 2 MJ. From nando_f at ...951... Wed Jun 1 20:41:06 2005 From: nando_f at ...951... (nando) Date: Wed, 1 Jun 2005 14:41:06 -0400 Subject: [Gambas-user] BTst Function In-Reply-To: <429DAFDD.7070405@...729...> References: <20050601032506.M22245@...951...> <429DAFDD.7070405@...729...> Message-ID: <20050601183909.M43723@...951...> If that were true... PRINT CBool(1) ' <<-is TRUE I think that non-zero ought to revert to true and zero be false, then the example below works too! -Fernando ---------- Original Message ----------- From: Pablo Vera To: gambas-user at lists.sourceforge.net Sent: Wed, 01 Jun 2005 07:53:49 -0500 Subject: Re: [Gambas-user] BTst Function > I am only guessing, but I think that BTst(x,0) is equal to TRUE > which is not equal to 1. > > Saludos, > Pablo Vera > > nando wrote: > > I'm curious of the following > > > > DIM x AS INTEGER > > > > x=1 > > > > PRINT BTst(x,0) ' <<-result is TRUE (correct) > > PRINT BTst(x,0)=1 ' <<-result is FALSE (unexpected) > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using > Yahoo! Search APIs Find out how you can build Yahoo! directly into > your own Applications - visit http://developer.yahoo.net/?fr=offad- > ysdn-ostg-q22005 _______________________________________________ > Gambas-user mailing list Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From pvera at ...729... Wed Jun 1 20:48:31 2005 From: pvera at ...729... (Pablo Vera) Date: Wed, 01 Jun 2005 13:48:31 -0500 Subject: [Gambas-user] BTst Function In-Reply-To: <20050601183909.M43723@...951...> References: <20050601032506.M22245@...951...> <429DAFDD.7070405@...729...> <20050601183909.M43723@...951...> Message-ID: <429E02FF.5060909@...729...> I think that in the example below, the TRUE value is being converted to -1 which is not equal to 1. I haven't tested it but I am almost sure that the following will work: PRINT BTst(x,0) = -1 ' This should be TRUE Saludos, Pablo Vera nando wrote: > If that were true... > > PRINT CBool(1) ' <<-is TRUE > > I think that non-zero ought to revert to true > and zero be false, then > the example below works too! > -Fernando > > > ---------- Original Message ----------- > From: Pablo Vera > To: gambas-user at lists.sourceforge.net > Sent: Wed, 01 Jun 2005 07:53:49 -0500 > Subject: Re: [Gambas-user] BTst Function > > >>I am only guessing, but I think that BTst(x,0) is equal to TRUE >>which is not equal to 1. >> >>Saludos, >>Pablo Vera >> >>nando wrote: >> >>>I'm curious of the following >>> >>>DIM x AS INTEGER >>> >>>x=1 >>> >>>PRINT BTst(x,0) ' <<-result is TRUE (correct) >>>PRINT BTst(x,0)=1 ' <<-result is FALSE (unexpected) >> >>------------------------------------------------------- >>This SF.Net email is sponsored by Yahoo. >>Introducing Yahoo! Search Developer Network - Create apps using >>Yahoo! Search APIs Find out how you can build Yahoo! directly into >>your own Applications - visit http://developer.yahoo.net/?fr=offad- >>ysdn-ostg-q22005 _______________________________________________ >>Gambas-user mailing list Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------- End of Original Message ------- > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From budi at ...415... Thu Jun 2 05:40:50 2005 From: budi at ...415... (budi at ...415...) Date: Thu, 02 Jun 2005 10:40:50 +0700 Subject: [Gambas-user] HOW TO:TableView And TreeView In-Reply-To: <20050601153025.41375.qmail@...987...> References: <20050601153025.41375.qmail@...987...> Message-ID: <1117683650.429e7fc2cf569@...416...> Hi Benoit and All gambaser ;) 1. Is there a methode to insert data to table view like we add data to listbox ? 2. In gambas-db-manager, you use tableview by code not in design mode. And i see something like Object.Attach(). Can i do the same to tableview which placed on form in design mode ? 3. How can i position textbox or combobox to exactly in current cell of tableview ? 4. In treeview, how can i expand a parent and select one of the childs ? sorry for lotsa questions. Thank you. Regards, budi From budi at ...415... Thu Jun 2 05:54:25 2005 From: budi at ...415... (budi at ...415...) Date: Thu, 02 Jun 2005 10:54:25 +0700 Subject: [Gambas-user] Table View In-Reply-To: <429C3C68.7060709@...221...> References: <20050530213941.58056.qmail@...983...> <315977788.20050531085354@...626...> <429C0114.5020506@...221...> <1482351925.20050531150928@...626...> <429C3C68.7060709@...221...> Message-ID: <1117684465.429e82f1db907@...416...> Oh my god... i just posted a new email regarding to this topic, while i have the answer mail now. I missed to read this before, since i open my email via webmail in cybercafe. My Internet connection at home is broken so i cant autoscan gambas milist with my email client. Thanks anyway..i'll try this when i'm home. Budi Quoting Eilert : > Well it's so simple: > > On the Form (wherever your TableView lives) draw a TextBox and make it > INVISIBLE by default. > > Choose the Double-Click event of the TableView and let it make the > TextBox appear: > > TextBox.Visible = True > > At the same time, the X, Y, Width and Height of the TextBox should be > adapted to the values of the cell the user has clicked on. This cell is > TableView.Current.Blabla > > In my example, "Eingabe" is the TextBox, tbd is the TableView. > > The more complicated thing is that you have to guard the input of the > user and send the TextBox all over the TableView. To achieve that, I > catch the KeyPressed of the TextBox and decide what to do (this one > isn't complete yet). I include it for your information. > > > PUBLIC SUB tbd_DblClick() > > IF tbd.Rows.Count = 0 THEN RETURN > > IF NOT TabelleAnzeigen THEN tbd.Column = 1 > > baum.Enabled = FALSE > > tbd.Current.EnsureVisible > Eingabe.X = tbd.X + tbd.Current.X > Eingabe.Y = tbd.Y + tbd.Current.Y > Eingabe.Height = tbd.Current.Height > Eingabe.Width = tbd.Current.Width > Eingabe.Visible = TRUE > Eingabe.SetFocus > > IF TabelleAnzeigen THEN > Eingabe.Text = TabellenZelle(tblDaten[tbd.Row + 2], tbd.Column + 1) > ELSE > Eingabe.Text = rechts[tbd.Row] > END IF > > END > > > > > PUBLIC SUB Eingabe_KeyPress() > DIM verschoben AS Boolean > > SELECT CASE Key.Code > > CASE key.Esc > IF message.Question("Es wurden Daten ver??ndert.", "Speichern", > "Verwerfen") = 1 THEN > message.Info("Noch nicht implementiert") > END IF > Eingabe.Visible = FALSE > tbd.Refresh > baum.Enabled = TRUE > > CASE key.Tab > STOP EVENT > RETURN > > CASE key.Enter, key.Return > IF TabelleAnzeigen THEN > IF tbd.Column < tbd.Columns.Count - 1 THEN > 'Wert ??bergeben an das Array > tbd.Refresh > INC tbd.Column > verschoben = TRUE > ELSE > IF tbd.Row < tbd.Rows.Count THEN > 'Wert ??bergeben an das Array > tbd.Refresh > INC tbd.Row > tbd.Column = 0 > verschoben = TRUE > END IF > END IF > ELSE > IF tbd.Row < tbd.Rows.Count THEN > rechts[tbd.Row] = Eingabe.Text > tbd.Refresh > INC tbd.Row > verschoben = TRUE > END IF > END IF > > CASE key.Down > IF tbd.Row < tbd.Rows.Count THEN > IF TabelleAnzeigen THEN > 'Wert ??bergeben an das Array > ELSE > rechts[tbd.Row] = Eingabe.Text > END IF > tbd.Refresh > INC tbd.Row > verschoben = TRUE > END IF > > CASE key.Up > IF tbd.Row > 0 THEN > IF TabelleAnzeigen THEN > 'Wert ??bergeben an das Array > ELSE > rechts[tbd.Row] = Eingabe.Text > END IF > tbd.Refresh > DEC tbd.Row > verschoben = TRUE > END IF > > END SELECT > > IF verschoben THEN > > IF NOT TabelleAnzeigen THEN tbd.Column = 1 > > tbd.Current.EnsureVisible > Eingabe.X = tbd.X + tbd.Current.X > Eingabe.Y = tbd.Y + tbd.Current.Y > Eingabe.Height = tbd.Current.Height > Eingabe.Width = tbd.Current.Width > Eingabe.SetFocus > > IF TabelleAnzeigen THEN > Eingabe.Text = TabellenZelle(tblDaten[tbd.Row + 2], tbd.Column + > 1) > ELSE > Eingabe.Text = rechts[tbd.Row] > END IF > > END IF > > END > > > > > BUDI ARIEF GUSANDI schrieb: > > > > > > Hello Eilert, > > > > > > Tuesday, May 31, 2005, 1:15:48 PM, anda menulis : > > > > > >> Hi, > > > > > >> BUDI ARIEF GUSANDI schrieb: > > > >> > Hi... > > > >> > > > > >> > How can i make table view component editable ? i learn from > > > >> > gambas database manager code, but hard to understand. > > > > > >> Is that possible anyway? As far as I understand from all docs, the > > > >> tableview is graphics-only, i. e. you cannot make it editable itself. > > > >> Instead, you will have to use a TextBox to be shown above the tableview > > > >> and on the cell you want to edit. > > > > > >> This is how I did it in my current project. > > > > > >> Rolf > > > > > > Rolf, would you mind to send me some piece of your code (simple one) on > > how to do that please ? > > > > > > -- > > > > Best regards, > > > > BUDI mailto:budi at ...415... > > > > ------------------------------------------------------- This SF.Net > > email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network > > - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! > > directly into your own Applications - visit > > http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > > _______________________________________________ Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From frankberg at ...390... Thu Jun 2 06:31:10 2005 From: frankberg at ...390... (Frank Berg) Date: Thu, 2 Jun 2005 06:31:10 +0200 Subject: [Gambas-user] extract the html sourcecode from a Internet site Message-ID: <000e01c5672b$e7641e00$0200a8c0@...602...> Hi, i want to read an internet site, so i can fit in the value fields "password and loginname" with gambas2 and then fire the site and get the status when loading ready so i can read the resultsite and fill in the fields and so on... are somewhere do like this? frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Thu Jun 2 09:59:43 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 2 Jun 2005 09:59:43 +0200 Subject: [Gambas-user] Goto question In-Reply-To: <20050601023131.M93295@...951...> References: <20050601023131.M93295@...951...> Message-ID: <200506020959.43124.gambas@...1...> On Wednesday 01 June 2005 04:33, nando wrote: > Benoit, > Does performing GOTO to exit out of a loop (FOR, WHILE, CASE) cause > a problem with execution, stack, etc?? > > -Fernando > Normally no. If you try to do a weird GOTO, the compiler must raise an error. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Jun 2 10:09:19 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 2 Jun 2005 10:09:19 +0200 Subject: [Gambas-user] HOW TO:TableView And TreeView In-Reply-To: <1117683650.429e7fc2cf569@...416...> References: <20050601153025.41375.qmail@...987...> <1117683650.429e7fc2cf569@...416...> Message-ID: <200506021009.20197.gambas@...1...> On Thursday 02 June 2005 05:40, budi at ...415... wrote: > Hi Benoit and All gambaser ;) > > 1. Is there a methode to insert data to table view like we add data to > listbox ? No. TableView does not store any data. It only raises the 'Data' event when he needs it. > 2. In gambas-db-manager, you use tableview by code not in design > mode. And i see something like Object.Attach(). Can i do the same to > tableview which placed on form in design mode ? Do the same what ? > 3. How can i position textbox or combobox to exactly in current cell of > tableview ? TableView.Current returns a virtual cell object that has X, Y, W and H property. Look in the db-manager code. > 4. In treeview, how can i expand a parent and select one of the childs ? > You must have the key of the parent and the key of the child you want to select. TreeView[ParentKey].Expand = TRUE TreeView[ChildKey].Selected = TRUE > sorry for lotsa questions. Thank you. > > Regards, > > budi > Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Jun 2 10:03:50 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 2 Jun 2005 10:03:50 +0200 Subject: [Gambas-user] Static In-Reply-To: <20050601125433.34851.qmail@...982...> References: <20050601125433.34851.qmail@...982...> Message-ID: <200506021003.50664.gambas@...1...> On Wednesday 01 June 2005 14:54, Michael Beale wrote: > Could someone explain to me a little better what the > message "Class.function() is not static" means? What > do I have to do to fix it? Why can't I call the > function? > > Thanks > > Mike B > The error message "X.Y is not static" means that the Y method of the X class cannot be called on an instance of X, not on X itself. Do you have some code to show ? -- Benoit Minisini mailto:gambas at ...1... From eilert-sprachen at ...221... Thu Jun 2 10:20:12 2005 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 02 Jun 2005 10:20:12 +0200 Subject: [Gambas-user] HOW TO:TableView And TreeView In-Reply-To: <1117683650.429e7fc2cf569@...416...> References: <20050601153025.41375.qmail@...987...> <1117683650.429e7fc2cf569@...416...> Message-ID: <429EC13C.4060807@...221...> Hi Budi, > 4. In treeview, how can i expand a parent and select one of the childs ? At least for this one, I might be able to help you. There is a lot of confusion on my side about TreeView's Current and Item. Either the documentation does not describe the functions correctly or the functions don't work as intended - or I just miss the crucial point :-) Anyway, this way it runs for my TreeView, "baum" is its name, here is an excerpt: baum.Current.Expanded = TRUE FOR i = 1 TO baum.Current.Children baum.Item.MoveBelow IF Left$(baum.Item.Key, 1) = "#" THEN druck.baumSchlyssel.Add(baum.Item.Key) druck.baumNamen.Add(baum.Item.Text) ELSE BREAK END IF NEXT Does this help you somehow? Rolf From nando_f at ...951... Thu Jun 2 15:46:24 2005 From: nando_f at ...951... (nando) Date: Thu, 2 Jun 2005 09:46:24 -0400 Subject: [Gambas-user] Drawing question Message-ID: <20050602134501.M87081@...951...> How do I get the value of a pixel. Nothing listed in the wiki. I want to read part of a drawing area. -Fernando From oczykota at ...988... Thu Jun 2 16:06:49 2005 From: oczykota at ...988... (Arkadiusz Zychewicz) Date: Thu, 02 Jun 2005 16:06:49 +0200 Subject: [Gambas-user] GridView and Current cell Message-ID: <429F1279.6040600@...988...> I have a gridview and i want to know which row is clicked. How get it information? I find a property Current but there is just about height etc. Arek. From jcubillo at ...990... Thu Jun 2 12:58:58 2005 From: jcubillo at ...990... (Enrique) Date: Thu, 2 Jun 2005 10:58:58 -0000 Subject: [Gambas-user] Table View Message-ID: <200506021658.j52Gww8M010081@...989...> Yo tenia el mismo problema como hacer editable un tableview pero con el ejemplo enviado por budi at ...415..., logre hacer un ejemplo, el que adjunto, es solo una forma de hacerlo. Saludos, muchas gracias a todos -------------- next part -------------- A non-text attachment was scrubbed... Name: prueba-0.0.4.tar.gz Type: application/x-gzip Size: 2914 bytes Desc: not available URL: From gambasfr at ...11... Thu Jun 2 23:45:52 2005 From: gambasfr at ...11... (fabien) Date: Thu, 2 Jun 2005 23:45:52 +0200 Subject: [Gambas-user] Drawing question In-Reply-To: <20050602134501.M87081@...951...> References: <20050602134501.M87081@...951...> Message-ID: <200506022345.52319.gambasfr@...11...> Le Jeudi 02 Juin 2005 15:46, nando a ?crit?: > How do I get the value of a pixel. > Nothing listed in the wiki. > I want to read part of a drawing area. > -Fernando Hi Fernando, In fact it's really simple : I think you need to use an internal image to prepare your drawing, and then copy the content of it in the drawingarea by this way you can know the pixel value by : color = image[X,Y] Fabien > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From budi.a.gusandi at ...626... Fri Jun 3 08:53:34 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Fri, 03 Jun 2005 13:53:34 +0700 Subject: [Gambas-user] Browse Picture Error In-Reply-To: <200505311229.19311.sourceforge-raindog2@...94...> References: <20050531161710.33586.qmail@...985...> <200505311229.19311.sourceforge-raindog2@...94...> Message-ID: <429FFE6E.4020107@...415...> Dear Benoit, When i try to choose picture property, and select a file (from browser dialog). When i right click the scroll bar of the dialog, it raises error : This application has raised an unexpected error and must abort [12] Not an object FSupSelector.Explorer_menu.1123 I use mandrake 10.1. Tried on 2 boxes, has the same error. Regards, Budi From budi.a.gusandi at ...626... Fri Jun 3 09:52:17 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Fri, 03 Jun 2005 14:52:17 +0700 Subject: [Gambas-user] Text Database In-Reply-To: <429FFE6E.4020107@...415...> References: <20050531161710.33586.qmail@...985...> <200505311229.19311.sourceforge-raindog2@...94...> <429FFE6E.4020107@...415...> Message-ID: <42A00C31.3090207@...415...> Hi... Does anyone have sample of how using text file as database (contains records and fields) ? most important when it needs to update and search for a specific record. Thank You Budi From budi.a.gusandi at ...626... Fri Jun 3 09:52:33 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Fri, 03 Jun 2005 14:52:33 +0700 Subject: [Gambas-user] GridView and Current cell In-Reply-To: <429F1279.6040600@...988...> References: <429F1279.6040600@...988...> Message-ID: <42A00C41.1010605@...415...> Arkadiusz Zychewicz wrote: > I have a gridview and i want to know which row is clicked. > How get it information? > > I find a property Current but there is just about height etc. > > Arek. It's so simple arek. you just use row property of gridview that will return which row you clicked. But remember the grid is base 0. Public Sub GridView1_Click() label1.text = GridView1.row End Regards, Budi From budi.a.gusandi at ...626... Fri Jun 3 10:00:20 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Fri, 03 Jun 2005 15:00:20 +0700 Subject: [Gambas-user] LEGAL SOFTWARE ? In-Reply-To: <429F1279.6040600@...988...> References: <429F1279.6040600@...988...> Message-ID: <42A00E14.2030308@...415...> Hi All Gambaser.. If i create an application using gambas and my app has the same interface with commercial application, can my software categorized as illegal or it's fine ? Thanks... Budi From budi.a.gusandi at ...626... Fri Jun 3 10:02:54 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Fri, 03 Jun 2005 15:02:54 +0700 Subject: [Gambas-user] Table View In-Reply-To: <200506021658.j52Gww8M010081@...989...> References: <200506021658.j52Gww8M010081@...989...> Message-ID: <42A00EAE.2040103@...415...> Enrique wrote: >Yo tenia el mismo problema como hacer editable un tableview pero con el >ejemplo enviado por budi at ...415..., logre hacer un ejemplo, el que adjunto, >es solo una forma de hacerlo. > >Saludos, muchas gracias a todos > > > > Your attachment works, after i modified some pieces of code, since you connect to postgreSQL. Thanks anyway. From budi.a.gusandi at ...626... Fri Jun 3 11:22:15 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Fri, 03 Jun 2005 16:22:15 +0700 Subject: [Gambas-user] Gambas Editor Component In-Reply-To: <429FFE6E.4020107@...415...> References: <20050531161710.33586.qmail@...985...> <200505311229.19311.sourceforge-raindog2@...94...> <429FFE6E.4020107@...415...> Message-ID: <42A02147.60909@...415...> Dear Benoit, How can i set my own syntaxes (reserved words) for gambas color editor component ? by default it will recognize gambas syntax only. So i want when i type word "hello" then it will change the forecolor automatically. Just like when we write code in gambas. Regards, Budi From radoslav.dejanovic at ...116... Fri Jun 3 12:01:34 2005 From: radoslav.dejanovic at ...116... (Radoslav =?iso-8859-2?q?Dejanovi=E6?=) Date: Fri, 3 Jun 2005 12:01:34 +0200 Subject: [Gambas-user] LEGAL SOFTWARE ? In-Reply-To: <42A00E14.2030308@...415...> References: <429F1279.6040600@...988...> <42A00E14.2030308@...415...> Message-ID: <200506031201.34498.radoslav.dejanovic@...116...> On Friday 03 June 2005 10:00, BUDI ARIEF GUSANDI wrote: > Hi All Gambaser.. > > If i create an application using gambas and my app has the same > interface with commercial application, can my software categorized as > illegal or it's fine ? It is legal as long as you don' copy it pixel for pixel. ;) In general, they can't sue you just because your app looks like theirs (but be aware of any registered graphics, logos, etc). -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From nando_f at ...951... Fri Jun 3 14:13:05 2005 From: nando_f at ...951... (nando) Date: Fri, 3 Jun 2005 08:13:05 -0400 Subject: [Gambas-user] Drawing question In-Reply-To: <200506022345.52319.gambasfr@...11...> References: <20050602134501.M87081@...951...> <200506022345.52319.gambasfr@...11...> Message-ID: <20050603121152.M73919@...951...> Thank you!! I missed that when reading the docs-sorry. -Fernando ---------- Original Message ----------- From: fabien To: gambas-user at lists.sourceforge.net Sent: Thu, 2 Jun 2005 23:45:52 +0200 Subject: Re: [Gambas-user] Drawing question > Le Jeudi 02 Juin 2005 15:46, nando a ?crit : > > How do I get the value of a pixel. > > Nothing listed in the wiki. > > I want to read part of a drawing area. > > -Fernando > > Hi Fernando, > > In fact it's really simple : > > I think you need to use an internal image to prepare your drawing, > > and then copy the content of it in the drawingarea > > by this way you can know the pixel value by : > > color = image[X,Y] > > Fabien > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by Yahoo. > > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > > Search APIs Find out how you can build Yahoo! directly into your own > > Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using > Yahoo! Search APIs Find out how you can build Yahoo! directly into > your own Applications - visit http://developer.yahoo.net/?fr_______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From nando_f at ...951... Fri Jun 3 15:41:15 2005 From: nando_f at ...951... (nando) Date: Fri, 3 Jun 2005 09:41:15 -0400 Subject: [Gambas-user] QPixmap TODO Console message Message-ID: <20050603133717.M72831@...951...> Performing the following line.... Picturebox1.Picture.Resize(800,600) 'picturebox1 had an picture in it that was 400,300 in size I got an CONSOLE message: QPixmap::resize: TODO resize alpha data ..and noticed the resize didn't work. -help -Fernando From sourceforge-raindog2 at ...94... Fri Jun 3 17:51:11 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 3 Jun 2005 11:51:11 -0400 Subject: [Gambas-user] LEGAL SOFTWARE ? In-Reply-To: <42A00E14.2030308@...415...> References: <429F1279.6040600@...988...> <42A00E14.2030308@...415...> Message-ID: <200506031151.11732.sourceforge-raindog2@...94...> On Friday 03 June 2005 04:00, BUDI ARIEF GUSANDI wrote: > If i create an application using gambas and my app has the same > interface with commercial application, can my software categorized > as illegal or it's fine ? You'd probably want to talk to a lawyer in your own country if you really want to be sure, but in the US, it seems pretty well established that things like menu and form layouts can be imitated without infringing. On the other hand, Apple sues people (or threatens to) all over the place for duplicating their unique look (translucent blue glassy widgets, white/grey stippled background, etc.) and a US developer would probably be well advised to try not to piss off someone who's proven willing to sue people unless they have someone like the EFF ready to mount a defense. I'm no lawyer, I just read the papers. Rob From cloroetilo at ...626... Mon Jun 6 02:33:38 2005 From: cloroetilo at ...626... (PaquitoSoft) Date: Mon, 06 Jun 2005 02:33:38 +0200 Subject: [Gambas-user] Packages Error Message-ID: <1118018018.3690.9.camel@...37...> Hi there: I's starting with gambas and I like it very much since I was looking for anything that coul help me to build GUI for some command line linux programs. I had experience in VB and at this moment I like better Gambas than Mocosoft VB. I made a little program that show you bandwith statistics and it's working very well (it uses 'ifstat' to get the values). Now I want to make a debian package. I followed the wizard but I was not able to build successfully. I guess that it tries first to make rpm and the convert them to deb (with alien, isn't it?). I get an error in the first step. I've installed 1.9.3 version from the repository (I'm using Debian sid) and then I've compiled 1.9.8 version (the one I'm using right now). This is the error I get: (translated from spanish) Building package for Debian. Initializing folder ~/RPM. Building package fuente. Making file .spec. Building packages RPM. Package building has failed. Executing(%prep): /bin/sh -e /home/telemaco/RPM/tmp/rpm-tmp.20395 + umask 022 + cd /home/telemaco/RPM/BUILD + rm -rf /home/telemaco/RPM/tmp/medidor_red-buildroot + cd /home/telemaco/RPM/BUILD + rm -rf Medidor_Red + /usr/bin/bzip2 -dc /home/telemaco/RPM/SOURCES/medidor_red-0.0.tar.bz2 + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd Medidor_Red + exit 0 Executing(% build): /bin/sh -e /home/telemaco/RPM/tmp/rpm-tmp.20395 + umask 022 + cd /home/telemaco/RPM/BUILD + cd Medidor_Red + /usr/bin/gbc2 -a -p OK + gba /h I didn't find anyone with the same problem at the mailing list, so if you have anuy idea please tell me. Thank you very much Great job -- El tiempo es un gran profesor. Desafortunadamente, mata a todos sus alumnos. From budi.a.gusandi at ...626... Mon Jun 6 05:02:01 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Mon, 06 Jun 2005 10:02:01 +0700 Subject: [Gambas-user] MySQL Component Error ? In-Reply-To: <1118018018.3690.9.camel@...37...> References: <1118018018.3690.9.camel@...37...> Message-ID: <42A3BCA9.1090603@...415...> Hi... I dont know what's wrong the MySQL or TableView component ? Try execute this query : SELECT Version() the result will be 4.0.x SELECT Database() the result is the same as select version above. Not the current actual selected Database. any can help ? You can execute it via gambas-db-manager sql query. Regards, Budi From nigel at ...38... Mon Jun 6 09:52:06 2005 From: nigel at ...38... (nigel at ...38...) Date: Mon, 6 Jun 2005 09:52:06 +0200 (CEST) Subject: [Gambas-user] MySQL Component Error ? Message-ID: <6761650.1118044326002.JavaMail.www@...718...> Budi, I know this is an obvious thing, but have you tried the two selects just within mysql, on the command interface? Nigel > Message date : Jun 06 2005, 04:05 AM > From : "BUDI ARIEF GUSANDI" > To : gambas-user at lists.sourceforge.net > Copy to : > Subject : [Gambas-user] MySQL Component Error ? > > Hi... > > I dont know what's wrong the MySQL or TableView component ? > Try execute this query : > > SELECT Version() > the result will be 4.0.x > SELECT Database() > the result is the same as select version above. Not the current actual > selected Database. > any can help ? You can execute it via gambas-db-manager sql query. > > Regards, > Budi > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From budi.a.gusandi at ...626... Mon Jun 6 12:57:34 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Mon, 06 Jun 2005 17:57:34 +0700 Subject: [Gambas-user] MySQL Component Error ? In-Reply-To: <6761650.1118044326002.JavaMail.www@...718...> References: <6761650.1118044326002.JavaMail.www@...718...> Message-ID: <42A42C1E.2040701@...415...> Nigel, Yes, i have tried the two selects within mysql shell. Here is the point : 1. When i execute the two selects one by one. I've got the correct result. mysql> select version(); +-----------+ | version() | +-----------+ | 4.0.18 | +-----------+ 1 row in set (0.00 sec) mysql> select database(); +------------+ | database() | +------------+ | test | +------------+ 1 row in set (0.00 sec) 2. When i execute both together, it gave me error. I cant figure it out why... mysql> select database() -> select version(); ERROR 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'select version()' at line 2 3. As point number one above works, so i try to execute both queries one by one in gambas (not all the select queries in the same time). But the result is totally different with what i got in mysqlshell. i wrote this : "select version();" -->i execute-->column name = version() and data returned "4.0.18". so this is correct. i clear the query text. i wrote again: "select database();" -->i execute-->column name = database() and data returned "4.0.18". so this is still incorrect. Note : i run this in gambas DB manager and via code as well. It's supposed to give the same result as point number 1 above right ? Budi nigel at ...38... wrote: >Budi, > >I know this is an obvious thing, but have you tried the two selects just within mysql, on the command interface? > >Nigel > > > > >>Message date : Jun 06 2005, 04:05 AM >>>From : "BUDI ARIEF GUSANDI" >>To : gambas-user at lists.sourceforge.net >>Copy to : >>Subject : [Gambas-user] MySQL Component Error ? >> >>Hi... >> >>I dont know what's wrong the MySQL or TableView component ? >>Try execute this query : >> >>SELECT Version() >>the result will be 4.0.x >>SELECT Database() >>the result is the same as select version above. Not the current actual >>selected Database. >>any can help ? You can execute it via gambas-db-manager sql query. >> >>Regards, >>Budi >> >> >> >> > > > From budi.a.gusandi at ...626... Mon Jun 6 12:57:57 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Mon, 06 Jun 2005 17:57:57 +0700 Subject: [Gambas-user] MySQL Error Number Message-ID: <42A42C35.30104@...415...> Hi Nigel, Can DB component shows MySQL error number ? it seems that it only shows error description begins with "Query failed : " text without the number. I think it's important to have mysql error number for a situation where application we made has sql error, so user can just give the error number and we can fix it base on the number easier. Please advice...Thanks. Reagrds, Budi From oreip at ...1... Mon Jun 6 15:37:25 2005 From: oreip at ...1... (PV) Date: Mon, 06 Jun 2005 15:37:25 +0200 Subject: [Gambas-user] Problems with Settings in Gambas 1.9.9 Message-ID: <42A45195.8090402@...1...> Hi all! I upgraded to Gambas 1.9.9 and I noticed a strange behavior with the Settings class. I created a test project which includes the Settings class but if I code something like DIM s AS Settings s = NEW Settings("/path/to/file") at runtime Gambas issues an error "Type mismatch: wanted Integer, got String instead". What is even stranger is that, if I uncheck the gb.settings component from the project properties, the error disappears and everything works! Has anybody else experienced the same behavior? Regards, Piero From daniel at ...889... Mon Jun 6 17:27:09 2005 From: daniel at ...889... (Daniel) Date: Mon, 06 Jun 2005 17:27:09 +0200 Subject: [Gambas-user] strang !!! (bug maibe) Message-ID: <42A46B4D.4030407@...889...> hi all il you put this code in one button, the first time you click no problem and the second time and after "Type mismatch: wanted integer, got instead" i tink the problem com from the { htable.primarykey = ["id"] } DIM hTable AS Table IF con1.Tables.Exist("ZOZO") THEN con1.Tables.Remove("ZOZO") ELSE PRINT "No Table ZOZO" ENDIF hTable = Con1.Tables.Add("ZOZO") hTable.Fields.Add("id", gb.Integer) hTable.Fields.Add("firstname", gb.String, 16) hTable.Fields.Add("name", gb.String, 32) hTable.Fields.Add("birth", gb.Date) hTable.Fields.Add("actived", gb.Boolean) hTable.Fields.Add("salary", gb.Float) hTable.PrimaryKey = ["id"] hTable.Update daniel From matthias-laur at ...978... Mon Jun 6 21:23:17 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Mon, 6 Jun 2005 21:23:17 +0200 Subject: [Gambas-user] process.id In-Reply-To: <200505241802.24823.gambas@...1...> References: <0ML2Dk-1DYgQv1WYP-0000nd@...979...> <200505241802.24823.gambas@...1...> Message-ID: <200506062123.17635.matthias-laur@...978...> Hi Benoit, that don't work :-( The File has not more than a picture of the first moment. Something must be wront. The output of the tv-card is mpeg. Could that be the problem? Regards, Matthias Open the destination file before running the process, and in the Process_Read event, get the output of the process and write it to the file: SUB Process_Read() DIM sBuffer AS String DIM iLen AS Integer iLen = Lof(LAST) READ #LAST, sBuffer, iLen WRITE #hFile, sBuffer, iLen END When the process is terminated, close the destination file. SUB Process_Kill() CLOSE #hFile END Regards, -- Benoit Minisini From lordheavy at ...512... Tue Jun 7 01:15:15 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 7 Jun 2005 01:15:15 +0200 Subject: [Gambas-user] a gambas game using sdl - only for testing Message-ID: <200506070115.15464.lordheavy@...512...> I've upload a small game (not finished) on gambasforge http://www.gambasforge.net It's called galaxiga and it's ported from blitzbasic ... it's not finished and buggy but it's playable. Send your comments and feedback/wishes about sdl component ! http://www.gambasforge.net/code.php?id=61 Have fun, -- Laurent Carlier jabber : LordHeavy at ...943... From budi.a.gusandi at ...626... Tue Jun 7 06:06:27 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Tue, 07 Jun 2005 11:06:27 +0700 Subject: [Gambas-user] Textbox Methode and TabStrip Message-ID: <42A51D43.30105@...415...> Hi Benoit and all gambaser, 1. Is there any methode in textbox control to simplify the proses of adding string/text ? Instead of using text1.text = text1.tex & "something", will it be nice if we have a methode text1.append("something"). Just like text1.text = "" which is simplified by text1.clear to clear the text. 2. When i enable the control from disabled condition (tabstrip1.enabled = false to true), Why all the disabled childstrips are also enabled to true ? The children shouldn't be all enabled. 3. How can i load picture into picturebox ? using the following code doesnt work. Dim b as new picture b.load("img/test.png") picturebox1.picture = b and picturebox1.picture.load("img/test.png") doesnt work too. Thank you. Regards, Budi From ml at ...973... Tue Jun 7 07:19:42 2005 From: ml at ...973... (ML) Date: Tue, 07 Jun 2005 07:19:42 +0200 Subject: [Gambas-user] Textbox Methode and TabStrip In-Reply-To: <42A51D43.30105@...415...> References: <42A51D43.30105@...415...> Message-ID: <42A52E6E.3000209@...973...> On 07/06/2005 06:06, BUDI ARIEF GUSANDI wrote: > 3. How can i load picture into picturebox ? using the following code > doesnt work. > Dim b as new picture > b.load("img/test.png") > picturebox1.picture = b > > and picturebox1.picture.load("img/test.png") doesnt work too. Try with dim b as new image b.load("/path/to/your/file") picturebox1.picture = b.picture Ciao, Piero From matthias-laur at ...978... Tue Jun 7 08:41:32 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Tue, 7 Jun 2005 08:41:32 +0200 Subject: [Gambas-user] process.kill In-Reply-To: <42A52E6E.3000209@...973...> Message-ID: <0MKwh2-1DfXmK3rk7-0001Gm@...979...> Hi, I've still a problem with process.kill. I see live video with the mplayer from /dev/video32. The mplayer has the parameter -wid and belong to a drawing area of a gambas form. So long it works fine. For termination I try myprocess.kill. But after then the /dev/video32 is still busy and I can't start the process again. If I use EXEC ["kill", cstr(myprocess.id)] it works and /dev/video32 is free after then. It works for many times, but sometimes the whole application freeze after then and I must close it. I don't understand why, but I think the linux kill is to heavy und not a good programming. 1. Can you tell me the difference between Linux command "kill id" and the gambas command process.kill? 2. How can I make sure that the device /dev/video32 is free after the command process.kill? Many thanks for your help I use Gambas 1.0.6 Regards, Matthias From matthias-laur at ...978... Tue Jun 7 10:23:07 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Tue, 7 Jun 2005 10:23:07 +0200 Subject: [Gambas-user] process.kill Message-ID: <0MKwtQ-1DfZMg0vJL-0001Uq@...979...> Hi, I"ve still a problem with process.kill. I see live video with the mplayer from /dev/video32. The mplayer has the parameter -wid and belong to a drawing area of a gambas form. So long it works fine. For termination I try myprocess.kill. But after then the /dev/video32 is still busy and I can"t start the process again. If I use EXEC ["kill", cstr(myprocess.id)] it works and /dev/video32 is free after then. It works for many times, but sometimes the whole application freeze after then and I must close it. I don"t understand why, but I think the linux kill is to heavy und not a good programming. 1. Can you tell me the difference between Linux command "kill id" and the gambas command process.kill? 2. How can I make sure that the device /dev/video32 is free after the command process.kill? Many thanks for your help I use Gambas 1.0.6 Regards, Matthias -------------- next part -------------- An HTML attachment was scrubbed... URL: From nigel at ...38... Tue Jun 7 11:52:59 2005 From: nigel at ...38... (nigel at ...38...) Date: Tue, 7 Jun 2005 11:52:59 +0200 (CEST) Subject: [Gambas-user] MySQL Component Error ? Message-ID: <20415638.1118137979605.JavaMail.www@...796...> Budi, with regard to point 2, querying mysql with a single query, the syntax I believe you should use is: select version(), database(); But as you state there does seem to be an issue with gambas not clearing the old value in between the statements. I will find time to have a look, but as you might see from my lack of recent involvement in the project, my real work has been pressing. As a work around, try the single syntax above. Cheers Nigel > Message date : Jun 06 2005, 12:00 PM > From : "BUDI ARIEF GUSANDI" > To : gambas-user at lists.sourceforge.net > Copy to : > Subject : Re: [Gambas-user] MySQL Component Error ? > > Nigel, > > Yes, i have tried the two selects within mysql shell. Here is the point : > 1. When i execute the two selects one by one. I've got the correct result. > > mysql> select version(); > +-----------+ > | version() | > +-----------+ > | 4.0.18 | > +-----------+ > 1 row in set (0.00 sec) > > mysql> select database(); > +------------+ > | database() | > +------------+ > | test | > +------------+ > 1 row in set (0.00 sec) > > 2. When i execute both together, it gave me error. I cant figure it out > why... > > mysql> select database() > -> select version(); > ERROR 1064: You have an error in your SQL syntax. Check the manual that > corresponds to your MySQL server version for the right syntax to use > near 'select version()' at line 2 > > 3. As point number one above works, so i try to execute both queries one > by one in gambas (not all the select queries in the same time). But the > result is totally different with what i got in mysqlshell. > i wrote this : "select version();" -->i execute-->column name = > version() and data returned "4.0.18". so this is correct. > i clear the query text. > i wrote again: "select database();" -->i execute-->column name = > database() and data returned "4.0.18". so this is still incorrect. > Note : i run this in gambas DB manager and via code as well. > > It's supposed to give the same result as point number 1 above right ? > > Budi > > nigel at ...38... wrote: > > >Budi, > > > >I know this is an obvious thing, but have you tried the two selects just within mysql, on the command interface? > > > >Nigel > > > > > > > > > >>Message date : Jun 06 2005, 04:05 AM > >>>From : "BUDI ARIEF GUSANDI" > >>To : gambas-user at lists.sourceforge.net > >>Copy to : > >>Subject : [Gambas-user] MySQL Component Error ? > >> > >>Hi... > >> > >>I dont know what's wrong the MySQL or TableView component ? > >>Try execute this query : > >> > >>SELECT Version() > >>the result will be 4.0.x > >>SELECT Database() > >>the result is the same as select version above. Not the current actual > >>selected Database. > >>any can help ? You can execute it via gambas-db-manager sql query. > >> > >>Regards, > >>Budi > >> > >> > >> > >> > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From gambas at ...1... Tue Jun 7 12:33:40 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 7 Jun 2005 12:33:40 +0200 Subject: [Gambas-user] Browse Picture Error In-Reply-To: <429FFE6E.4020107@...415...> References: <20050531161710.33586.qmail@...985...> <200505311229.19311.sourceforge-raindog2@...94...> <429FFE6E.4020107@...415...> Message-ID: <200506071233.40741.gambas@...1...> On Friday 03 June 2005 08:53, BUDI ARIEF GUSANDI wrote: > Dear Benoit, > > When i try to choose picture property, and select a file (from browser > dialog). When i right click the scroll bar of the dialog, it raises error : > This application has raised an unexpected error and must abort > [12] Not an object > FSupSelector.Explorer_menu.1123 > > I use mandrake 10.1. Tried on 2 boxes, has the same error. > > Regards, > Budi > > One of the pending bugs in the FSupSelector class... :-( Which version of Gambas do you use ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Jun 7 12:34:55 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 7 Jun 2005 12:34:55 +0200 Subject: [Gambas-user] Gambas Editor Component In-Reply-To: <42A02147.60909@...415...> References: <20050531161710.33586.qmail@...985...> <429FFE6E.4020107@...415...> <42A02147.60909@...415...> Message-ID: <200506071234.56118.gambas@...1...> On Friday 03 June 2005 11:22, BUDI ARIEF GUSANDI wrote: > Dear Benoit, > > How can i set my own syntaxes (reserved words) for gambas color editor > component ? by default it will recognize gambas syntax only. So i want > when i type word "hello" then it will change the forecolor > automatically. Just like when we write code in gambas. > > Regards, > Budi > You can't at the moment. The syntax highlighting is done by a function in the gb.eval component, that is exported to the gb.qt.editor component. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Jun 7 12:35:34 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 7 Jun 2005 12:35:34 +0200 Subject: [Gambas-user] QPixmap TODO Console message In-Reply-To: <20050603133717.M72831@...951...> References: <20050603133717.M72831@...951...> Message-ID: <200506071235.34469.gambas@...1...> On Friday 03 June 2005 15:41, nando wrote: > Performing the following line.... > > Picturebox1.Picture.Resize(800,600) > > 'picturebox1 had an picture in it that was 400,300 in size > > I got an CONSOLE message: > > QPixmap::resize: TODO resize alpha data > > ..and noticed the resize didn't work. > > -help > -Fernando > It is a warning from the qt library. Which version of qt do you use ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Jun 7 12:39:14 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 7 Jun 2005 12:39:14 +0200 Subject: [Gambas-user] strang !!! (bug maibe) In-Reply-To: <42A46B4D.4030407@...889...> References: <42A46B4D.4030407@...889...> Message-ID: <200506071239.14636.gambas@...1...> On Monday 06 June 2005 17:27, Daniel wrote: > hi all > il you put this code in one button, the first time you click no problem > and the second time and after > "Type mismatch: wanted integer, got instead" > i tink the problem com from the { htable.primarykey = ["id"] } > > DIM hTable AS Table > > IF con1.Tables.Exist("ZOZO") THEN > con1.Tables.Remove("ZOZO") > ELSE > PRINT "No Table ZOZO" > ENDIF > > hTable = Con1.Tables.Add("ZOZO") > > hTable.Fields.Add("id", gb.Integer) > hTable.Fields.Add("firstname", gb.String, 16) > hTable.Fields.Add("name", gb.String, 32) > hTable.Fields.Add("birth", gb.Date) > hTable.Fields.Add("actived", gb.Boolean) > hTable.Fields.Add("salary", gb.Float) > > hTable.PrimaryKey = ["id"] > > hTable.Update > > daniel > > Please tell which version of gambas you are using! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Jun 7 12:51:44 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 7 Jun 2005 12:51:44 +0200 Subject: [Gambas-user] Problems with Settings in Gambas 1.9.9 In-Reply-To: <42A45195.8090402@...1...> References: <42A45195.8090402@...1...> Message-ID: <200506071251.45231.gambas@...1...> On Monday 06 June 2005 15:37, PV wrote: > Hi all! > > I upgraded to Gambas 1.9.9 and I noticed a strange behavior with the > Settings class. > I created a test project which includes the Settings class but if I code > something like > > DIM s AS Settings > s = NEW Settings("/path/to/file") > > at runtime Gambas issues an error "Type mismatch: wanted Integer, got > String instead". > > What is even stranger is that, if I uncheck the gb.settings component from > the project properties, the error disappears and everything works! > > Has anybody else experienced the same behavior? > > Regards, > Piero > Everything seems to work fine there. Can you send me your project ? -- Benoit Minisini mailto:gambas at ...1... From budi.a.gusandi at ...626... Tue Jun 7 13:31:00 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Tue, 07 Jun 2005 18:31:00 +0700 Subject: [Gambas-user] Browse Picture Error In-Reply-To: <200506071233.40741.gambas@...1...> References: <20050531161710.33586.qmail@...985...> <200505311229.19311.sourceforge-raindog2@...94...> <429FFE6E.4020107@...415...> <200506071233.40741.gambas@...1...> Message-ID: <42A58574.30802@...415...> Benoit Minisini wrote: >On Friday 03 June 2005 08:53, BUDI ARIEF GUSANDI wrote: > > >>Dear Benoit, >> >>When i try to choose picture property, and select a file (from browser >>dialog). When i right click the scroll bar of the dialog, it raises error : >>This application has raised an unexpected error and must abort >>[12] Not an object >>FSupSelector.Explorer_menu.1123 >> >>I use mandrake 10.1. Tried on 2 boxes, has the same error. >> >>Regards, >>Budi >> >> >> >> > >One of the pending bugs in the FSupSelector class... :-( Which version of >Gambas do you use ? > > > Gambas 1.0.6 running on Mandrake 10.1 :-) Budi From budi.a.gusandi at ...626... Tue Jun 7 13:31:09 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Tue, 07 Jun 2005 18:31:09 +0700 Subject: [Gambas-user] Disconnected Result in TAbleView Message-ID: <42A5857D.8020800@...415...> Dear All, is it that Tableview is only bound to result object ? will it might be possible if we know the structure of result object so we can add or create data on the fly and we can add/delete data from tableview without affecting database, something like disconnected recordset in ADO ? i use gridview to manipulate data within grid, but the lack are it has no header and row higlighting so it's hard to use keyboard to select row. Any work around ? unbound editable grid is one of vital components in making database app. Regards, Budi From gambas at ...1... Tue Jun 7 13:40:08 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 7 Jun 2005 13:40:08 +0200 Subject: [Gambas-user] process.kill In-Reply-To: <0MKwtQ-1DfZMg0vJL-0001Uq@...979...> References: <0MKwtQ-1DfZMg0vJL-0001Uq@...979...> Message-ID: <200506071340.08865.gambas@...1...> On Tuesday 07 June 2005 10:23, Matthias Laur wrote: > Hi, > I"ve still a problem with process.kill. I see live video with the mplayer > from /dev/video32. The mplayer has the parameter -wid and belong to a > drawing area of a gambas form. So long it works fine. For termination I > try myprocess.kill. But after then the /dev/video32 is still busy and I > can"t start the process again. If I use EXEC ["kill", cstr(myprocess.id)] > it works > and /dev/video32 is free after then. It works for many times, but > sometimes the whole application freeze after then and I must close it. I > don"t understand why, but I think the linux kill is to heavy und not a good > programming. > > 1. Can you tell me the difference between Linux command "kill id" and the > gambas command process.kill? The Gambas command Process.Kill is equivalent to "kill -9 pid", but waits for the process ending. I think the problem is in the second point... It seem that there is a race condidition in the function that waits for a process ending (CPROCESS_wait_for). But it should not! :-( Can you try the last (1.9.9) development version with this patch ? It should not fix your problems, but may fix the freeze one. Tell me the result :-) > > 2. How can I make sure that the device /dev/video32 is free after the > command process.kill? If /dev/video32 is not freed, then it means that the process was not killed. Use the 'fuser' command to know the pid of the process that uses /dev/video32. > > Many thanks for your help > > I use Gambas 1.0.6 > > Regards, > Matthias Regards, -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: gbx_c_process.c Type: text/x-csrc Size: 14275 bytes Desc: not available URL: From matthias-laur at ...978... Tue Jun 7 14:03:11 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Tue, 7 Jun 2005 14:03:11 +0200 Subject: AW: [Gambas-user] process.kill In-Reply-To: <200506071340.08865.gambas@...1...> Message-ID: <0ML2Dk-1Dfcnd07W4-0000lQ@...979...> Hi Benoit, Is the development version 1.9.9 stable enough? I'm not sure, because I'm working on a project for a company near Berlin. They produce hardware. The application should control home-electronic things like video observation camera, relais for switching and something mor. It is my bachelor exam for electrical engineering and I want to use gambas for it ;-) So it is very important that the application is very stable. It should be works for weeks without any restart. Otherwise they will send me to the devil :-( Regards, Matthias -----Urspr?ngliche Nachricht----- Von: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] Im Auftrag von Benoit Minisini Gesendet: Dienstag, 7. Juni 2005 13:40 An: gambas-user at lists.sourceforge.net Betreff: Re: [Gambas-user] process.kill On Tuesday 07 June 2005 10:23, Matthias Laur wrote: > Hi, > I"ve still a problem with process.kill. I see live video with the mplayer > from /dev/video32. The mplayer has the parameter -wid and belong to a > drawing area of a gambas form. So long it works fine. For termination I > try myprocess.kill. But after then the /dev/video32 is still busy and I > can"t start the process again. If I use EXEC ["kill", cstr(myprocess.id)] > it works > and /dev/video32 is free after then. It works for many times, but > sometimes the whole application freeze after then and I must close it. I > don"t understand why, but I think the linux kill is to heavy und not a good > programming. > > 1. Can you tell me the difference between Linux command "kill id" and the > gambas command process.kill? The Gambas command Process.Kill is equivalent to "kill -9 pid", but waits for the process ending. I think the problem is in the second point... It seem that there is a race condidition in the function that waits for a process ending (CPROCESS_wait_for). But it should not! :-( Can you try the last (1.9.9) development version with this patch ? It should not fix your problems, but may fix the freeze one. Tell me the result :-) > > 2. How can I make sure that the device /dev/video32 is free after the > command process.kill? If /dev/video32 is not freed, then it means that the process was not killed. Use the 'fuser' command to know the pid of the process that uses /dev/video32. > > Many thanks for your help > > I use Gambas 1.0.6 > > Regards, > Matthias Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Jun 7 14:17:03 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 7 Jun 2005 14:17:03 +0200 Subject: AW: [Gambas-user] process.kill In-Reply-To: <0ML2Dk-1Dfcnd07W4-0000lQ@...979...> References: <0ML2Dk-1Dfcnd07W4-0000lQ@...979...> Message-ID: <200506071417.05638.gambas@...1...> On Tuesday 07 June 2005 14:03, Matthias Laur wrote: > Hi Benoit, > Is the development version 1.9.9 stable enough? I'm not sure, because I'm > working on a project for a company near Berlin. They produce hardware. The > application should control home-electronic things like video observation > camera, relais for switching and something mor. It is my bachelor exam for > electrical engineering and I want to use gambas for it ;-) > So it is very important that the application is very stable. It should be > works for weeks without any restart. Otherwise they will send me to the > devil :-( > > Regards, > Matthias > I asked you to use the dev version just because the process management code is not exactly the same. If I find what the problem exactly is, I will backport any fix in the stable version so that you can use it. Regards, -- Benoit Minisini mailto:gambas at ...1... From matthias-laur at ...978... Tue Jun 7 14:30:09 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Tue, 7 Jun 2005 14:30:09 +0200 Subject: AW: AW: [Gambas-user] process.kill In-Reply-To: <200506071417.05638.gambas@...1...> Message-ID: <0MKwpI-1DfdDk1eiB-0002C8@...979...> Ok, I try it. What should I exactly do with the patch? Copy it to the source and compile it as usual. Is the gambas code the same? Can I run my project on it without any modifications? Is there a possibility to install gambas stable and devel on the same computer? Regards, Matthias -----Urspr?ngliche Nachricht----- Von: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] Im Auftrag von Benoit Minisini Gesendet: Dienstag, 7. Juni 2005 14:17 An: gambas-user at lists.sourceforge.net Betreff: Re: AW: [Gambas-user] process.kill On Tuesday 07 June 2005 14:03, Matthias Laur wrote: > Hi Benoit, > Is the development version 1.9.9 stable enough? I'm not sure, because I'm > working on a project for a company near Berlin. They produce hardware. The > application should control home-electronic things like video observation > camera, relais for switching and something mor. It is my bachelor exam for > electrical engineering and I want to use gambas for it ;-) > So it is very important that the application is very stable. It should be > works for weeks without any restart. Otherwise they will send me to the > devil :-( > > Regards, > Matthias > I asked you to use the dev version just because the process management code is not exactly the same. If I find what the problem exactly is, I will backport any fix in the stable version so that you can use it. Regards, -- Benoit Minisini mailto:gambas at ...1... ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From juergen at ...992... Tue Jun 7 14:34:07 2005 From: juergen at ...992... (=?iso-8859-1?q?J=FCrgen_Zdero?=) Date: Tue, 7 Jun 2005 14:34:07 +0200 Subject: [Gambas-user] Gambas DCOP Examples Message-ID: <200506071434.07310.juergen@...992...> Hello Gambas-List, is there any gambas-example available, which shows how to use DCOP in Gambas. regards Juergen From gambas at ...1... Tue Jun 7 14:36:35 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 7 Jun 2005 14:36:35 +0200 Subject: AW: AW: [Gambas-user] process.kill In-Reply-To: <0MKwpI-1DfdDk1eiB-0002C8@...979...> References: <0MKwpI-1DfdDk1eiB-0002C8@...979...> Message-ID: <200506071436.36003.gambas@...1...> On Tuesday 07 June 2005 14:30, Matthias Laur wrote: > Ok, I try it. > > What should I exactly do with the patch? Copy it to the source and compile > it as usual. Yes. > > Is the gambas code the same? Not exactly. > Can I run my project on it without any > modifications? It depends. There are some minor syntax changes. For example, 'EXEC [...] AS hProcess' is replaced by 'hProcess = EXEC [ ... ]'. > > Is there a possibility to install gambas stable and devel on the same > computer? Of course. A gambas installation is: - One root directory (/usr, /usr/local, /opt/gambas2...) - One symbolic link (/usr/bin/gbx for gambas-1 and /ur/bin/gbx2 for gambas-2) > > Regards, > Matthias > Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Jun 7 14:38:27 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 7 Jun 2005 14:38:27 +0200 Subject: [Gambas-user] Packages Error In-Reply-To: <1118018018.3690.9.camel@...37...> References: <1118018018.3690.9.camel@...37...> Message-ID: <200506071438.27522.gambas@...1...> On Monday 06 June 2005 02:33, PaquitoSoft wrote: > Hi there: > > I's starting with gambas and I like it very much since I was looking for > anything that coul help me to build GUI for some command line linux > programs. I had experience in VB and at this moment I like better Gambas > than Mocosoft VB. > > I made a little program that show you bandwith statistics and it's > working very well (it uses 'ifstat' to get the values). Now I want to > make a debian package. > I followed the wizard but I was not able to build successfully. > I guess that it tries first to make rpm and the convert them to deb > (with alien, isn't it?). I get an error in the first step. > I've installed 1.9.3 version from the repository (I'm using Debian sid) > and then I've compiled 1.9.8 version (the one I'm using right now). > > This is the error I get: (translated from spanish) > > Building package for Debian. > Initializing folder ~/RPM. > Building package fuente. > Making file .spec. > Building packages RPM. > > Package building has failed. > > Executing(%prep): /bin/sh -e /home/telemaco/RPM/tmp/rpm-tmp.20395 + > umask 022 + cd /home/telemaco/RPM/BUILD + rm > -rf /home/telemaco/RPM/tmp/medidor_red-buildroot + > cd /home/telemaco/RPM/BUILD + rm -rf Medidor_Red + /usr/bin/bzip2 > -dc /home/telemaco/RPM/SOURCES/medidor_red-0.0.tar.bz2 + tar -xf - + > STATUS=0 + '[' 0 -ne 0 ']' + cd Medidor_Red + exit 0 Executing(% > build): /bin/sh -e /home/telemaco/RPM/tmp/rpm-tmp.20395 + umask 022 + > cd /home/telemaco/RPM/BUILD + cd Medidor_Red + /usr/bin/gbc2 -a -p OK + > gba /h > > > I didn't find anyone with the same problem at the mailing list, so if > you have anuy idea please tell me. > > Thank you very much > Great job Actually making package will change in gambas 2, so I don't support it in the development version! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Jun 7 14:39:19 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 7 Jun 2005 14:39:19 +0200 Subject: [Gambas-user] SELECT CASE... without TO? In-Reply-To: <429C3585.1010202@...221...> References: <429C3585.1010202@...221...> Message-ID: <200506071439.19993.gambas@...1...> On Tuesday 31 May 2005 11:59, Eilert wrote: > Is it possible that the CASE instruction does not know a TO range? > > I had > > SELECT CASE Val(t$) > > CASE 1 TO 19 > > ... > > END SELECT > > and it says "End of line expected" for the line with the CASE. > > If TO is not implemented, what would you use here instead? > > Thanks for your help. > > Rolf > I add that in the TODO list. Use IF...THEN...ELSE IF...ENDIF instead. It compiles to exactly the same code. Regards, -- Benoit Minisini mailto:gambas at ...1... From daniel at ...889... Tue Jun 7 15:14:34 2005 From: daniel at ...889... (Daniel) Date: Tue, 07 Jun 2005 15:14:34 +0200 Subject: [Gambas-user] strang !!! (bug maibe) In-Reply-To: <200506071239.14636.gambas@...1...> References: <42A46B4D.4030407@...889...> <200506071239.14636.gambas@...1...> Message-ID: <42A59DBA.4040707@...889...> Benoit Minisini wrote: >On Monday 06 June 2005 17:27, Daniel wrote: > > >>hi all >>il you put this code in one button, the first time you click no problem >>and the second time and after >>"Type mismatch: wanted integer, got instead" >>i tink the problem com from the { htable.primarykey = ["id"] } >> >> DIM hTable AS Table >> >> IF con1.Tables.Exist("ZOZO") THEN >> con1.Tables.Remove("ZOZO") >> ELSE >> PRINT "No Table ZOZO" >> ENDIF >> >> hTable = Con1.Tables.Add("ZOZO") >> >> hTable.Fields.Add("id", gb.Integer) >> hTable.Fields.Add("firstname", gb.String, 16) >> hTable.Fields.Add("name", gb.String, 32) >> hTable.Fields.Add("birth", gb.Date) >> hTable.Fields.Add("actived", gb.Boolean) >> hTable.Fields.Add("salary", gb.Float) >> >> hTable.PrimaryKey = ["id"] >> >> hTable.Update >> >>daniel >> >> >> >> > >Please tell which version of gambas you are using! > > > gambas 1.9.5 daniel From christian at ...980... Tue Jun 7 15:20:53 2005 From: christian at ...980... (Christian E. =?iso-8859-1?q?L=F3pez?= Finnberg) Date: Tue, 7 Jun 2005 14:20:53 +0100 Subject: [Gambas-user] Source installation problem. Message-ID: <200506071420.53925.christian@...980...> Hi, I think there is a problem with the last (1.9.9) source installation. My system doesn't have clanlib libraries and ./configure correctly detects (the lack of) it and disables the component. Everything compiles fine, but when i make a "make install", it fails in the gb.clanlib directory with a message saying something about a missing executable "gbi". I have to explicity disable clanlib with --disable-clanlib and then I can complete the installation. Is it a bug or is my fault? -- Saludos, Christian E. L?pez Finnberg From ml at ...973... Tue Jun 7 15:20:25 2005 From: ml at ...973... (ML) Date: Tue, 07 Jun 2005 15:20:25 +0200 Subject: [Gambas-user] Problems with Settings in Gambas 1.9.9 In-Reply-To: <200506071251.45231.gambas@...1...> References: <42A45195.8090402@...1...> <200506071251.45231.gambas@...1...> Message-ID: <42A59F19.7070901@...973...> On 07/06/2005 12:51, Benoit Minisini wrote: > On Monday 06 June 2005 15:37, PV wrote: > >>Hi all! >> >>I upgraded to Gambas 1.9.9 and I noticed a strange behavior with the >>Settings class. >>I created a test project which includes the Settings class but if I code >>something like >> >>DIM s AS Settings >>s = NEW Settings("/path/to/file") >> >>at runtime Gambas issues an error "Type mismatch: wanted Integer, got >>String instead". >> >>What is even stranger is that, if I uncheck the gb.settings component from >>the project properties, the error disappears and everything works! >> >>Has anybody else experienced the same behavior? >> >>Regards, >>Piero >> > > > Everything seems to work fine there. Can you send me your project ? Well, actually the project is not a project :-), it is just a test composed of one form, one button and this sub: PUBLIC SUB Button1_Click() DIM s AS Settings s = NEW Settings("/home/piero/prova.ini") message(s["Test/Chiave1"]) END The prova.ini file looks simply like this: [Test] Chiave1=pippo That's it! :-) Upon launching the program and pushing button1, Gambas stops, highlights the line s = NEW Settings("/home/piero/prova.ini") and issues the error message as per above. What might be useful to know is this other test I've made. I've disabled the gb.settings component in this same project and added the Settings.class file directly to the project itself. After making a couple of necessary changes to it (the Main.ToString/FromString thing), everything works fine, no problem at all. Thanks, Piero From ml at ...973... Tue Jun 7 15:24:19 2005 From: ml at ...973... (ML) Date: Tue, 07 Jun 2005 15:24:19 +0200 Subject: [Gambas-user] Source installation problem. In-Reply-To: <200506071420.53925.christian@...980...> References: <200506071420.53925.christian@...980...> Message-ID: <42A5A003.1070007@...973...> On 07/06/2005 15:20, Christian E. L?pez Finnberg wrote: > Hi, I think there is a problem with the last (1.9.9) source installation. My > system doesn't have clanlib libraries and ./configure correctly detects (the > lack of) it and disables the component. Everything compiles fine, but when i > make a "make install", it fails in the gb.clanlib directory with a message > saying something about a missing executable "gbi". > I have to explicity disable clanlib with --disable-clanlib and then I can > complete the installation. > > Is it a bug or is my fault? Don't know, but I had to do exactly the same as you did. Regards, Piero From eilert-sprachen at ...221... Tue Jun 7 15:35:43 2005 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 07 Jun 2005 15:35:43 +0200 Subject: [Gambas-user] SELECT CASE... without TO? In-Reply-To: <200506071439.19993.gambas@...1...> References: <429C3585.1010202@...221...> <200506071439.19993.gambas@...1...> Message-ID: <42A5A2AF.1040109@...221...> Benoit Minisini schrieb: > On Tuesday 31 May 2005 11:59, Eilert wrote: > >>Is it possible that the CASE instruction does not know a TO range? >> >>I had >> >>SELECT CASE Val(t$) >> >>CASE 1 TO 19 >> >>... >> >>END SELECT >> >>and it says "End of line expected" for the line with the CASE. >> >>If TO is not implemented, what would you use here instead? >> >>Thanks for your help. >> >>Rolf >> > > > I add that in the TODO list. Use IF...THEN...ELSE IF...ENDIF instead. It > compiles to exactly the same code. > > Regards, > Thanks, would be nice to have. The IF blabla > x and blabla < y THEN doesn't look as clean as a simple CASE x TO y although it means the same. By the way, I've proceeded rather far with my big project in Gambas, and it looks better than the original VB app and it performs much better. A lot of minor work is still to be done, but the overall functionality is already there. It's real fun to program in Gambas, and the results are convincing. Rolf From sourceforge-raindog2 at ...94... Tue Jun 7 15:35:32 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 7 Jun 2005 09:35:32 -0400 Subject: [Gambas-user] Gambas DCOP Examples In-Reply-To: <200506071434.07310.juergen@...992...> References: <200506071434.07310.juergen@...992...> Message-ID: <200506070935.32947.sourceforge-raindog2@...94...> On Tuesday 07 June 2005 08:34, J?rgen Zdero wrote: > is there any gambas-example available, which shows how to use DCOP > in Gambas. Yes, the "KateBrowser" example uses DCOP to launch the Kate editor and open files in it. Rob From gambas at ...1... Tue Jun 7 15:45:53 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 7 Jun 2005 15:45:53 +0200 Subject: [Gambas-user] Gambas DCOP Examples In-Reply-To: <200506070935.32947.sourceforge-raindog2@...94...> References: <200506071434.07310.juergen@...992...> <200506070935.32947.sourceforge-raindog2@...94...> Message-ID: <200506071545.54313.gambas@...1...> On Tuesday 07 June 2005 15:35, Rob wrote: > On Tuesday 07 June 2005 08:34, J?rgen Zdero wrote: > > is there any gambas-example available, which shows how to use DCOP > > in Gambas. > > Yes, the "KateBrowser" example uses DCOP to launch the Kate editor and > open files in it. > > Rob > Actually it does not open file in it, it allows you to browse a C source file, and find a function directly from a popup-menu, like the Gambas editor does. -- Benoit Minisini mailto:gambas at ...1... From ml at ...973... Tue Jun 7 21:08:57 2005 From: ml at ...973... (ML) Date: Tue, 07 Jun 2005 21:08:57 +0200 Subject: [Gambas-user] SDL image Message-ID: <42A5F0C9.10400@...973...> Hi all, don't know whether this has been asked before (sorry if it has been) but I'm having problems with the SDL-image component (SDL and SDL-sound are ok). If I include it in whatever project (also just a form), when I run the program it stops and a console window pops up saying WARNING: circular references detected FMain (1) WARNING: 2 allocation(s) non freed. even though the code does plain nothing (it is only a return instruction). Does anybody have any hints about this problem? TIA, Piero P.S. I am using SDL-1.2.7, SDL_gfx-2.0.13, SDL_image-1.2.4, SDL_mixer-1.2.5, SDL_net-1.2.5, SDL_sound-1.0.1, SDL_ttf-2.0.6 From danielcampos at ...282... Tue Jun 7 21:22:33 2005 From: danielcampos at ...282... (Daniel Campos) Date: Tue, 07 Jun 2005 21:22:33 +0200 Subject: [Gambas-user] SDL image In-Reply-To: <42A5F0C9.10400@...973...> References: <42A5F0C9.10400@...973...> Message-ID: <42A5F3F9.90704@...282...> The SDL component has its own main loop, and this makes it incompatible with the qt and gtk components. A "Gambas-SDL image" program con not have gb.qt or gb.gtk as dependencies (and is not able to show forms) Regards, D. Campos ML escribi?: > Hi all, > > don't know whether this has been asked before (sorry if it has been) > but I'm having problems with the SDL-image component (SDL and > SDL-sound are ok). > If I include it in whatever project (also just a form), when I run the > program it stops and a console window pops up saying > > WARNING: circular references detected > FMain (1) > WARNING: 2 allocation(s) non freed. > > even though the code does plain nothing (it is only a return > instruction). > > Does anybody have any hints about this problem? > > TIA, > Piero > > P.S. I am using SDL-1.2.7, SDL_gfx-2.0.13, SDL_image-1.2.4, > SDL_mixer-1.2.5, SDL_net-1.2.5, SDL_sound-1.0.1, SDL_ttf-2.0.6 > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput > a projector? How fast can you ride your desk chair down the office > luge track? > If you want to score the big prize, get to know the little guy. Play > to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambasfr at ...11... Tue Jun 7 22:03:25 2005 From: gambasfr at ...11... (fabien) Date: Tue, 7 Jun 2005 22:03:25 +0200 Subject: [Gambas-user] SDL image In-Reply-To: <42A5F3F9.90704@...282...> References: <42A5F0C9.10400@...973...> <42A5F3F9.90704@...282...> Message-ID: <200506072203.25975.gambasfr@...11...> Le Mardi 07 Juin 2005 21:22, Daniel Campos a ?crit?: look on the http://www.gambasforge.net site for sdl exemple, at section game or demo. Fabien From berto.melgar at ...626... Tue Jun 7 22:22:19 2005 From: berto.melgar at ...626... (Berto) Date: Tue, 7 Jun 2005 21:22:19 +0100 Subject: [Gambas-user] cant install gambas 1.9.9 Message-ID: <38e9ff990506071322619f7485@...627...> ./configure [OK] make [OK] but when i do "make install" as root i get this.... [....] Libraries have been installed in: /usr/local/lib/gambas2 If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[4]: Leaving directory `/home/berto/descargas/compilar/gambas2-1.9.9/gb.sdl/src' make[3]: Leaving directory `/home/berto/descargas/compilar/gambas2-1.9.9/gb.sdl/src' make[2]: Leaving directory `/home/berto/descargas/compilar/gambas2-1.9.9/gb.sdl/src' make[2]: Entering directory `/home/berto/descargas/compilar/gambas2-1.9.9/gb.sdl' make[3]: Entering directory `/home/berto/descargas/compilar/gambas2-1.9.9/gb.sdl' make[3]: No se hace nada para `install-exec-am'. make[3]: No se hace nada para `install-data-am'. make[3]: Leaving directory `/home/berto/descargas/compilar/gambas2-1.9.9/gb.sdl' make[2]: Leaving directory `/home/berto/descargas/compilar/gambas2-1.9.9/gb.sdl' make[1]: Leaving directory `/home/berto/descargas/compilar/gambas2-1.9.9/gb.sdl' Making install in gb.clanlib make[1]: Entering directory `/home/berto/descargas/compilar/gambas2-1.9.9/gb.clanlib' make[2]: Entering directory `/home/berto/descargas/compilar/gambas2-1.9.9/gb.clanlib' make[3]: Entering directory `/home/berto/descargas/compilar/gambas2-1.9.9/gb.clanlib' Creating the library info files... make[3]: gbi2: No se encontr? el programa make[3]: *** [install-exec-local] Error 127 make[3]: Leaving directory `/home/berto/descargas/compilar/gambas2-1.9.9/gb.clanlib' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/berto/descargas/compilar/gambas2-1.9.9/gb.clanlib' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/berto/descargas/compilar/gambas2-1.9.9/gb.clanlib' make: *** [install-recursive] Error 1 ????? Using mdk 10.2 Anybody with the same problem? -- Redescubre la Web: Pillate Firefox [getfirefox.com] "Reality is that which, when you stop believing in it, doesn't go away." - Philip K. Dick "El sexo sucio? s?, claro; pero solo cuando se hace bien. - Woody Allen "Yo no coloco al artista en un pedestal, como si fuera un peque?o dios. Es tan s?lo el int?rprete de lo in?fable." Edward Weston "...de pronto, todo me resulta evidente: s?lo los libros fant?sticos pueden transmitir la realidad desfasada en que vivo..." David B. "No merece la pena morir de todo esto, la mitad es convenci?n, la otra mitad mentira." Dylan Thomas Berto From chrisr_ng at ...994... Tue Jun 7 21:32:28 2005 From: chrisr_ng at ...994... (chris) Date: Tue, 07 Jun 2005 15:32:28 -0400 Subject: [Gambas-user] Gambas on a live CD Message-ID: <42A5F64C.50501@...994...> Does anybody know of a live CD that has Gambas installed? Thanks Chris From christian at ...980... Tue Jun 7 23:04:38 2005 From: christian at ...980... (Christian E. =?iso-8859-1?q?L=F3pez?= Finnberg) Date: Tue, 7 Jun 2005 22:04:38 +0100 Subject: [Gambas-user] cant install gambas 1.9.9 In-Reply-To: <38e9ff990506071322619f7485@...627...> References: <38e9ff990506071322619f7485@...627...> Message-ID: <200506072204.39550.christian@...980...> Is I said in a previous post, if you don't have clanlib, you must do a explicit configure --disable-clanlib. -- Saludos, Christian E. L?pez Finnberg El Martes, 7 de Junio de 2005 21:22, Berto escribi?: > ./configure [OK] > make [OK] > but when i do "make install" as root i get this.... > > [....] > Libraries have been installed in: > /usr/local/lib/gambas2 > > If you ever happen to want to link against installed libraries > in a given directory, LIBDIR, you must either use libtool, and > specify the full pathname of the library, or use the `-LLIBDIR' > flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > > See any operating system documentation about shared libraries for > more information, such as the ld(1) and ld.so(8) manual pages. > ---------------------------------------------------------------------- > make[4]: Leaving directory > `/home/berto/descargas/compilar/gambas2-1.9.9/gb.sdl/src' > make[3]: Leaving directory > `/home/berto/descargas/compilar/gambas2-1.9.9/gb.sdl/src' > make[2]: Leaving directory > `/home/berto/descargas/compilar/gambas2-1.9.9/gb.sdl/src' > make[2]: Entering directory > `/home/berto/descargas/compilar/gambas2-1.9.9/gb.sdl' > make[3]: Entering directory > `/home/berto/descargas/compilar/gambas2-1.9.9/gb.sdl' > make[3]: No se hace nada para `install-exec-am'. > make[3]: No se hace nada para `install-data-am'. > make[3]: Leaving directory > `/home/berto/descargas/compilar/gambas2-1.9.9/gb.sdl' make[2]: Leaving > directory `/home/berto/descargas/compilar/gambas2-1.9.9/gb.sdl' make[1]: > Leaving directory `/home/berto/descargas/compilar/gambas2-1.9.9/gb.sdl' > Making install in gb.clanlib > make[1]: Entering directory > `/home/berto/descargas/compilar/gambas2-1.9.9/gb.clanlib' > make[2]: Entering directory > `/home/berto/descargas/compilar/gambas2-1.9.9/gb.clanlib' > make[3]: Entering directory > `/home/berto/descargas/compilar/gambas2-1.9.9/gb.clanlib' > > Creating the library info files... > make[3]: gbi2: No se encontr? el programa > make[3]: *** [install-exec-local] Error 127 > make[3]: Leaving directory > `/home/berto/descargas/compilar/gambas2-1.9.9/gb.clanlib' > make[2]: *** [install-am] Error 2 > make[2]: Leaving directory > `/home/berto/descargas/compilar/gambas2-1.9.9/gb.clanlib' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory > `/home/berto/descargas/compilar/gambas2-1.9.9/gb.clanlib' > make: *** [install-recursive] Error 1 > > ????? > > Using mdk 10.2 > > Anybody with the same problem? From gambasfr at ...11... Wed Jun 8 00:20:37 2005 From: gambasfr at ...11... (fabien) Date: Wed, 8 Jun 2005 00:20:37 +0200 Subject: [Gambas-user] cant install gambas 1.9.9 In-Reply-To: <200506072204.39550.christian@...980...> References: <38e9ff990506071322619f7485@...627...> <200506072204.39550.christian@...980...> Message-ID: <200506080020.37609.gambasfr@...11...> Le Mardi 07 Juin 2005 23:04, Christian E. L?pez Finnberg a ?crit?: > Is I said in a previous post, if you don't have clanlib, you must do a > explicit configure --disable-clanlib. as the same if you have clanlib installed ! i've the last clanlib installed and it don't work too ! nevertheless i'm happy ... since this version ... kde component compile well with kde 3.4. But kicker always crash when i run a gambas program in debug mode ! Fabien From appsdev at ...966... Wed Jun 8 03:31:31 2005 From: appsdev at ...966... (A Person) Date: Tue, 07 Jun 2005 23:01:31 -0230 Subject: [Gambas-user] .TextBoxSelection Message-ID: <42A64A73.3010306@...966...> Tuesday, 7 June 2005 Good Day All . . . Can someone give me an example of using .TextBoxSelection ? I want to select some text in a textbox. I searched the Internet and the examples but I find nothing. Thank You. From lordheavy at ...512... Wed Jun 8 04:00:32 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 8 Jun 2005 04:00:32 +0200 Subject: [Gambas-user] a gambas game using sdl - only for testing In-Reply-To: <200506070115.15464.lordheavy@...512...> References: <200506070115.15464.lordheavy@...512...> Message-ID: <200506080400.33147.lordheavy@...512...> Le Mardi 7 Juin 2005 01:15, Laurent Carlier a ?crit?: > I've upload a small game (not finished) on gambasforge > http://www.gambasforge.net > > It's called galaxiga and it's ported from blitzbasic ... > > it's not finished and buggy but it's playable. > > Send your comments and feedback/wishes about sdl component ! > > http://www.gambasforge.net/code.php?id=61 > > Have fun, Gambasforge eat my files :) The tarball is available ... Apologizes, -- Laurent Carlier jabber : LordHeavy at ...943... From ml at ...973... Wed Jun 8 08:04:56 2005 From: ml at ...973... (ML) Date: Wed, 08 Jun 2005 08:04:56 +0200 Subject: [Gambas-user] cant install gambas 1.9.9 In-Reply-To: <200506080020.37609.gambasfr@...11...> References: <38e9ff990506071322619f7485@...627...> <200506072204.39550.christian@...980...> <200506080020.37609.gambasfr@...11...> Message-ID: <42A68A88.40506@...973...> On 08/06/2005 00:20, fabien wrote: > But kicker always crash when i run a gambas program in debug mode ! I had the same problem since I upgraded to KDE 3.4. However, exiting X, deleting ~/.kde/share/config/kickerrc and restarting X did solve it. Be aware though that this move will reset your panel to its default configuration (it was not a big deal for me). Hope it helps. Ciao, Piero From gambas at ...1... Wed Jun 8 17:04:38 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 8 Jun 2005 17:04:38 +0200 Subject: [Gambas-user] cant install gambas 1.9.9 In-Reply-To: <200506080020.37609.gambasfr@...11...> References: <38e9ff990506071322619f7485@...627...> <200506072204.39550.christian@...980...> <200506080020.37609.gambasfr@...11...> Message-ID: <200506081704.38583.gambas@...1...> On Wednesday 08 June 2005 00:20, fabien wrote: > Le Mardi 07 Juin 2005 23:04, Christian E. L?pez Finnberg a ?crit?: > > Is I said in a previous post, if you don't have clanlib, you must do a > > explicit configure --disable-clanlib. > > as the same if you have clanlib installed ! > > i've the last clanlib installed and it don't work too ! > What happens *exactly* ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Jun 8 17:07:06 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 8 Jun 2005 17:07:06 +0200 Subject: [Gambas-user] Disconnected Result in TAbleView In-Reply-To: <42A5857D.8020800@...415...> References: <42A5857D.8020800@...415...> Message-ID: <200506081707.06695.gambas@...1...> On Tuesday 07 June 2005 13:31, BUDI ARIEF GUSANDI wrote: > Dear All, > > is it that Tableview is only bound to result object ? will it might be > possible if we know the structure of result object so we can add or > create data on the fly and we can add/delete data from tableview without > affecting database, something like disconnected recordset in ADO ? > i use gridview to manipulate data within grid, but the lack are it has > no header and row higlighting so it's hard to use keyboard to select > row. Any work around ? unbound editable grid is one of vital components > in making database app. > > Regards, > Budi > TableView is bound to nothing. It just displays what is returned in its Data event. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Jun 8 17:15:35 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 8 Jun 2005 17:15:35 +0200 Subject: [Gambas-user] strang !!! (bug maibe) In-Reply-To: <42A59DBA.4040707@...889...> References: <42A46B4D.4030407@...889...> <200506071239.14636.gambas@...1...> <42A59DBA.4040707@...889...> Message-ID: <200506081715.36293.gambas@...1...> On Tuesday 07 June 2005 15:14, Daniel wrote: > Benoit Minisini wrote: > >On Monday 06 June 2005 17:27, Daniel wrote: > >>hi all > >>il you put this code in one button, the first time you click no problem > >>and the second time and after > >>"Type mismatch: wanted integer, got instead" > >>i tink the problem com from the { htable.primarykey = ["id"] } > >> > >> DIM hTable AS Table > >> > >> IF con1.Tables.Exist("ZOZO") THEN > >> con1.Tables.Remove("ZOZO") > >> ELSE > >> PRINT "No Table ZOZO" > >> ENDIF > >> > >> hTable = Con1.Tables.Add("ZOZO") > >> > >> hTable.Fields.Add("id", gb.Integer) > >> hTable.Fields.Add("firstname", gb.String, 16) > >> hTable.Fields.Add("name", gb.String, 32) > >> hTable.Fields.Add("birth", gb.Date) > >> hTable.Fields.Add("actived", gb.Boolean) > >> hTable.Fields.Add("salary", gb.Float) > >> > >> hTable.PrimaryKey = ["id"] > >> > >> hTable.Update > >> > >>daniel > > > >Please tell which version of gambas you are using! > > gambas 1.9.5 > > daniel > Do you have this problem with 1.9.9 ? -- Benoit Minisini mailto:gambas at ...1... From christian at ...980... Wed Jun 8 22:53:53 2005 From: christian at ...980... (Christian E. =?iso-8859-1?q?L=F3pez?= Finnberg) Date: Wed, 8 Jun 2005 21:53:53 +0100 Subject: [Gambas-user] cant install gambas 1.9.9 In-Reply-To: <200506081704.38583.gambas@...1...> References: <38e9ff990506071322619f7485@...627...> <200506080020.37609.gambasfr@...11...> <200506081704.38583.gambas@...1...> Message-ID: <200506082153.53752.christian@...980...> El Mi?rcoles, 8 de Junio de 2005 16:04, Benoit Minisini escribi?: > On Wednesday 08 June 2005 00:20, fabien wrote: > > Le Mardi 07 Juin 2005 23:04, Christian E. L?pez Finnberg a ?crit?: > > > Is I said in a previous post, if you don't have clanlib, you must do a > > > explicit configure --disable-clanlib. > > > > as the same if you have clanlib installed ! > > > > i've the last clanlib installed and it don't work too ! > > What happens *exactly* ? Here you have attached the logs of the three steps (configure, make & make install). The exact error is at the end of make_install.log. I'm sorry but messages are in spanish, I can repeat the process in english if you want. -- Saludos, Christian E. L?pez Finnberg -------------- next part -------------- A non-text attachment was scrubbed... Name: logs.tar.bz2 Type: application/x-tbz Size: 25164 bytes Desc: not available URL: From lordheavy at ...512... Wed Jun 8 23:11:38 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 8 Jun 2005 23:11:38 +0200 Subject: [Gambas-user] cant install gambas 1.9.9 In-Reply-To: <200506082153.53752.christian@...980...> References: <38e9ff990506071322619f7485@...627...> <200506081704.38583.gambas@...1...> <200506082153.53752.christian@...980...> Message-ID: <200506082311.38865.lordheavy@...512...> Le Mercredi 8 Juin 2005 22:53, Christian E. L?pez Finnberg a ?crit?: > El Mi?rcoles, 8 de Junio de 2005 16:04, Benoit Minisini escribi?: > > On Wednesday 08 June 2005 00:20, fabien wrote: > > > Le Mardi 07 Juin 2005 23:04, Christian E. L?pez Finnberg a ?crit?: > > > > Is I said in a previous post, if you don't have clanlib, you must do > > > > a explicit configure --disable-clanlib. > > > > > > as the same if you have clanlib installed ! > > > > > > i've the last clanlib installed and it don't work too ! > > > > What happens *exactly* ? > > Here you have attached the logs of the three steps (configure, make & make > install). The exact error is at the end of make_install.log. I'm sorry but > messages are in spanish, I can repeat the process in english if you want. clanlib version 0.7.8 ? what is the output of "pkg-config ClanCore-0.7" ? -- Laurent Carlier jabber : LordHeavy at ...943... From oczykota at ...988... Thu Jun 9 01:26:29 2005 From: oczykota at ...988... (Arkadiusz Zychewicz) Date: Thu, 09 Jun 2005 01:26:29 +0200 Subject: [Gambas-user] Translation to Esperanto Message-ID: <42A77EA5.2000401@...988...> In localization project is a lot of languages but i don't see there (in Language localization) Esperanto language and i don't know how to add that ability? Arek. Gambas v 1.0.5 on Mdk 10.1 From oczykota at ...988... Thu Jun 9 01:27:07 2005 From: oczykota at ...988... (Arkadiusz Zychewicz) Date: Thu, 09 Jun 2005 01:27:07 +0200 Subject: [Gambas-user] what gives the & ? Message-ID: <42A77ECB.2000405@...988...> Now i declare variable with $ because i see this method in some example in help but i discover that when i declare variable without $ so what gives the & ? Arek. From budi.a.gusandi at ...626... Thu Jun 9 04:30:29 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Thu, 09 Jun 2005 09:30:29 +0700 Subject: [Gambas-user] Disconnected Result in TAbleView In-Reply-To: <200506081707.06695.gambas@...1...> References: <42A5857D.8020800@...415...> <200506081707.06695.gambas@...1...> Message-ID: <42A7A9C5.1020907@...415...> Benoit Minisini wrote: >On Tuesday 07 June 2005 13:31, BUDI ARIEF GUSANDI wrote: > > >>Dear All, >> >>is it that Tableview is only bound to result object ? will it might be >>possible if we know the structure of result object so we can add or >>create data on the fly and we can add/delete data from tableview without >>affecting database, something like disconnected recordset in ADO ? >>i use gridview to manipulate data within grid, but the lack are it has >>no header and row higlighting so it's hard to use keyboard to select >>row. Any work around ? unbound editable grid is one of vital components >>in making database app. >> >>Regards, >>Budi >> >> >> > >TableView is bound to nothing. It just displays what is returned in its Data >event. > > > Interesting, how can i add some data inside then without using result object. Possible ? please help. From ulisse at ...933... Thu Jun 9 08:16:50 2005 From: ulisse at ...933... (ulisse) Date: Thu, 9 Jun 2005 08:16:50 +0200 Subject: [Gambas-user] Gambas on a live CD In-Reply-To: <42A5F64C.50501@...994...> References: <42A5F64C.50501@...994...> Message-ID: <200506090816.51023.ulisse@...933...> Chris, I'm not sure if it answer to your question. Having the same need I started looking for a Live CD. I came to Slax. Slax is a Slackware Live CD <200Mb. It has NOT Gambas installed but it take me few minutes to: - take from a tgz repository the Gambas binary for Slackware (10?) - convert it with Slax Live CD from .tgz to .mo file with the command tgz2mo - burn a new CD inserting the module Gambas. Application realised in Gambas and Development environment start regularly and now I have a LiveCD with Gambas on. Hope this help Luigi Alle 21:32, marted? 7 giugno 2005, chris ha scritto: > Does anybody know of a live CD that has Gambas installed? > > Thanks > Chris > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput a projector? How fast can you ride your desk chair down the office > luge track? If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From prabathbr at ...626... Thu Jun 9 08:21:09 2005 From: prabathbr at ...626... (Prabath Ranasinghe) Date: Thu, 9 Jun 2005 12:21:09 +0600 Subject: [Gambas-user] Re: Gambas-user digest, Vol 1 #1342 - 4 msgs In-Reply-To: <20050609031103.7D0161604C@...773...> References: <20050609031103.7D0161604C@...773...> Message-ID: Hi all, I'm working on a home automation system, So,I want to interface pc's LPT or serial port for controling devices attached into it, Is there any way to do this like inpout32,dll on VB BR, Prabath On 6/9/05, gambas-user-request at lists.sourceforge.net wrote: > Send Gambas-user mailing list submissions to > gambas-user at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/gambas-user > or, via email, send a message with subject or body 'help' to > gambas-user-request at lists.sourceforge.net > > You can reach the person managing the list at > gambas-user-admin at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Gambas-user digest..." > > > Today's Topics: > > 1. Re: cant install gambas 1.9.9 (Laurent Carlier) > 2. Translation to Esperanto (Arkadiusz Zychewicz) > 3. what gives the & ? (Arkadiusz Zychewicz) > 4. Re: Disconnected Result in TAbleView (BUDI ARIEF GUSANDI) > > --__--__-- > > Message: 1 > From: Laurent Carlier > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] cant install gambas 1.9.9 > Date: Wed, 8 Jun 2005 23:11:38 +0200 > Reply-To: gambas-user at lists.sourceforge.net > > Le Mercredi 8 Juin 2005 22:53, Christian E. L=F3pez Finnberg a =E9crit=A0: > > El Mi=E9rcoles, 8 de Junio de 2005 16:04, Benoit Minisini escribi=F3: > > > On Wednesday 08 June 2005 00:20, fabien wrote: > > > > Le Mardi 07 Juin 2005 23:04, Christian E. L=F3pez Finnberg a =E9crit= > =A0: > > > > > Is I said in a previous post, if you don't have clanlib, you must do > > > > > a explicit configure --disable-clanlib. > > > > > > > > as the same if you have clanlib installed ! > > > > > > > > i've the last clanlib installed and it don't work too ! > > > > > > What happens *exactly* ? > > > > Here you have attached the logs of the three steps (configure, make & make > > install). The exact error is at the end of make_install.log. I'm sorry but > > messages are in spanish, I can repeat the process in english if you want. > > clanlib version 0.7.8 ? > what is the output of "pkg-config ClanCore-0.7" ? > > =2D-=20 > > Laurent Carlier > jabber : LordHeavy at ...943... > > > --__--__-- > > Message: 2 > Date: Thu, 09 Jun 2005 01:26:29 +0200 > From: Arkadiusz Zychewicz > To: gambas-user at lists.sourceforge.net > Subject: [Gambas-user] Translation to Esperanto > Reply-To: gambas-user at lists.sourceforge.net > > In localization project is a lot of languages but i don't see there (in > Language localization) Esperanto language and i don't know how to add > that ability? > > Arek. > > Gambas v 1.0.5 on Mdk 10.1 > > > --__--__-- > > Message: 3 > Date: Thu, 09 Jun 2005 01:27:07 +0200 > From: Arkadiusz Zychewicz > To: gambas-user at lists.sourceforge.net > Subject: [Gambas-user] what gives the & ? > Reply-To: gambas-user at lists.sourceforge.net > > Now i declare variable with $ because i see this method in some example > in help but i discover that when i declare variable without $ so what > gives the & ? > > Arek. > > > --__--__-- > > Message: 4 > Date: Thu, 09 Jun 2005 09:30:29 +0700 > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] Disconnected Result in TAbleView > From: BUDI ARIEF GUSANDI > Reply-To: gambas-user at lists.sourceforge.net > > Benoit Minisini wrote: > > >On Tuesday 07 June 2005 13:31, BUDI ARIEF GUSANDI wrote: > > > > > >>Dear All, > >> > >>is it that Tableview is only bound to result object ? will it might be > >>possible if we know the structure of result object so we can add or > >>create data on the fly and we can add/delete data from tableview without > >>affecting database, something like disconnected recordset in ADO ? > >>i use gridview to manipulate data within grid, but the lack are it has > >>no header and row higlighting so it's hard to use keyboard to select > >>row. Any work around ? unbound editable grid is one of vital components > >>in making database app. > >> > >>Regards, > >>Budi > >> > >> > >> > > > >TableView is bound to nothing. It just displays what is returned in its Data > >event. > > > > > > > Interesting, how can i add some data inside then without using result > object. Possible ? please help. > > > > --__--__-- > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > End of Gambas-user Digest > -- Best Regards, Prabath. http://www.linux.lk/~prabath http://groups-beta.google.com/group/Bokkala From juergen at ...992... Thu Jun 9 08:39:20 2005 From: juergen at ...992... (Juergen Zdero) Date: Thu, 9 Jun 2005 08:39:20 +0200 Subject: [Gambas-user] GambasApp exports DCOP Methods, Examples? Ver.2 Message-ID: <200506090839.21111.juergen@...992...> Hi Rob, Hi Benoit i changed subject of my question more precise: The KateBrowser uses DCOP-methods provided by Kate. But I'm looking for an gambas-example which itselfs provides methods, which might occur in kdcop-list and can be used e.g. by scripts. regs juergen ref.: >> is there any gambas-example available, which shows how to use DCOP > in Gambas. >Yes, the "KateBrowser" example uses DCOP to launch the Kate editor and=20 >open files in it. >Rob From matthias-laur at ...978... Thu Jun 9 09:38:36 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Thu, 9 Jun 2005 09:38:36 +0200 Subject: [Gambas-user] freeze after exec["kill", "process.id"] Message-ID: <0MKwpI-1DgHcf22PS-00063h@...979...> Hi Benoit, now I've test it with the devel version and your patch. And .. it works very fine :-) The computer runs for many hours over two days and I start and kill the mplayer process many times and there was no freezing until now. I think it would be nice if you can put this process management to the stable version. Regards, Matthias -------------- next part -------------- An HTML attachment was scrubbed... URL: From christian at ...980... Thu Jun 9 09:59:42 2005 From: christian at ...980... (Christian E. =?iso-8859-15?q?L=F3pez?= Finnberg) Date: Thu, 9 Jun 2005 08:59:42 +0100 Subject: [Gambas-user] cant install gambas 1.9.9 In-Reply-To: <200506082311.38865.lordheavy@...512...> References: <38e9ff990506071322619f7485@...627...> <200506082153.53752.christian@...980...> <200506082311.38865.lordheavy@...512...> Message-ID: <200506090859.42697.christian@...980...> El Mi?rcoles, 8 de Junio de 2005 22:11, Laurent Carlier escribi?: > > clanlib version 0.7.8 ? > what is the output of "pkg-config ClanCore-0.7" ? Nothing at all. I don't have clanlib installed. -- Saludos, Christian E. L?pez Finnberg From daniel at ...889... Thu Jun 9 10:57:40 2005 From: daniel at ...889... (Daniel) Date: Thu, 09 Jun 2005 10:57:40 +0200 Subject: [Gambas-user] strang !!! (bug maibe) In-Reply-To: <200506081715.36293.gambas@...1...> References: <42A46B4D.4030407@...889...> <200506071239.14636.gambas@...1...> <42A59DBA.4040707@...889...> <200506081715.36293.gambas@...1...> Message-ID: <42A80484.1050802@...889...> Benoit Minisini wrote: >On Tuesday 07 June 2005 15:14, Daniel wrote: > > >>Benoit Minisini wrote: >> >> >>>On Monday 06 June 2005 17:27, Daniel wrote: >>> >>> >>>>hi all >>>>il you put this code in one button, the first time you click no problem >>>>and the second time and after >>>>"Type mismatch: wanted integer, got instead" >>>>i tink the problem com from the { htable.primarykey = ["id"] } >>>> >>>> DIM hTable AS Table >>>> >>>> IF con1.Tables.Exist("ZOZO") THEN >>>> con1.Tables.Remove("ZOZO") >>>> ELSE >>>> PRINT "No Table ZOZO" >>>> ENDIF >>>> >>>> hTable = Con1.Tables.Add("ZOZO") >>>> >>>> hTable.Fields.Add("id", gb.Integer) >>>> hTable.Fields.Add("firstname", gb.String, 16) >>>> hTable.Fields.Add("name", gb.String, 32) >>>> hTable.Fields.Add("birth", gb.Date) >>>> hTable.Fields.Add("actived", gb.Boolean) >>>> hTable.Fields.Add("salary", gb.Float) >>>> >>>> hTable.PrimaryKey = ["id"] >>>> >>>> hTable.Update >>>> >>>>daniel >>>> >>>> >>>Please tell which version of gambas you are using! >>> >>> >>gambas 1.9.5 >> >>daniel >> >> >> > >Do you have this problem with 1.9.9 ? > > > no it's ok with 1.9.9 tank you daniel From sourceforge-raindog2 at ...94... Thu Jun 9 16:32:08 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 9 Jun 2005 10:32:08 -0400 Subject: [Gambas-user] cant install gambas 1.9.9 In-Reply-To: <200506090859.42697.christian@...980...> References: <38e9ff990506071322619f7485@...627...> <200506082311.38865.lordheavy@...512...> <200506090859.42697.christian@...980...> Message-ID: <200506091032.08325.sourceforge-raindog2@...94...> On Thursday 09 June 2005 03:59, Christian E. L?pez Finnberg wrote: > El Mi?rcoles, 8 de Junio de 2005 22:11, Laurent Carlier escribi?: > > clanlib version 0.7.8 ? > > what is the output of "pkg-config ClanCore-0.7" ? > > Nothing at all. I don't have clanlib installed. It says right in the changelog that gb.clanlib doesn't work yet, so it seems to me that ./configure --disable-clanlib is the way to go whether you have clanlib installed or not. Rob From daniel at ...889... Thu Jun 9 17:41:22 2005 From: daniel at ...889... (Daniel) Date: Thu, 09 Jun 2005 17:41:22 +0200 Subject: [Gambas-user] GB.StoreVariant Message-ID: <42A86322.2060703@...889...> hi i make the small driver for firebird and i have problem with this code (i use gambas 1.9.9) (with gambas 1.9.5 this code work) ######### typedef map GB_ROW; typedef map GB_ROWS; class FBResult{ public: GB_ROWS gb_table; . . . etc ... } static void query_fill(DB_RESULT result, int ... { FBResult *res; res=(FBResult *)result; int i; if(res->st1->AffectedRows()>0){ for (i=0; i < res->st1->Columns(); i++){ GB.StoreVariant(&res->gb_table[pos][i], &buffer[i]); <<<<<<<<<<< the problem <<<<<<<<<<<<<<<<< } } } ######### this code raising signal #11 i don't no wai the code jump in GB_StoreObject at line #1 and no GB_StoreVariant ############### the gdb output ######################## Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 24161)] GB_Ref (object=0x4) at gbx_api.c:530 530 OBJECT_REF(object, "GB_Ref"); (gdb) bt #0 GB_Ref (object=0x4) at gbx_api.c:530 #1 0x0805ba9e in GB_StoreObject (src=0x4, dst=0x80d4098) at gbx_api.c:913 #2 0x40ce602f in query_fill (result=0x80dbd60, pos=0, buffer=0x80d4098, next=0) at main.cpp:906 #3 0x4001d85f in load_buffer (_object=0x80d4038, vpos=0) at CResult.c:140 #4 0x4001db5a in DB_MakeResult (conn=0x80d1298, mode=0, table=0x0, query=0x1
) at CResult.c:274 #5 0x4001bc64 in CCONNECTION_exec (_object=0x80d1298, _param=0x8071a60) at CConnection.c:313 #6 0x0804d908 in EXEC_call_native (exec=0x4001bbfe , object=0x80d1298, type=4, param=0x8071a60) at gbx_exec.c:657 #7 0x0804db8b in EXEC_native () at gbx_exec.c:769 #8 0x0804f8c8 in EXEC_loop () at gbx_exec_loop.c:1089 #9 0x0804d764 in EXEC_function_real (keep_ret_value=1 '\001') at gbx_exec.c:557 #10 0x0805b537 in GB_Raise (event_id=4, nparam=0) at gbx_api.c:440 #11 0x401cdc0a in MyMainWindow::showActivate (this=0x80b5860) at CWindow.cpp:1251 #12 0x401cccbb in CFORM_main (_object=0x0, _param=0x80719f0) at CWindow.cpp:342 #13 0x0804d908 in EXEC_call_native (exec=0x401ccc90 , object=0x0, type=4, param=0x80719f0) at gbx_exec.c:657 #14 0x0804db8b in EXEC_native () at gbx_exec.c:769 #15 0x0805e799 in main (argc=1, argv=0xbffff904) at gbx.c:271 (gdb) ######################################### daniel From tom at ...996... Thu Jun 9 21:35:08 2005 From: tom at ...996... (tom at ...996...) Date: Thu, 9 Jun 2005 15:35:08 -0400 (EDT) Subject: [Gambas-user] Application Freeze Message-ID: <3392.65.205.30.202.1118345708.squirrel@...997...> First of all I am new to Gambas, but find it very similar to VB. I am working on a small app as a kind of movie guide for movies stored on the HD. The issue I am having is I can launch mplayer and view the movie just fine. But, when I close mplayer, the gambas application is unresponsive and I have to do a kill -9 to kill the process. Why is my focus not going back to the application? Thanks, Tom From njmurphy1 at ...734... Thu Jun 9 23:44:25 2005 From: njmurphy1 at ...734... (njmurphy1 at ...734...) Date: Thu, 9 Jun 2005 14:44:25 -0700 Subject: [Gambas-user] No Need to Disable Clanlib Message-ID: <200506091444.25782.njmurphy1@...734...> Hi All The problem that people are having installing 1.9.9 can be solved by doing ./configure then make then su and go into main/gbc and do make install. Then go back to the top level directory and do a make install. The problem is not with clanlib but with the make file. It calls gbi2 before it installs gbi2 so make install fails. Joseph From gambas at ...1... Fri Jun 10 10:02:28 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 10 Jun 2005 10:02:28 +0200 Subject: [Gambas-user] GambasApp exports DCOP Methods, Examples? Ver.2 In-Reply-To: <200506090839.21111.juergen@...992...> References: <200506090839.21111.juergen@...992...> Message-ID: <200506101002.28286.gambas@...1...> On Thursday 09 June 2005 08:39, Juergen Zdero wrote: > Hi Rob, Hi Benoit > > i changed subject of my question more precise: > The KateBrowser uses DCOP-methods provided by Kate. > But I'm looking for an gambas-example which itselfs provides methods, > which might occur in kdcop-list and can be used e.g. by scripts. > > regs juergen > It is not possible at the moment. I plan to make Gambas applications scriptable from the outside, but I don't think I will use DCOP, as DCOP may be replaced by something different in the future of KDE. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Jun 10 10:01:12 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 10 Jun 2005 10:01:12 +0200 Subject: [Gambas-user] cant install gambas 1.9.9 In-Reply-To: <200506091032.08325.sourceforge-raindog2@...94...> References: <38e9ff990506071322619f7485@...627...> <200506090859.42697.christian@...980...> <200506091032.08325.sourceforge-raindog2@...94...> Message-ID: <200506101001.12851.gambas@...1...> On Thursday 09 June 2005 16:32, Rob wrote: > On Thursday 09 June 2005 03:59, Christian E. L?pez Finnberg wrote: > > El Mi?rcoles, 8 de Junio de 2005 22:11, Laurent Carlier escribi?: > > > clanlib version 0.7.8 ? > > > what is the output of "pkg-config ClanCore-0.7" ? > > > > Nothing at all. I don't have clanlib installed. > > It says right in the changelog that gb.clanlib doesn't work yet, so it > seems to me that ./configure --disable-clanlib is the way to go > whether you have clanlib installed or not. > > Rob > I think I made an error in the gb.clanlib autoncf/automake stuff. In the next version, the component will be correctly disabled when the clanlib librairies are not installed. Moreover, the list of disabled components displayed at the end of ./configure will be accurate. At the moment, it only displays what you disabled with the '--disable-*' options passed to ./configure. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Jun 10 10:03:40 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 10 Jun 2005 10:03:40 +0200 Subject: [Gambas-user] freeze after exec["kill", "process.id"] In-Reply-To: <0MKwpI-1DgHcf22PS-00063h@...979...> References: <0MKwpI-1DgHcf22PS-00063h@...979...> Message-ID: <200506101003.41039.gambas@...1...> On Thursday 09 June 2005 09:38, Matthias Laur wrote: > Hi Benoit, > > now I've test it with the devel version and your patch. And .. it works > very fine :-) > > The computer runs for many hours over two days and I start and kill the > mplayer process many times and there was no freezing until now. I think it > would be nice if you can put this process management to the stable version. > > > > Regards, > > Matthias I'm happy for you, but I don't really understand why it works now :-) But I will backport the code anyway. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Jun 10 10:04:47 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 10 Jun 2005 10:04:47 +0200 Subject: [Gambas-user] GB.StoreVariant In-Reply-To: <42A86322.2060703@...889...> References: <42A86322.2060703@...889...> Message-ID: <200506101004.47933.gambas@...1...> On Thursday 09 June 2005 17:41, Daniel wrote: > hi > i make the small driver for firebird and i have problem with this code > (i use gambas 1.9.9) > (with gambas 1.9.5 this code work) > > ######### > > typedef map GB_ROW; > typedef map GB_ROWS; > > > class FBResult{ > public: > GB_ROWS gb_table; > . > . > . > etc ... > } > > static void query_fill(DB_RESULT result, int ... > { > FBResult *res; > res=(FBResult *)result; > int i; > if(res->st1->AffectedRows()>0){ > for (i=0; i < res->st1->Columns(); i++){ > GB.StoreVariant(&res->gb_table[pos][i], &buffer[i]); > <<<<<<<<<<< the problem <<<<<<<<<<<<<<<<< > } > } > } > > ######### > > this code raising signal #11 > i don't no wai the code jump in GB_StoreObject at line #1 and no > GB_StoreVariant > > ############### the gdb output ######################## > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 16384 (LWP 24161)] > GB_Ref (object=0x4) at gbx_api.c:530 > 530 OBJECT_REF(object, "GB_Ref"); > (gdb) bt > #0 GB_Ref (object=0x4) at gbx_api.c:530 > #1 0x0805ba9e in GB_StoreObject (src=0x4, dst=0x80d4098) at gbx_api.c:913 > #2 0x40ce602f in query_fill (result=0x80dbd60, pos=0, buffer=0x80d4098, > next=0) at main.cpp:906 > #3 0x4001d85f in load_buffer (_object=0x80d4038, vpos=0) at CResult.c:140 > #4 0x4001db5a in DB_MakeResult (conn=0x80d1298, mode=0, table=0x0, > query=0x1
) > at CResult.c:274 > #5 0x4001bc64 in CCONNECTION_exec (_object=0x80d1298, _param=0x8071a60) > at CConnection.c:313 > #6 0x0804d908 in EXEC_call_native (exec=0x4001bbfe , > object=0x80d1298, type=4, > param=0x8071a60) at gbx_exec.c:657 > #7 0x0804db8b in EXEC_native () at gbx_exec.c:769 > #8 0x0804f8c8 in EXEC_loop () at gbx_exec_loop.c:1089 > #9 0x0804d764 in EXEC_function_real (keep_ret_value=1 '\001') at > gbx_exec.c:557 > #10 0x0805b537 in GB_Raise (event_id=4, nparam=0) at gbx_api.c:440 > #11 0x401cdc0a in MyMainWindow::showActivate (this=0x80b5860) at > CWindow.cpp:1251 > #12 0x401cccbb in CFORM_main (_object=0x0, _param=0x80719f0) at > CWindow.cpp:342 > #13 0x0804d908 in EXEC_call_native (exec=0x401ccc90 void*)>, object=0x0, type=4, > param=0x80719f0) at gbx_exec.c:657 > #14 0x0804db8b in EXEC_native () at gbx_exec.c:769 > #15 0x0805e799 in main (argc=1, argv=0xbffff904) at gbx.c:271 > (gdb) > > ######################################### > > daniel > > This mail must go to the developer mailing-list! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Jun 10 10:05:48 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 10 Jun 2005 10:05:48 +0200 Subject: [Gambas-user] Application Freeze In-Reply-To: <3392.65.205.30.202.1118345708.squirrel@...997...> References: <3392.65.205.30.202.1118345708.squirrel@...997...> Message-ID: <200506101005.48384.gambas@...1...> On Thursday 09 June 2005 21:35, tom at ...996... wrote: > First of all I am new to Gambas, but find it very similar to VB. I am > working on a small app as a kind of movie guide for movies stored on the > HD. The issue I am having is I can launch mplayer and view the movie just > fine. But, when I close mplayer, the gambas application is unresponsive > and I have to do a kill -9 to kill the process. Why is my focus not going > back to the application? > > Thanks, > > Tom > Ah! I think you should read the previous posts from Matthias Laur - I think you got the same problem, and I think it will be solved in the next stable release! Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Jun 10 10:06:46 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 10 Jun 2005 10:06:46 +0200 Subject: [Gambas-user] No Need to Disable Clanlib In-Reply-To: <200506091444.25782.njmurphy1@...734...> References: <200506091444.25782.njmurphy1@...734...> Message-ID: <200506101006.46278.gambas@...1...> On Thursday 09 June 2005 23:44, njmurphy1 at ...734... wrote: > Hi All > The problem that people are having installing 1.9.9 can be solved by > doing ./configure then make then su and go into main/gbc and do make > install. Then go back to the top level directory and do a make install. > The problem is not with clanlib but with the make file. It calls gbi2 > before it installs gbi2 so make install fails. > > Joseph > OK! *This* was the problem - I forgot to remove some stuff put by Laurent in the Makefile.am file of gb.clanlib! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Jun 10 10:23:12 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 10 Jun 2005 10:23:12 +0200 Subject: [Gambas-user] Disconnected Result in TAbleView In-Reply-To: <42A7A9C5.1020907@...415...> References: <42A5857D.8020800@...415...> <200506081707.06695.gambas@...1...> <42A7A9C5.1020907@...415...> Message-ID: <200506101023.13252.gambas@...1...> On Thursday 09 June 2005 04:30, BUDI ARIEF GUSANDI wrote: > Benoit Minisini wrote: > >On Tuesday 07 June 2005 13:31, BUDI ARIEF GUSANDI wrote: > >>Dear All, > >> > >>is it that Tableview is only bound to result object ? will it might be > >>possible if we know the structure of result object so we can add or > >>create data on the fly and we can add/delete data from tableview without > >>affecting database, something like disconnected recordset in ADO ? > >>i use gridview to manipulate data within grid, but the lack are it has > >>no header and row higlighting so it's hard to use keyboard to select > >>row. Any work around ? unbound editable grid is one of vital components > >>in making database app. > >> > >>Regards, > >>Budi > > > >TableView is bound to nothing. It just displays what is returned in its > > Data event. > > Interesting, how can i add some data inside then without using result > object. Possible ? please help. > Look carefully at the code of the database example, where TableView displays the result of a query. (FRequest:83) The TableView control raises a 'Data' event each time it needs to get the data from a specific column and row. You just have to fill the Data property of the TableView control with the needed information (at least the Text property). This information don't necessarily come from a Result object. You can put what you want! Regards, -- Benoit Minisini mailto:gambas at ...1... From daniel at ...889... Fri Jun 10 10:43:38 2005 From: daniel at ...889... (Daniel) Date: Fri, 10 Jun 2005 10:43:38 +0200 Subject: [Gambas-user] Disconnected Result in TAbleView In-Reply-To: <200506101023.13252.gambas@...1...> References: <42A5857D.8020800@...415...> <200506081707.06695.gambas@...1...> <42A7A9C5.1020907@...415...> <200506101023.13252.gambas@...1...> Message-ID: <42A952BA.7040407@...889...> Benoit Minisini wrote: >On Thursday 09 June 2005 04:30, BUDI ARIEF GUSANDI wrote: > > >>Benoit Minisini wrote: >> >> >>>On Tuesday 07 June 2005 13:31, BUDI ARIEF GUSANDI wrote: >>> >>> >>>>Dear All, >>>> >>>>is it that Tableview is only bound to result object ? will it might be >>>>possible if we know the structure of result object so we can add or >>>>create data on the fly and we can add/delete data from tableview without >>>>affecting database, something like disconnected recordset in ADO ? >>>>i use gridview to manipulate data within grid, but the lack are it has >>>>no header and row higlighting so it's hard to use keyboard to select >>>>row. Any work around ? unbound editable grid is one of vital components >>>>in making database app. >>>> >>>>Regards, >>>>Budi >>>> >>>> >>>TableView is bound to nothing. It just displays what is returned in its >>>Data event. >>> >>> >>Interesting, how can i add some data inside then without using result >>object. Possible ? please help. >> >> >> > >Look carefully at the code of the database example, where TableView displays >the result of a query. (FRequest:83) > >The TableView control raises a 'Data' event each time it needs to get the data >from a specific column and row. You just have to fill the Data property of >the TableView control with the needed information (at least the Text >property). This information don't necessarily come from a Result object. You >can put what you want! > >Regards, > > > > > sample ' Gambas class file PUBLIC SUB TableView1_Data(Row AS Integer, Column AS Integer) TableView1.Data.Text = "0" END PUBLIC SUB Form_Open() TableView1.Columns.Count = 0 TableView1.Rows.Count = 0 TableView1.Columns.Count = 4 TableView1.Columns[0].Text = "aaaaaa" TableView1.Columns[1].Text = "bbbbbbb" TableView1.Columns[2].Text = "cccccc" TableView1.Columns[3].Text = "ddddd" TableView1.Rows.Count = 10 TableView1.MoveTo(0, 0) TableView1.SetFocus END daniel From lordheavy at ...512... Fri Jun 10 11:26:59 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Fri, 10 Jun 2005 11:26:59 +0200 Subject: [Gambas-user] =?iso-8859-1?q?probl=E8me_de_liberation_de?= memoire Message-ID: <200506101126.59574.lordheavy@...512...> J'ai commenc? a porter un petit jeu de blitz vers gambas (voir galaxiga sur sourceforge) mais il y a un probl?me de lib?ration de m?moire. Y a t'il un moyen de tracer cela (autre que TRACE_MEMORY) qui n'est pas tr?s parlant ! Le probl?me semble venir de gambas, dans la partie de gestion des explosions (addExplode()) Si tu regarde remplace le fichier Cgame.class par celui l?, l'autre est "un poil" buggu? (too many nested drawing). Amicalement, -- Laurent Carlier jabber : LordHeavy at ...943... -------------- next part -------------- A non-text attachment was scrubbed... Name: Cgame.class Type: application/x-java Size: 5582 bytes Desc: not available URL: From ml at ...973... Fri Jun 10 11:56:16 2005 From: ml at ...973... (ML) Date: Fri, 10 Jun 2005 11:56:16 +0200 Subject: [Gambas-user] Problems with Settings in Gambas 1.9.9 In-Reply-To: <42A59F19.7070901@...973...> References: <42A45195.8090402@...1...> <200506071251.45231.gambas@...1...> <42A59F19.7070901@...973...> Message-ID: <42A963C0.9020501@...973...> On 07/06/2005 15:20, ML wrote: > On 07/06/2005 12:51, Benoit Minisini wrote: [snip] >> Everything seems to work fine there. Can you send me your project ? > > > > Well, actually the project is not a project :-), it is just a test composed > of one form, one button and this sub: > > PUBLIC SUB Button1_Click() > > DIM s AS Settings > > s = NEW Settings("/home/piero/prova.ini") > > message(s["Test/Chiave1"]) > > END > > The prova.ini file looks simply like this: > > [Test] > Chiave1=pippo I think I got this too. Differently from Windoze-style ini files, strings must necessarily be enclosed in quotes, otherwise Settings tries to convert it to Integer and the error comes up. No big deal though :-) Regards, Piero From tom at ...996... Fri Jun 10 12:33:30 2005 From: tom at ...996... (Thomas Johnson) Date: Fri, 10 Jun 2005 06:33:30 -0400 Subject: [Gambas-user] Application Freeze References: <3392.65.205.30.202.1118345708.squirrel@...997...> <200506101005.48384.gambas@...1...> Message-ID: <006901c56da7$d8c396f0$3800a8c0@...998...> I read the thread, but it's not exaclty the same problem. My mplayer process is exiting when I close mplayer. The problem is the application becomes unresponsive. I have to kill -9 the gambas application. So if I have more than one video I want to watch, I can't. I can send my project if that will help. Btw, I am running Xandros 3 on an IBM i series Thinkpad. Tom ----- Original Message ----- From: "Benoit Minisini" To: Sent: Friday, June 10, 2005 4:05 AM Subject: Re: [Gambas-user] Application Freeze > On Thursday 09 June 2005 21:35, tom at ...996... wrote: > > First of all I am new to Gambas, but find it very similar to VB. I am > > working on a small app as a kind of movie guide for movies stored on the > > HD. The issue I am having is I can launch mplayer and view the movie just > > fine. But, when I close mplayer, the gambas application is unresponsive > > and I have to do a kill -9 to kill the process. Why is my focus not going > > back to the application? > > > > Thanks, > > > > Tom > > > > Ah! I think you should read the previous posts from Matthias Laur - I think > you got the same problem, and I think it will be solved in the next stable > release! > > Regards, > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Fri Jun 10 12:48:51 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 10 Jun 2005 12:48:51 +0200 Subject: [Gambas-user] Application Freeze In-Reply-To: <006901c56da7$d8c396f0$3800a8c0@...998...> References: <3392.65.205.30.202.1118345708.squirrel@...997...> <200506101005.48384.gambas@...1...> <006901c56da7$d8c396f0$3800a8c0@...998...> Message-ID: <200506101248.51805.gambas@...1...> On Friday 10 June 2005 12:33, Thomas Johnson wrote: > I read the thread, but it's not exaclty the same problem. My mplayer > process is exiting when I close mplayer. The problem is the application > becomes unresponsive. I have to kill -9 the gambas application. So if I > have more than one video I want to watch, I can't. I can send my project > if that will help. > > Btw, I am running Xandros 3 on an IBM i series Thinkpad. > > Tom Can you try with the development version ? -- Benoit Minisini mailto:gambas at ...1... From kchularrit at ...734... Fri Jun 10 21:02:10 2005 From: kchularrit at ...734... (Kchula-Rrit) Date: Fri, 10 Jun 2005 12:02:10 -0700 Subject: [Gambas-user] How to find out which Debian Packages required to compile 1.9.9? Message-ID: <200506101202.10290.kchularrit@...734...> When I do the ./configure under Debian (3.1/Sarge), I see various messages like, "networking disabled", "SDL disabled", etc. I assume that the script is looking for particular files and, if they don't exist, the script disables the feature. How do I find out which file(s) the script does not find so I can look them up in the Debian Web-Site to load the necessary packages? The README.Debian just says "load the Debian package at www.linex", which is usually a few numbers behind the source package. Kchula-RRit From lordheavy at ...512... Fri Jun 10 21:24:55 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Fri, 10 Jun 2005 21:24:55 +0200 Subject: [Gambas-user] How to find out which Debian Packages required to compile 1.9.9? In-Reply-To: <200506101202.10290.kchularrit@...734...> References: <200506101202.10290.kchularrit@...734...> Message-ID: <200506102124.55517.lordheavy@...512...> Le Vendredi 10 Juin 2005 21:02, Kchula-Rrit a ?crit?: > When I do the ./configure under Debian (3.1/Sarge), I see various messages > like, "networking disabled", "SDL disabled", etc. I assume that the script > is looking for particular files and, if they don't exist, the script > disables the feature. > > How do I find out which file(s) the script does not find so I can look > them up in the Debian Web-Site to load the necessary packages? > > The README.Debian just says "load the Debian package at www.linex", which > is usually a few numbers behind the source package. > > Kchula-RRit > Usually infos are ine some README files but (for sdl) neither filled it ! (apologizes) SDL component need : - sdl library * sound component - sdl mixer library * image component - sdl image library - sdl gfx library - sdl ttf library And of course later versions are better ! I hope thats will give you some help. Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From jredrejo at ...96... Sat Jun 11 09:42:10 2005 From: jredrejo at ...96... (=?ISO-8859-1?Q?Jos=E9?= L. Redrejo =?ISO-8859-1?Q?Rodr=EDguez?=) Date: Sat, 11 Jun 2005 09:42:10 +0200 Subject: [Gambas-user] How to find out which Debian Packages In-Reply-To: <20050611031224.DAA9C891AF@...763...> References: <20050611031224.DAA9C891AF@...763...> Message-ID: <1118475730.2538.12.camel@...975...> El vie, 10-06-2005 a las 20:06 -0700, Kchula-Rrit escribi?: > - When I do the ./configure under Debian (3.1/Sarge), I see > various messages > like, "networking disabled", "SDL disabled", etc. I assume that the > script > is looking for particular files and, if they don't exist, the script > disables > the feature. > > How do I find out which file(s) the script does not find so I > can look them > up in the Debian Web-Site to load the necessary packages? > > The README.Debian just says "load the Debian package at > www.linex", which is > usually a few numbers behind the source package. > > Kchula-RRit > > > >From the debianized gambas sources, these are the dependencies to build all the gambas stuff: Build-Depends: debhelper (>> 4.2.0), postgresql-dev, libmysqlclient-dev, libbz2-dev, libqt3-compat-headers, libqt3-mt-dev, libcurl3-dev, libsdl-mixer1.2-dev, libsqlite0-dev,libxml2-dev, libxslt1-dev, kdelibs4-dev, libgtk2.0-dev, unixodbc-dev, libpcre3-dev, libsdl-image1.2-dev Anyway, next week I will publish in linex 1.9.9 debian gambas packages. The delay is due to the new structure of the sources that permits making individual packages, and I am redoing all the debianization of gambas. It is almost finished so it will be available on Monday or Tuesday. If Beno?t don't publish a new version for a long time I will upload them to Debian too, but I will wait some weeks before doing that because with the rythm of work that Beno?t has, I should upload debian packages every month and that's a little crazy, because every upload has to pass a bunch of controls. Regards. From blixtra at ...626... Sun Jun 12 23:25:18 2005 From: blixtra at ...626... (Chris Wilson) Date: Sun, 12 Jun 2005 23:25:18 +0200 Subject: [Gambas-user] BUG: long strings chopped off Message-ID: <69dead7b0506121425427f8a6a@...627...> hi, I just brought an old program I programmed in Gambas 1.0.x into 1.9.3 (waiting on news .debs) and found that some of my rather long database queries were chopped off. Is this intentional or maybe fixed in a new version? I broke the strings up into 2 strings and now everything is fine. It took a while to figure out what was happening, though. Chris From njmurphy1 at ...734... Mon Jun 13 01:36:46 2005 From: njmurphy1 at ...734... (njmurphy1 at ...734...) Date: Sun, 12 Jun 2005 16:36:46 -0700 Subject: [Gambas-user] program distribution question. Message-ID: <200506121636.46697.njmurphy1@...734...> Hi All I am attempting to make a distribution package for a program I wrote. The installation package wizard is nice if you have an rpm system or debian but I use Slackware because of Slackware's package management system. I tried to make an RPM so I could see what files I needed to distribute but the package build script fails. So I fumbled about for awhile and it looks like all I need is /usr/bin/gbx, some component files and the executable. But I don't know where the component files are or what the names are. Could someone be kind and post what files are needed to distribute a program. And maybe even add the info to the Wiki. And by the way I am using 1.9.9 Joseph From ebtmike at ...626... Mon Jun 13 03:28:41 2005 From: ebtmike at ...626... (Michael Murphy) Date: Sun, 12 Jun 2005 21:28:41 -0400 Subject: [Gambas-user] Time Help Message-ID: <9225819e0506121828acbb57d@...627...> I'm trying to modify Jon?s Alvarez 's count down program to be a fast clock and I'm having trouble changeing the hours. Here's what I got so far: ______________ PRIVATE SUB changetime () 'This sub changes the time that is displayed hours = 12 minutes = Int (Int(secs) / 60) textlabel1.Caption = hours & ":" & minutes & ":" & Format (secs - minutes * 60) END PUBLIC SUB Timer1_Timer() secs = secs + 0.1 changetime END _______________ Above are the two functions that handle the time change. 'hours' is a global variable. When I run the program it displays the 'hours' has '12' but I can't figure out how to change the hour when the minute is more then 59 and I can't figure out how to set miutes to zero, the secs work fine and the minutes do change. I've been working on this for hours so any help is appreciated. If you need anymore info let me know. -- Mike It's called fishING. It's the act of fishing. - Jake SG1 From rizky.tahara at ...626... Mon Jun 13 07:30:21 2005 From: rizky.tahara at ...626... (Rizky Tahara Shita) Date: Mon, 13 Jun 2005 12:30:21 +0700 Subject: [Gambas-user] Browse Picture Error In-Reply-To: <42A58574.30802@...415...> References: <20050531161710.33586.qmail@...985...> <200505311229.19311.sourceforge-raindog2@...94...> <429FFE6E.4020107@...415...> <200506071233.40741.gambas@...1...> <42A58574.30802@...415...> Message-ID: On 6/7/05, BUDI ARIEF GUSANDI wrote: > Benoit Minisini wrote: > > >On Friday 03 June 2005 08:53, BUDI ARIEF GUSANDI wrote: > > > > > >>Dear Benoit, > >> > >>When i try to choose picture property, and select a file (from browser > >>dialog). When i right click the scroll bar of the dialog, it raises error : > >>This application has raised an unexpected error and must abort > >>[12] Not an object > >>FSupSelector.Explorer_menu.1123 > >> > >>I use mandrake 10.1. Tried on 2 boxes, has the same error. > >> > >>Regards, > >>Budi > >> > >> > >> > >> > > > >One of the pending bugs in the FSupSelector class... :-( Which version of > >Gambas do you use ? > > > > > > > Gambas 1.0.6 running on Mandrake 10.1 :-) > > Budi I have the same error, using gambas 1.0.6 on Man 10.0 From nando_f at ...951... Mon Jun 13 13:13:31 2005 From: nando_f at ...951... (nando) Date: Mon, 13 Jun 2005 07:13:31 -0400 Subject: [Gambas-user] Time Help In-Reply-To: <9225819e0506121828acbb57d@...627...> References: <9225819e0506121828acbb57d@...627...> Message-ID: <20050613111119.M21176@...951...> Looks like you are going to do some minute testing... your example is slightly modified... -Fernando ---------- Original Message ----------- From: Michael Murphy To: gambas-user at lists.sourceforge.net Sent: Sun, 12 Jun 2005 21:28:41 -0400 Subject: [Gambas-user] Time Help > I'm trying to modify Jon?s Alvarez 's count down program to be a fast > clock and I'm having trouble changeing the hours. Here's what I got > so far: > > ______________ > > PRIVATE SUB changetime () > > 'This sub changes the time that is displayed > > hours = 12 > minutes = Int (Int(secs) / 60) if minutes > 59 then inc hours minutes = minutes - 60 endif > > textlabel1.Caption = hours & ":" & minutes & ":" & Format (secs - > minutes * 60) > > END > > PUBLIC SUB Timer1_Timer() > > secs = secs + 0.1 > changetime > > END > > _______________ > > Above are the two functions that handle the time change. 'hours' is a > global variable. When I run the program it displays the 'hours' has > '12' but I can't figure out how to change the hour when the minute is > more then 59 and I can't figure out how to set miutes to zero, the > secs work fine and the minutes do change. I've been working on this > for hours so any help is appreciated. If you need anymore info let me > know. > -- > > Mike > > It's called fishING. It's the act of fishing. - Jake SG1 > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can > you shotput a projector? How fast can you ride your desk chair down > the office luge track? If you want to score the big prize, get to > know the little guy. Play to win an NEC 61" plasma display: > http://www.necitguy.com/?r _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From nelsonbrad at ...67... Mon Jun 13 15:06:23 2005 From: nelsonbrad at ...67... (Brad Nelson) Date: Mon, 13 Jun 2005 06:06:23 -0700 Subject: [Gambas-user] Capturing & Modifying Incoming Key Values Message-ID: Hey guys, I'm working on a program to input Vietnamese characters. Vietnamese is a Latin based script but requires Unicode for a few special characters. I'd like to write a background program that will capture all characters typed and modify them as needed. How can I capture these keystrokes and, as in the read-only case of Key.Code, change them to the correct Unicode character? My box is running Linspire 5 (that's a Debian core) with Gambas 1.0.4. Any help greatly appreciated. Thanks, Brad _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar ? get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ From njmurphy1 at ...734... Mon Jun 13 20:17:52 2005 From: njmurphy1 at ...734... (njmurphy1 at ...734...) Date: Mon, 13 Jun 2005 11:17:52 -0700 Subject: [Gambas-user] Re: Time Help Message-ID: <200506131117.52752.njmurphy1@...734...> Hey Murphy I'm a Murphy too. There are as many answers to your question as there are programmers. Here is how I would do it. I make a form with a timer, a label and an instance of a class named TimeFunctions, here's the code for the form: <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ' Gambas class file PUBLIC Clock AS TimeFunctions PUBLIC SUB Form_Open() 'make a instance of TimeFunctions named Clock Clock = NEW TimeFunctions 'Set the initial time values in Clock Clock.init_time() 'Put the time in the label 'now so we don't have to wait 'for the timer to fire. textlabel1.text = Clock.Time() END PUBLIC SUB Timer1_Timer() 'Timer delay is set to 1000 'so timer fires every second Clock.add_one_to_seconds() 'update textlabel1 with the time textlabel1.text = Clock.Time() END <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Here is the code for the TimeFunctions class: <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ' Gambas class file 'All variables are private because 'they are only used in the class. 'Should do this with oop anyway. PRIVATE hours AS Integer PRIVATE minutes AS Integer PRIVATE seconds AS Integer PUBLIC SUB init_time() 'This sets initial time. 'It would be better to set to 'the current time but 'this is an example. hours = 12 minutes = 58 seconds = 57 END PUBLIC FUNCTION time() AS String 'This function returns a formated string of 'the time. RETURN hours & ":" & minutes & ":" & seconds END PUBLIC SUB add_one_to_seconds() seconds = seconds + 1 'we need to check if seconds is > 59 'if so call add_one_to_minutes 'and reset seconds. IF seconds > 59 THEN seconds = 0 add_one_to_minutes() ENDIF END PRIVATE SUB add_one_to_minutes() minutes = minutes + 1 'we need to check if minutes is > 59 'if so call add_one_to_hours 'and reset minutes. IF minutes > 59 THEN minutes = 0 add_one_to_hours() ENDIF END PRIVATE SUB add_one_to_hours() hours = hours + 1 'Here we make a choice on using '24 hour clock or 12 hour clock. 'This example uses a 12 hour. IF hours > 12 THEN hours = 1 ENDIF END <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< This should give you an idea of using oop to do what you want. Joseph Murphy From njmurphy1 at ...734... Mon Jun 13 20:51:39 2005 From: njmurphy1 at ...734... (njmurphy1 at ...734...) Date: Mon, 13 Jun 2005 11:51:39 -0700 Subject: [Gambas-user] Question for Benoit Message-ID: <200506131151.39646.njmurphy1@...734...> Hi Benoit I know this is a small thing but I like to use underscores in names for classes, such as Time_Functions. I find this a little easer to read then TimeFunctions. Underscores are valid charactors in subroutines and functions but not class names. Is there a reason for this? Is it possible to allow underscores in class names? Right now Gambas doesn't have any none trivial programs written with it yet, but it will. Maintainability is a very important feature in code. When you are trying to find a problem with a ten thousand line program classnamesthatlooklikethis are somewhat more difficult to read and taxing on what precious brain power I have left. If it's not to much trouble would you consider allowing underscores in the tokens for class and module names. Thanks Joseph P.S. Please don't suggest Hungarian notation. I think it is one of the more stupid things to come out of MS other then outhouse express. From gambasfr at ...11... Mon Jun 13 20:59:46 2005 From: gambasfr at ...11... (fabien) Date: Mon, 13 Jun 2005 20:59:46 +0200 Subject: [Gambas-user] About php timestamp Message-ID: <200506132059.46219.gambasfr@...11...> Hi to all... I really need some help. I'm currently rewriting the gambasforge site in gambas ! but i've a big problem ! The date of the codes are registred with the php timestamp who is mabe the same than unix one. I want to use it ! but how converting a gambas Date to a timestamp value ? Please answer quickly ! Regards, Fabien From nando_f at ...951... Mon Jun 13 21:26:01 2005 From: nando_f at ...951... (nando) Date: Mon, 13 Jun 2005 15:26:01 -0400 Subject: [Gambas-user] About php timestamp In-Reply-To: <200506132059.46219.gambasfr@...11...> References: <200506132059.46219.gambasfr@...11...> Message-ID: <20050613190858.M59119@...951...> Generally, PHP dates and times are stored as a string unless you're specifically dealing with the Unix timestamp (the number of seconds since January 1 1970 00:00:00 GMT) A quick idea...something like... unix / 86400 = #days #days / 365.25 = # years since 1970 #years +1970 is the actual year The remainder is the number of days in the year.. convert to months <=31 is Jan <=31+28 is Feb, Day is remainder - 31 <=31+28+31 is March, Day is remainder -31 - 28 <=31+28+31+30 is April, Day is remainder -31-28-31 ...continue for all months ...the remainder is less than 86400 which is the seconds in a day / 24 for hours / the remainder for minutes and the remainder is seconds Hope it helps -Fernando ---------- Original Message ----------- From: fabien To: gambas-user at lists.sourceforge.net Sent: Mon, 13 Jun 2005 20:59:46 +0200 Subject: [Gambas-user] About php timestamp > Hi to all... > > I really need some help. I'm currently rewriting the gambasforge > site in gambas ! > > but i've a big problem ! The date of the codes are registred with > the php timestamp who is mabe the same than unix one. I want to use > it ! but how converting a gambas Date to a timestamp value ? > > Please answer quickly ! > Regards, > Fabien > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can > you shotput a projector? How fast can you ride your desk chair down > the office luge track? If you want to score the big prize, get to > know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From eeller at ...826... Mon Jun 13 21:36:38 2005 From: eeller at ...826... (Eldon Eller) Date: Mon, 13 Jun 2005 12:36:38 -0700 Subject: [Gambas-user] Time Help In-Reply-To: <9225819e0506121828acbb57d@...627...> References: <9225819e0506121828acbb57d@...627...> Message-ID: <42ADE046.2020100@...826...> Try this: ' Gambas class file PUBLIC hr AS Integer ' hour PUBLIC mi AS Integer ' minutes PUBLIC sec AS Integer ' seconds PUBLIC tick AS Integer ' 10ths of seconds PUBLIC SUB Form_Open() hr=0 mi=0 sec=0 tick=0 END PUBLIC SUB Timer1_Timer() tick=(tick + 1) MOD 10 sec=(sec -(tick=0)) MOD 60 ' the minus signs are because true is -1 mi=(mi-((sec=0) AND (tick=0))) MOD 60 hr=(hr-((mi=0) AND (sec=0) AND (tick=0))) MOD 12 TextBox1.text=Str(hr)&":"&Str(mi)&":"&Str(sec+tick/10) END Michael Murphy wrote: > I'm trying to modify Jon?s Alvarez 's count down program to be a fast > clock and I'm having trouble changeing the hours. Here's what I got so > far: > > ______________ > > PRIVATE SUB changetime () > > 'This sub changes the time that is displayed > > hours = 12 > minutes = Int (Int(secs) / 60) > > textlabel1.Caption = hours & ":" & minutes & ":" & Format (secs - > minutes * 60) > > END > > PUBLIC SUB Timer1_Timer() > > secs = secs + 0.1 > changetime > > END > > _______________ > > Above are the two functions that handle the time change. 'hours' is a > global variable. When I run the program it displays the 'hours' has > '12' but I can't figure out how to change the hour when the minute is > more then 59 and I can't figure out how to set miutes to zero, the > secs work fine and the minutes do change. I've been working on this > for hours so any help is appreciated. If you need anymore info let me > know. From lordheavy at ...512... Mon Jun 13 21:46:21 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Mon, 13 Jun 2005 21:46:21 +0200 Subject: [Gambas-user] About php timestamp In-Reply-To: <200506132059.46219.gambasfr@...11...> References: <200506132059.46219.gambasfr@...11...> Message-ID: <200506132146.21768.lordheavy@...512...> Le Lundi 13 Juin 2005 20:59, fabien a ?crit?: > Hi to all... > > I really need some help. I'm currently rewriting the gambasforge site in > gambas ! > > but i've a big problem ! The date of the codes are registred with the php > timestamp who is mabe the same than unix one. I want to use it ! but how > converting a gambas Date to a timestamp value ? > > > Please answer quickly ! > Regards, > Fabien Maybe you can now with the stat() command. It isn't timestamp velue but you can manage changes with date value. Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From nando_f at ...951... Mon Jun 13 21:54:27 2005 From: nando_f at ...951... (nando) Date: Mon, 13 Jun 2005 15:54:27 -0400 Subject: [Gambas-user] Time Help In-Reply-To: <42ADE046.2020100@...826...> References: <9225819e0506121828acbb57d@...627...> <42ADE046.2020100@...826...> Message-ID: <20050613195013.M95557@...951...> An alternate coding for sub Timer1_Timer... PUBLIC SUB Timer1_Timer() INC tick IF tick > 9 THEN INC sec tick = 0 ENDIF IF sec > 59 THEN INC mi sec = 0 ENDIF IF mi > 59 THEN INC hr TextBox1.text = Str(hr) & ":" & Str(mi )& ":" & Str(sec) & "." & Str(tick) END ---------- Original Message ----------- From: Eldon Eller To: gambas-user at lists.sourceforge.net Sent: Mon, 13 Jun 2005 12:36:38 -0700 Subject: Re: [Gambas-user] Time Help > Try this: > > ' Gambas class file > > PUBLIC hr AS Integer ' hour > PUBLIC mi AS Integer ' minutes > PUBLIC sec AS Integer ' seconds > PUBLIC tick AS Integer ' 10ths of seconds > > PUBLIC SUB Form_Open() > > hr=0 > mi=0 > sec=0 > tick=0 > > END > > PUBLIC SUB Timer1_Timer() > > tick=(tick + 1) MOD 10 > sec=(sec -(tick=0)) MOD 60 ' the minus signs are because true is > -1 mi=(mi-((sec=0) AND (tick=0))) MOD 60 hr=(hr-((mi=0) AND > (sec=0) AND (tick=0))) MOD 12 > > TextBox1.text=Str(hr)&":"&Str(mi)&":"&Str(sec+tick/10) > > END > > Michael Murphy wrote: > > I'm trying to modify Jon?s Alvarez 's count down program to be a fast > > clock and I'm having trouble changeing the hours. Here's what I got so > > far: > > > > ______________ > > > > PRIVATE SUB changetime () > > > > 'This sub changes the time that is displayed > > > > hours = 12 > > minutes = Int (Int(secs) / 60) > > > > textlabel1.Caption = hours & ":" & minutes & ":" & Format (secs - > > minutes * 60) > > > > END > > > > PUBLIC SUB Timer1_Timer() > > > > secs = secs + 0.1 > > changetime > > > > END > > > > _______________ > > > > Above are the two functions that handle the time change. 'hours' is a > > global variable. When I run the program it displays the 'hours' has > > '12' but I can't figure out how to change the hour when the minute is > > more then 59 and I can't figure out how to set miutes to zero, the > > secs work fine and the minutes do change. I've been working on this > > for hours so any help is appreciated. If you need anymore info let me > > know. > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can > you shotput a projector? How fast can you ride your desk chair down > the office luge track? If you want to score the big prize, get to > know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From lordheavy at ...512... Mon Jun 13 21:59:23 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Mon, 13 Jun 2005 21:59:23 +0200 Subject: [Gambas-user] Time Help In-Reply-To: <9225819e0506121828acbb57d@...627...> References: <9225819e0506121828acbb57d@...627...> Message-ID: <200506132159.23749.lordheavy@...512...> Le Lundi 13 Juin 2005 03:28, Michael Murphy a ?crit?: A way to do but limited to 23:59:59 :) -- ' Gambas class file start AS Date PUBLIC SUB _new() start = Now Timer1.Enabled = TRUE END PUBLIC SUB Timer1_Timer() DIM calc AS Date calc = Now - start TextBox1.Text = Hour(calc) & ":" & Minute(calc) & ":" & Second(calc) END -- Laurent Carlier jabber : LordHeavy at ...943... From cloroetilo at ...626... Mon Jun 13 23:12:57 2005 From: cloroetilo at ...626... (PaquitoSoft) Date: Mon, 13 Jun 2005 23:12:57 +0200 Subject: [Gambas-user] Here is my question... Message-ID: <1118697177.4500.4.camel@...37...> Hi all! I'm working in a little gambas application that will use a single file sqlite database. What I want is to check at the beginning of the program if the file exists in a specyfic folder ($HOME/.Test1/database.db) and if it does not I would like to copy it there, but... Where will be my file qhen I distribute the application, I mean, what will be the source folder containing the database file from where I can get it and copy to the destination?? Maybe this is not a very good explanation of my problem, I apologize. I came to linux several months ago and I'm still thinking like I did with Visual Basic. Thank you all -- El tiempo es un gran profesor. Desafortunadamente, mata a todos sus alumnos. From sourceforge-raindog2 at ...94... Tue Jun 14 02:34:21 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 13 Jun 2005 20:34:21 -0400 Subject: [Gambas-user] About php timestamp In-Reply-To: <200506132059.46219.gambasfr@...11...> References: <200506132059.46219.gambasfr@...11...> Message-ID: <200506132034.21354.sourceforge-raindog2@...94...> On Monday 13 June 2005 14:59, fabien wrote: > but i've a big problem ! The date of the codes are registred with > the php timestamp who is mabe the same than unix one. I want to use > it ! but how converting a gambas Date to a timestamp value ? That is exactly that problem that led me to write the gb.posix component last year. For some reason it never got included in Gambas. In the development versions there's the API access that you can use for some of the date handling stuff. I haven't tried it myself, but I think you might be able to use gb.vb's DateAdd to add the unix time to Date(1970,1,1,0,0,0). Rob From ebtmike at ...626... Tue Jun 14 03:36:16 2005 From: ebtmike at ...626... (Michael Murphy) Date: Mon, 13 Jun 2005 21:36:16 -0400 Subject: [Gambas-user] Re: Time Help Message-ID: <9225819e0506131836187d4654@...627...> Thanks for the help guys, my clock is now 98% working. :) Two more questions: I want the user to be able to change the speed of the clock, I know how to let the user change the speed (timer1.delay = textbox.text). What I want to know is if the user wants to enter the speed 6:1 or 4:1 ect. since this is the way clock speed is usually thought of this way. But when I do this I get the error "string entered, int expected" or something like that. How do I make it so the program can take this in? Something tells me there is a math operation involved or something but I'm not to sure. If you need me to explain my problem better please let me know. My other question is making the program executable. I know how to do this but my system does not know how to run the executable. It pops up asking me what program to use to run it. Any help here is appreciated. :) I'm new to programing with Gambas (have programed in visual basic) but I never did a program like this (has you can tell). Thanks again. -- Mike It's called fishING. It's the act of fishing. - Jake SG1 From rizky.tahara at ...626... Tue Jun 14 04:47:34 2005 From: rizky.tahara at ...626... (Rizky Tahara Shita) Date: Tue, 14 Jun 2005 09:47:34 +0700 Subject: [Gambas-user] Menu Event Message-ID: Hi benoit, create a menu without a sub menu in it. now how do i code when that root menu got clicked ? when i click the menu on the form, it don't show the code for it. but when i have a sub menu and i want coding for the sub menu event, it can show the code by clicking that sub menu... From budi.a.gusandi at ...626... Tue Jun 14 08:23:50 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Tue, 14 Jun 2005 13:23:50 +0700 Subject: [Gambas-user] Menu Event In-Reply-To: References: Message-ID: <42AE77F6.4070509@...415...> Rizky Tahara Shita wrote: >Hi benoit, > >create a menu without a sub menu in it. >now how do i code when that root menu got clicked ? >when i click the menu on the form, it don't show the code for it. >but when i have a sub menu and i want coding for the sub menu event, >it can show the code by clicking that sub menu... > > >------------------------------------------------------- >This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput >a projector? How fast can you ride your desk chair down the office luge track? >If you want to score the big prize, get to know the little guy. >Play to win an NEC 61" plasma display: http://www.necitguy.com/?r >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > There's no root menu event as far as i know, eventho i write the sub menu event manually, it doesn't work. Pa kabar nih.. Budi From rizky.tahara at ...626... Tue Jun 14 09:53:02 2005 From: rizky.tahara at ...626... (Rizky Tahara Shita) Date: Tue, 14 Jun 2005 14:53:02 +0700 Subject: [Gambas-user] Menu Event In-Reply-To: <42AE77F6.4070509@...415...> References: <42AE77F6.4070509@...415...> Message-ID: On 6/14/05, BUDI ARIEF GUSANDI wrote: > Rizky Tahara Shita wrote: > > >Hi benoit, > > > >create a menu without a sub menu in it. > >now how do i code when that root menu got clicked ? > >when i click the menu on the form, it don't show the code for it. > >but when i have a sub menu and i want coding for the sub menu event, > >it can show the code by clicking that sub menu... > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > >a projector? How fast can you ride your desk chair down the office luge track? > >If you want to score the big prize, get to know the little guy. > >Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > >_______________________________________________ > >Gambas-user mailing list > >Gambas-user at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > There's no root menu event as far as i know, eventho i write the sub > menu event manually, it doesn't work. yeah i know that.. but when i do that in VB, it can... why in gambas can't ??? > Pa kabar nih.. heheeh.. baru maenan gambas lagi nih... makin cool ajeh yak... From eilert-sprachen at ...221... Tue Jun 14 10:37:13 2005 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 14 Jun 2005 10:37:13 +0200 Subject: [Gambas-user] More than one console process Message-ID: <42AE9739.2050304@...221...> Hi folks, just thought about brushing up one of my apps which includes a console thing "EXEC [ "who" ] ..." and so on. Reading out the output from the command I use the Process_Read event. But what if I want to have another command executed in the program, like "EXEC [ "ps" "ax" ] ..."? Either I need another Process_Read() event (and I don't know if it's possible to distinguish between several ones) or I have to insert some flag to be set and evaluated within the single Process_Read to distinguish between the two commands. Just give me an idea so I do not spoil the current project :-) Rolf From matthias-laur at ...978... Tue Jun 14 11:00:26 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Tue, 14 Jun 2005 11:00:26 +0200 Subject: AW: [Gambas-user] More than one console process In-Reply-To: <42AE9739.2050304@...221...> Message-ID: <0MKwtQ-1Di7Hc3dGO-0002qs@...979...> Hi Rolf, you can put a IF ... Then ... in the Process_Read event like IF Last.id = Myfirstexec.id then .... IF Last.id = Mysecondexec.id then .... And it works :-) Regards, Matthias -----Urspr?ngliche Nachricht----- Von: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] Im Auftrag von Eilert Gesendet: Dienstag, 14. Juni 2005 10:37 An: gambas-user at lists.sourceforge.net Betreff: [Gambas-user] More than one console process Hi folks, just thought about brushing up one of my apps which includes a console thing "EXEC [ "who" ] ..." and so on. Reading out the output from the command I use the Process_Read event. But what if I want to have another command executed in the program, like "EXEC [ "ps" "ax" ] ..."? Either I need another Process_Read() event (and I don't know if it's possible to distinguish between several ones) or I have to insert some flag to be set and evaluated within the single Process_Read to distinguish between the two commands. Just give me an idea so I do not spoil the current project :-) Rolf ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Tue Jun 14 12:09:01 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 14 Jun 2005 12:09:01 +0200 Subject: [Gambas-user] Accident! Message-ID: <200506141209.02018.gambas@...1...> Hi everyone, Bad news: I have broke the fifth finger of my right hand, so it is difficult now to answer mails, and almost impossible to program correctly. Everything should return to normal next week. The good news: I have found an half-time job until June 2006. I will try to answer mails, but don't ask me too much! Regards, -- Benoit Minisini mailto:gambas at ...1... From budi.a.gusandi at ...626... Tue Jun 14 12:14:58 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Tue, 14 Jun 2005 17:14:58 +0700 Subject: [Gambas-user] Accident! In-Reply-To: <200506141209.02018.gambas@...1...> References: <200506141209.02018.gambas@...1...> Message-ID: <42AEAE22.4060309@...626...> Benoit Minisini wrote: >Hi everyone, > >Bad news: I have broke the fifth finger of my right hand, so it is difficult >now to answer mails, and almost impossible to program correctly. Everything >should return to normal next week. > >The good news: I have found an half-time job until June 2006. > >I will try to answer mails, but don't ask me too much! > >Regards, > > > Oh my god, i'm sorry to hear that. How could it be broke ? recover soon benoit :-) Budi From gambas at ...1... Tue Jun 14 12:23:39 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 14 Jun 2005 12:23:39 +0200 Subject: [Gambas-user] Accident! In-Reply-To: <42AEAE22.4060309@...626...> References: <200506141209.02018.gambas@...1...> <42AEAE22.4060309@...626...> Message-ID: <200506141223.39362.gambas@...1...> On Tuesday 14 June 2005 12:14, BUDI ARIEF GUSANDI wrote: > Benoit Minisini wrote: > >Hi everyone, > > > >Bad news: I have broke the fifth finger of my right hand, so it is > > difficult now to answer mails, and almost impossible to program > > correctly. Everything should return to normal next week. > > > >The good news: I have found an half-time job until June 2006. > > > >I will try to answer mails, but don't ask me too much! > > > >Regards, > > Oh my god, i'm sorry to hear that. How could it be broke ? recover soon > benoit :-) > > Budi > A bad basket ball. Never do sport if you are not a sportsman... -- Benoit Minisini mailto:gambas at ...1... From eilert-sprachen at ...221... Tue Jun 14 12:43:55 2005 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 14 Jun 2005 12:43:55 +0200 Subject: [Gambas-user] Accident! In-Reply-To: <200506141223.39362.gambas@...1...> References: <200506141209.02018.gambas@...1...> <42AEAE22.4060309@...626...> <200506141223.39362.gambas@...1...> Message-ID: <42AEB4EB.4040302@...221...> > A bad basket ball. Never do sport if you are not a sportsman... As I used to say: Sport ist Mord! I wish you a good finger back soon, Benoit. Rolf From eilert-sprachen at ...221... Tue Jun 14 12:46:51 2005 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 14 Jun 2005 12:46:51 +0200 Subject: AW: [Gambas-user] More than one console process In-Reply-To: <0MKwtQ-1Di7Hc3dGO-0002qs@...979...> References: <0MKwtQ-1Di7Hc3dGO-0002qs@...979...> Message-ID: <42AEB59B.5070307@...221...> Thanks for the tip, this runs in principle, BUT: The EXEC [ "ps" "ax" ] ... gets a completely (and much shorter) list than when the same user types "ps ax" in a terminal! Why's that??? Now, exactly those results which are to be examined in the program don't appear in the list... Rolf Matthias Laur schrieb: > Hi Rolf, > you can put a IF ... Then ... in the Process_Read event like > > IF Last.id = Myfirstexec.id then .... > IF Last.id = Mysecondexec.id then .... > > And it works :-) > > Regards, > Matthias > > > > -----Urspr?ngliche Nachricht----- > Von: gambas-user-admin at lists.sourceforge.net > [mailto:gambas-user-admin at lists.sourceforge.net] Im Auftrag von Eilert > Gesendet: Dienstag, 14. Juni 2005 10:37 > An: gambas-user at lists.sourceforge.net > Betreff: [Gambas-user] More than one console process > > Hi folks, > > just thought about brushing up one of my apps which includes a console > thing "EXEC [ "who" ] ..." and so on. > > Reading out the output from the command I use the Process_Read event. > But what if I want to have another command executed in the program, like > "EXEC [ "ps" "ax" ] ..."? > > Either I need another Process_Read() event (and I don't know if it's > possible to distinguish between several ones) or I have to insert some > flag to be set and evaluated within the single Process_Read to > distinguish between the two commands. > > Just give me an idea so I do not spoil the current project :-) > > Rolf > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput > a projector? How fast can you ride your desk chair down the office luge > track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bernieman.tux at ...626... Tue Jun 14 15:55:07 2005 From: bernieman.tux at ...626... (BernieMan) Date: Tue, 14 Jun 2005 15:55:07 +0200 Subject: [Gambas-user] Accident! In-Reply-To: <42AEB4EB.4040302@...221...> References: <200506141209.02018.gambas@...1...> <42AEAE22.4060309@...626...> <200506141223.39362.gambas@...1...> <42AEB4EB.4040302@...221...> Message-ID: <42AEE1BB.4000600@...626...> Eilert schrieb: >> A bad basket ball. Never do sport if you are not a sportsman... > > > As I used to say: Sport ist Mord! > > I wish you a good finger back soon, Benoit. > > Rolf Well i feel with you. Thats the reason for me doin no sports because I need my fingers very badly too. Recover fast and all the best to you bm from germany From matthias-laur at ...978... Tue Jun 14 15:56:40 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Tue, 14 Jun 2005 15:56:40 +0200 Subject: AW: AW: [Gambas-user] More than one console process In-Reply-To: <42AEB59B.5070307@...221...> Message-ID: <0MKxQS-1DiBuI2tCt-0000d7@...979...> I don't now why, but you could try it with Shell "ps ax" as .... But attention: You must code the if construction like If Last.id = Myprocess.id + 1 then ... Because Myprocess.id is the Shell process itself. Regards, Matthias -----Urspr?ngliche Nachricht----- Von: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] Im Auftrag von Eilert Gesendet: Dienstag, 14. Juni 2005 12:47 An: gambas-user at lists.sourceforge.net Betreff: Re: AW: [Gambas-user] More than one console process Thanks for the tip, this runs in principle, BUT: The EXEC [ "ps" "ax" ] ... gets a completely (and much shorter) list than when the same user types "ps ax" in a terminal! Why's that??? Now, exactly those results which are to be examined in the program don't appear in the list... Rolf Matthias Laur schrieb: > Hi Rolf, > you can put a IF ... Then ... in the Process_Read event like > > IF Last.id = Myfirstexec.id then .... > IF Last.id = Mysecondexec.id then .... > > And it works :-) > > Regards, > Matthias > > > > -----Urspr?ngliche Nachricht----- > Von: gambas-user-admin at lists.sourceforge.net > [mailto:gambas-user-admin at lists.sourceforge.net] Im Auftrag von Eilert > Gesendet: Dienstag, 14. Juni 2005 10:37 > An: gambas-user at lists.sourceforge.net > Betreff: [Gambas-user] More than one console process > > Hi folks, > > just thought about brushing up one of my apps which includes a console > thing "EXEC [ "who" ] ..." and so on. > > Reading out the output from the command I use the Process_Read event. > But what if I want to have another command executed in the program, like > "EXEC [ "ps" "ax" ] ..."? > > Either I need another Process_Read() event (and I don't know if it's > possible to distinguish between several ones) or I have to insert some > flag to be set and evaluated within the single Process_Read to > distinguish between the two commands. > > Just give me an idea so I do not spoil the current project :-) > > Rolf > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput > a projector? How fast can you ride your desk chair down the office luge > track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From matthias-laur at ...978... Tue Jun 14 15:59:34 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Tue, 14 Jun 2005 15:59:34 +0200 Subject: AW: AW: [Gambas-user] More than one console process In-Reply-To: <42AEB59B.5070307@...221...> Message-ID: <0MKwpI-1DiBx60mgl-000692@...979...> And I think there must be a "," between the parameters. EXEC ["ps", "ax"] Regards, Matthias -----Urspr?ngliche Nachricht----- Von: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] Im Auftrag von Eilert Gesendet: Dienstag, 14. Juni 2005 12:47 An: gambas-user at lists.sourceforge.net Betreff: Re: AW: [Gambas-user] More than one console process Thanks for the tip, this runs in principle, BUT: The EXEC [ "ps" "ax" ] ... gets a completely (and much shorter) list than when the same user types "ps ax" in a terminal! Why's that??? Now, exactly those results which are to be examined in the program don't appear in the list... Rolf Matthias Laur schrieb: > Hi Rolf, > you can put a IF ... Then ... in the Process_Read event like > > IF Last.id = Myfirstexec.id then .... > IF Last.id = Mysecondexec.id then .... > > And it works :-) > > Regards, > Matthias > > > > -----Urspr?ngliche Nachricht----- > Von: gambas-user-admin at lists.sourceforge.net > [mailto:gambas-user-admin at lists.sourceforge.net] Im Auftrag von Eilert > Gesendet: Dienstag, 14. Juni 2005 10:37 > An: gambas-user at lists.sourceforge.net > Betreff: [Gambas-user] More than one console process > > Hi folks, > > just thought about brushing up one of my apps which includes a console > thing "EXEC [ "who" ] ..." and so on. > > Reading out the output from the command I use the Process_Read event. > But what if I want to have another command executed in the program, like > "EXEC [ "ps" "ax" ] ..."? > > Either I need another Process_Read() event (and I don't know if it's > possible to distinguish between several ones) or I have to insert some > flag to be set and evaluated within the single Process_Read to > distinguish between the two commands. > > Just give me an idea so I do not spoil the current project :-) > > Rolf > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput > a projector? How fast can you ride your desk chair down the office luge > track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Tue Jun 14 16:09:15 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 14 Jun 2005 16:09:15 +0200 Subject: [Gambas-user] More than one console process In-Reply-To: <42AE9739.2050304@...221...> References: <42AE9739.2050304@...221...> Message-ID: <200506141609.15888.gambas@...1...> On Tuesday 14 June 2005 10:37, Eilert wrote: > Hi folks, > > just thought about brushing up one of my apps which includes a console > thing "EXEC [ "who" ] ..." and so on. > > Reading out the output from the command I use the Process_Read event. > But what if I want to have another command executed in the program, like > "EXEC [ "ps" "ax" ] ..."? > > Either I need another Process_Read() event (and I don't know if it's > possible to distinguish between several ones) or I have to insert some > flag to be set and evaluated within the single Process_Read to > distinguish between the two commands. > > Just give me an idea so I do not spoil the current project :-) > > Rolf > Use the LAST keyword to get a reference to the Process object that raised the event. In the future, the syntax of EXEC/SHELL will change so that you can choose the event name of the Process object - You won't have to use "Process" like now. Regards, -- Benoit Minisini mailto:gambas at ...1... From nando_f at ...951... Tue Jun 14 19:46:22 2005 From: nando_f at ...951... (nando) Date: Tue, 14 Jun 2005 13:46:22 -0400 Subject: [Gambas-user] Everyone's email is harvested by now!! Message-ID: <20050614174058.M75125@...951...> Everyone's email address listed on www.binara.com/gambas-wiki/bin/view/Gambas/ has their email listed in plain sight. My email address has already been harvested. Once 'THOSE' bad guys find a site with good email addresses, they are harvested. This practice of no protection at all is no more than poor at best There is no disclaimer about emails are or are not private. Go ahead, use Google and type your email address. I'll bet the above URL is the ONLY place your email is listed with no protection. Good luck to everyone..including me. -Fernando From nando_f at ...951... Tue Jun 14 19:47:58 2005 From: nando_f at ...951... (nando) Date: Tue, 14 Jun 2005 13:47:58 -0400 Subject: [Gambas-user] www.binara.com email address Message-ID: <20050614174656.M87315@...951...> And..binara.com email address for sending feedback is dead. -Fernando From sourceforge-raindog2 at ...94... Tue Jun 14 20:05:25 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 14 Jun 2005 14:05:25 -0400 Subject: [Gambas-user] www.binara.com email address In-Reply-To: <20050614174656.M87315@...951...> References: <20050614174656.M87315@...951...> Message-ID: <200506141405.25575.sourceforge-raindog2@...94...> On Tuesday 14 June 2005 13:47, nando wrote: > And..binara.com email address for sending feedback is dead. Yeah, I was getting so much spam to that address that I disabled it. I still get spam to twiki-changes at ...544... or something like that. Sorry, I naturally assumed that everyone uses disposable email addresses for each web site, as I do. Rob From danielcampos at ...282... Tue Jun 14 21:54:51 2005 From: danielcampos at ...282... (Daniel Campos) Date: Tue, 14 Jun 2005 21:54:51 +0200 Subject: [Gambas-user] Accident! In-Reply-To: <200506141209.02018.gambas@...1...> References: <200506141209.02018.gambas@...1...> Message-ID: <42AF360B.5000705@...282...> Benoit Minisini escribi?: >Hi everyone, > >Bad news: I have broke the fifth finger of my right hand, so it is difficult >now to answer mails, and almost impossible to program correctly. Everything >should return to normal next week. > > I always practice Chess, is more secure :-))) >The good news: I have found an half-time job until June 2006. > >I will try to answer mails, but don't ask me too much! > >Regards, > > I hope you recover soon, Best regards, Daniel Campos From fidojones at ...805... Wed Jun 15 01:09:50 2005 From: fidojones at ...805... (Lorenzo Tejera) Date: Wed, 15 Jun 2005 01:09:50 +0200 (CEST) Subject: [Gambas-user] Accident! In-Reply-To: <42AF360B.5000705@...282...> References: <200506141209.02018.gambas@...1...> <42AF360B.5000705@...282...> Message-ID: <54350.85.155.33.88.1118790590.squirrel@...962...> I broke some time ago my hand, one month without use it. But I convert and expert playing "Super Street Fighter" with only one HAND :D. Recover Soon Benoit. > Benoit Minisini escribi??: > > >> Hi everyone, >> >> >> Bad news: I have broke the fifth finger of my right hand, so it is >> difficult now to answer mails, and almost impossible to program >> correctly. Everything should return to normal next week. >> >> > I always practice Chess, is more secure :-))) > > > >> The good news: I have found an half-time job until June 2006. >> >> >> I will try to answer mails, but don't ask me too much! >> >> >> Regards, >> >> >> > I hope you recover soon, > > > Best regards, > > > Daniel Campos > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to speed, > fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From budi.a.gusandi at ...626... Wed Jun 15 09:58:14 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Wed, 15 Jun 2005 14:58:14 +0700 Subject: [Gambas-user] BOOLEAN PICTURE PROPERTY Message-ID: <42AFDF96.3030201@...626...> Hi all, How could i know whether picturebox component (or any which has picture property) has picture or not (empty) ? I figure out for several minutes and comes up with this. I dont know why it returns blank not F when false, eventho i try using isnull(picturebox1.picture) : assume picturebox1 contains no picture if picturebox1.picture <> "" then ' This Return Blank not F for false, means no picture else 'Return T for True, means there's picture there endif Any knows why ? Regards, Budi From danielcampos at ...282... Wed Jun 15 10:06:05 2005 From: danielcampos at ...282... (Daniel Campos) Date: Wed, 15 Jun 2005 10:06:05 +0200 Subject: [Gambas-user] BOOLEAN PICTURE PROPERTY In-Reply-To: <42AFDF96.3030201@...626...> References: <42AFDF96.3030201@...626...> Message-ID: <42AFE16D.6000004@...282...> Hi: IF PictureBox1.Picture=NULL THEN PRINT "BLANK" ELSE PRINT "NOT BLANK" END IF Regards, D. Campos BUDI ARIEF GUSANDI escribi?: > Hi all, > > How could i know whether picturebox component (or any which has > picture property) has picture or not (empty) ? > I figure out for several minutes and comes up with this. I dont know > why it returns blank not F when false, eventho i try using > isnull(picturebox1.picture) : > > assume picturebox1 contains no picture > if picturebox1.picture <> "" then > ' This Return Blank not F for false, means no picture > else > 'Return T for True, means there's picture there > endif > > Any knows why ? > > Regards, > Budi > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From budi.a.gusandi at ...626... Wed Jun 15 10:08:44 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Wed, 15 Jun 2005 15:08:44 +0700 Subject: [Gambas-user] BOOLEAN PICTURE PROPERTY In-Reply-To: <42AFE16D.6000004@...282...> References: <42AFDF96.3030201@...626...> <42AFE16D.6000004@...282...> Message-ID: <42AFE20C.5090903@...415...> Daniel Campos wrote: Daniel, are you using yahoo messenger or any ? we can chat.. > Hi: > > IF PictureBox1.Picture=NULL THEN > PRINT "BLANK" > ELSE > PRINT "NOT BLANK" > END IF > > > Regards, > > D. Campos > > > > BUDI ARIEF GUSANDI escribi?: > >> Hi all, >> >> How could i know whether picturebox component (or any which has >> picture property) has picture or not (empty) ? >> I figure out for several minutes and comes up with this. I dont know >> why it returns blank not F when false, eventho i try using >> isnull(picturebox1.picture) : >> >> assume picturebox1 contains no picture >> if picturebox1.picture <> "" then >> ' This Return Blank not F for false, means no picture >> else >> 'Return T for True, means there's picture there >> endif >> >> Any knows why ? >> >> Regards, >> Budi >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >> from IBM. Find simple to follow Roadmaps, straightforward articles, >> informative Webcasts and more! Get everything you need to get up to >> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From danielcampos at ...282... Wed Jun 15 10:20:42 2005 From: danielcampos at ...282... (Daniel Campos) Date: Wed, 15 Jun 2005 10:20:42 +0200 Subject: [Gambas-user] BOOLEAN PICTURE PROPERTY In-Reply-To: <42AFE20C.5090903@...415...> References: <42AFDF96.3030201@...626...> <42AFE16D.6000004@...282...> <42AFE20C.5090903@...415...> Message-ID: <42AFE4DA.8090508@...282...> BUDI ARIEF GUSANDI escribi?: > Daniel Campos wrote: > > Daniel, are you using yahoo messenger or any ? we can chat.. Sorry, we can't, I'm at work now.... :-) Regards, D. Campos > >> Hi: >> >> IF PictureBox1.Picture=NULL THEN >> PRINT "BLANK" >> ELSE >> PRINT "NOT BLANK" >> END IF >> >> >> Regards, >> >> D. Campos >> >> >> >> BUDI ARIEF GUSANDI escribi?: >> >>> Hi all, >>> >>> How could i know whether picturebox component (or any which has >>> picture property) has picture or not (empty) ? >>> I figure out for several minutes and comes up with this. I dont know >>> why it returns blank not F when false, eventho i try using >>> isnull(picturebox1.picture) : >>> >>> assume picturebox1 contains no picture >>> if picturebox1.picture <> "" then >>> ' This Return Blank not F for false, means no picture >>> else >>> 'Return T for True, means there's picture there >>> endif >>> >>> Any knows why ? >>> >>> Regards, >>> Budi >>> >>> >>> >>> ------------------------------------------------------- >>> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >>> from IBM. Find simple to follow Roadmaps, straightforward articles, >>> informative Webcasts and more! Get everything you need to get up to >>> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >> from IBM. Find simple to follow Roadmaps, straightforward articles, >> informative Webcasts and more! Get everything you need to get up to >> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From budi.a.gusandi at ...626... Wed Jun 15 10:25:36 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Wed, 15 Jun 2005 15:25:36 +0700 Subject: [Gambas-user] BOOLEAN PICTURE PROPERTY In-Reply-To: <42AFE4DA.8090508@...282...> References: <42AFDF96.3030201@...626...> <42AFE16D.6000004@...282...> <42AFE20C.5090903@...415...> <42AFE4DA.8090508@...282...> Message-ID: <42AFE600.80101@...415...> I'm actaully at works too in my office ;) Anyway do you have sample code on how read/write using setting ? a simple one Budi Daniel Campos wrote: > BUDI ARIEF GUSANDI escribi?: > >> Daniel Campos wrote: >> >> Daniel, are you using yahoo messenger or any ? we can chat.. > > > > Sorry, we can't, I'm at work now.... :-) > > Regards, > > D. Campos > >> >>> Hi: >>> >>> IF PictureBox1.Picture=NULL THEN >>> PRINT "BLANK" >>> ELSE >>> PRINT "NOT BLANK" >>> END IF >>> >>> >>> Regards, >>> >>> D. Campos >>> >>> >>> >>> BUDI ARIEF GUSANDI escribi?: >>> >>>> Hi all, >>>> >>>> How could i know whether picturebox component (or any which has >>>> picture property) has picture or not (empty) ? >>>> I figure out for several minutes and comes up with this. I dont >>>> know why it returns blank not F when false, eventho i try using >>>> isnull(picturebox1.picture) : >>>> >>>> assume picturebox1 contains no picture >>>> if picturebox1.picture <> "" then >>>> ' This Return Blank not F for false, means no picture >>>> else >>>> 'Return T for True, means there's picture there >>>> endif >>>> >>>> Any knows why ? >>>> >>>> Regards, >>>> Budi >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >>>> from IBM. Find simple to follow Roadmaps, straightforward articles, >>>> informative Webcasts and more! Get everything you need to get up to >>>> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>>> >>> >>> >>> >>> ------------------------------------------------------- >>> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >>> from IBM. Find simple to follow Roadmaps, straightforward articles, >>> informative Webcasts and more! Get everything you need to get up to >>> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >> from IBM. Find simple to follow Roadmaps, straightforward articles, >> informative Webcasts and more! Get everything you need to get up to >> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bernieman at ...977... Wed Jun 15 11:08:04 2005 From: bernieman at ...977... (BernieMan) Date: Wed, 15 Jun 2005 11:08:04 +0200 Subject: [Gambas-user] Dialog Question Message-ID: <42AFEFF4.2040507@...977...> Hi All, I use Dialog with SelectDirectory. I need to choose hidden-paths. But its not working. I can only choose the none-hidden paths. Can someone give me an example how to choose hidden paths within Dialog? tia bm From oreip at ...1... Wed Jun 15 11:34:47 2005 From: oreip at ...1... (PV) Date: Wed, 15 Jun 2005 11:34:47 +0200 Subject: [Gambas-user] Dialog Question In-Reply-To: <42AFEFF4.2040507@...977...> References: <42AFEFF4.2040507@...977...> Message-ID: <42AFF637.5050005@...1...> On 15/06/2005 11:08, BernieMan wrote: > Hi All, > I use Dialog with SelectDirectory. I need to choose hidden-paths. > But its not working. I can only choose the none-hidden paths. > > Can someone give me an example how to choose hidden paths within Dialog? Maybe it's not exactly what you're looking for but, once you have the dialog open, right click on it and a popup shows up, at least with the qt component. In that popup you can choose to see hidden files and dirs. Hope it helps, Piero From rizky.tahara at ...626... Wed Jun 15 12:09:21 2005 From: rizky.tahara at ...626... (Rizky Tahara Shita) Date: Wed, 15 Jun 2005 17:09:21 +0700 Subject: [Gambas-user] BOOLEAN PICTURE PROPERTY In-Reply-To: <42AFE600.80101@...415...> References: <42AFDF96.3030201@...626...> <42AFE16D.6000004@...282...> <42AFE20C.5090903@...415...> <42AFE4DA.8090508@...282...> <42AFE600.80101@...415...> Message-ID: On 6/15/05, BUDI ARIEF GUSANDI wrote: > I'm actaully at works too in my office ;) > Anyway do you have sample code on how read/write using setting ? a > simple one do you mean like this one ?? i used to save mysql settings connections... PUBLIC fl_sett AS Settings PUBLIC SUB write_config(host AS String, lgn AS String, pass AS String, port AS String) ''sub to write config files'' fl_sett["Host"]=host fl_sett["User"]=lgn fl_sett["Pass"]=pass fl_sett["Port"]=port fl_sett.Save read_config END PUBLIC SUB read_config() ''sub to read config files'' host=fl_sett["Host"] lgn=fl_sett["User"] pass=fl_sett["Pass"] port=fl_sett["Port"] END hope usefull... From bernieman.tux at ...626... Wed Jun 15 12:14:14 2005 From: bernieman.tux at ...626... (BernieMan) Date: Wed, 15 Jun 2005 12:14:14 +0200 Subject: [Gambas-user] Dialog Question In-Reply-To: <42AFF637.5050005@...1...> References: <42AFEFF4.2040507@...977...> <42AFF637.5050005@...1...> Message-ID: <42AFFF76.5090600@...626...> PV schrieb: > On 15/06/2005 11:08, BernieMan wrote: > >> Hi All, >> I use Dialog with SelectDirectory. I need to choose hidden-paths. >> But its not working. I can only choose the none-hidden paths. >> >> Can someone give me an example how to choose hidden paths within Dialog? > > > Maybe it's not exactly what you're looking for but, once you have the > dialog open, right click on it and a popup shows up, at least with the > qt component. > In that popup you can choose to see hidden files and dirs. > > Hope it helps, > Piero Thx Piero its not exactly what Im lookin for. But as you already said - it helps thx bm From oreip at ...1... Wed Jun 15 15:35:59 2005 From: oreip at ...1... (PV) Date: Wed, 15 Jun 2005 15:35:59 +0200 Subject: [Gambas-user] Dialog Question In-Reply-To: <42AFEFF4.2040507@...977...> References: <42AFEFF4.2040507@...977...> Message-ID: <42B02EBF.7070909@...1...> On 15/06/2005 11:08, BernieMan wrote: > Hi All, > I use Dialog with SelectDirectory. I need to choose hidden-paths. > But its not working. I can only choose the none-hidden paths. > > Can someone give me an example how to choose hidden paths within Dialog? Hi All, inspired by BernieMan's request, I wrote a little patch to CDialog.cpp (to be applied in /gb.qt/src) which adds a new boolean property "ShowHiddenFiles" to the Dialog class which allows you (as you might guess :-) to choose whether to show or not hidden files in the File Dialogs. The patch has been made against Gambas 1.9.9 version. Hope it can be useful, Piero -------------- next part -------------- A non-text attachment was scrubbed... Name: CDialog.cpp.patch Type: text/x-patch Size: 4777 bytes Desc: not available URL: From bernieman.tux at ...626... Wed Jun 15 15:58:41 2005 From: bernieman.tux at ...626... (BernieMan) Date: Wed, 15 Jun 2005 15:58:41 +0200 Subject: [Gambas-user] Dialog Question In-Reply-To: <42B02EBF.7070909@...1...> References: <42AFEFF4.2040507@...977...> <42B02EBF.7070909@...1...> Message-ID: <42B03411.9070406@...626...> PV schrieb: > On 15/06/2005 11:08, BernieMan wrote: > >> Hi All, >> I use Dialog with SelectDirectory. I need to choose hidden-paths. >> But its not working. I can only choose the none-hidden paths. >> >> Can someone give me an example how to choose hidden paths within Dialog? > > > Hi All, > > inspired by BernieMan's request, I wrote a little patch to CDialog.cpp > (to be > applied in /gb.qt/src) which adds a new boolean property > "ShowHiddenFiles" to the Dialog class which allows you (as you might > guess :-) > to choose whether to show or not hidden files in the File Dialogs. > > The patch has been made against Gambas 1.9.9 version. > > Hope it can be useful, > Piero > Thx Piero, This makes life a little easier ... Very fast response - /lg bm From eeller at ...826... Wed Jun 15 20:04:59 2005 From: eeller at ...826... (Eldon Eller) Date: Wed, 15 Jun 2005 11:04:59 -0700 Subject: [Gambas-user] Re: Time Help In-Reply-To: <9225819e0506131836187d4654@...627...> References: <9225819e0506131836187d4654@...627...> Message-ID: <42B06DCB.1070100@...826...> Assume the desired speed, 6:1 or 4:1, etc., is in the form of a string, s. Perhaps s is read from a textbox, for example. The delay (assuming s is in ticks per second) may be set as timer1.delay=1000/eval(replace$(s,":","/")) '1000 because delay is set in ms. Don't forget to adjust your display to take into account the period of a tick. As to executable, this is a linux, not Gambas, feature. Despite the trappings of a graphical user interface, linux is, at heart, a command line driven OS. You cannot run an executable by clicking on it. Instead, use the k menu to open "Run Command...", then enter the full path name of your executable. (If the executable is in a directory listed by $PATH, you need only the executable name.) If you want to start your program with a click, you can add it to the k menu with the menu editor, accessible by right clicking the k menu icon. Michael Murphy wrote: > Thanks for the help guys, my clock is now 98% working. :) > > Two more questions: > > I want the user to be able to change the speed of the clock, I know > how to let the user change the speed (timer1.delay = textbox.text). > What I want to know is if the user wants to enter the speed 6:1 or 4:1 > ect. since this is the way clock speed is usually thought of this way. > But when I do this I get the error "string entered, int expected" or > something like that. How do I make it so the program can take this in? > Something tells me there is a math operation involved or something but > I'm not to sure. If you need me to explain my problem better please > let me know. > > My other question is making the program executable. I know how to do > this but my system does not know how to run the executable. It pops up > asking me what program to use to run it. Any help here is appreciated. > :) > > I'm new to programing with Gambas (have programed in visual basic) but > I never did a program like this (has you can tell). Thanks again. From cloroetilo at ...626... Thu Jun 16 00:05:33 2005 From: cloroetilo at ...626... (PaquitoSoft) Date: Thu, 16 Jun 2005 00:05:33 +0200 Subject: [Gambas-user] Stack Overflow Message-ID: <1118873133.25941.10.camel@...37...> Hi all! I get an error in my program and it suggested me to tell you about it. The message is - "Program stopped unexpectedly sending signal #11". At console I get this information: Error: StackOverflow EXEC_leave != T_FUNCTION segment violation Now I tell you where this error come from... I'm using four toggleButton controls in a form, They are inside a frame. What I want to do is to have only one with value=true, so I made a lilttle process to handle this. All the button belog to a group called "toggle", This is the code for the group: PUBLIC SUB toggle_Click() toggleDia.Value = FALSE toggleSemana.Value = FALSE toggleMes.Value = FALSE toggleAnho.Value = FALSE LAST.value = TRUE CATCH PRINT "Error -> " & Error.Text END I get the error whit LAST.value = TRUE I try with different sub processes, one for each togglebutton with the same code, replacing keyword LAST by the exact togglebutton name and I got the same error. So... anybody can tell me what's wrong here??? By the way... I'm working with tableView Controls and I saw that documentation is uncompleted. Is there any way to set data into it?? I get the message that is read only... Thanks a lot -- El tiempo es un gran profesor. Desafortunadamente, mata a todos sus alumnos. From nando_f at ...951... Thu Jun 16 00:17:10 2005 From: nando_f at ...951... (nando) Date: Wed, 15 Jun 2005 18:17:10 -0400 Subject: [Gambas-user] Stack Overflow In-Reply-To: <1118873133.25941.10.camel@...37...> References: <1118873133.25941.10.camel@...37...> Message-ID: <20050615221408.M68188@...951...> Is it because LAST.value = TRUE actually causes the event to happen because you are toggling the button in code..so the event HAS to happen. You would definitely get the stack overflow. To help test this.. Make a PUBLIC counter as INTEGER at the beginning of the class inside the event add INC counter PRINT counter ..and see how many times it prints -Fernando ---------- Original Message ----------- From: PaquitoSoft To: gambas-user at lists.sourceforge.net Sent: Thu, 16 Jun 2005 00:05:33 +0200 Subject: [Gambas-user] Stack Overflow > Hi all! > I get an error in my program and it suggested me to tell you about > it. The message is - "Program stopped unexpectedly sending signal #11". > At console I get this information: > Error: StackOverflow > EXEC_leave != T_FUNCTION > segment violation > > Now I tell you where this error come from... > I'm using four toggleButton controls in a form, They are inside a frame. > What I want to do is to have only one with value=true, so I made a > lilttle process to handle this. All the button belog to a group > called "toggle", This is the code for the group: > > PUBLIC SUB toggle_Click() > > toggleDia.Value = FALSE > toggleSemana.Value = FALSE > toggleMes.Value = FALSE > toggleAnho.Value = FALSE > LAST.value = TRUE > > CATCH > PRINT "Error -> " & Error.Text > > END > > I get the error whit LAST.value = TRUE > I try with different sub processes, one for each togglebutton with > the same code, replacing keyword LAST by the exact togglebutton name > and I got the same error. So... anybody can tell me what's wrong here??? > > By the way... I'm working with tableView Controls and I saw that > documentation is uncompleted. Is there any way to set data into it?? > I get the message that is read only... > > Thanks a lot > > -- > El tiempo es un gran profesor. Desafortunadamente, mata a todos sus > alumnos. > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration > Strategies from IBM. Find simple to follow Roadmaps, straightforward > articles, informative Webcasts and more! Get everything you need to > get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From budi.a.gusandi at ...626... Thu Jun 16 04:24:05 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Thu, 16 Jun 2005 09:24:05 +0700 Subject: [Gambas-user] BOOLEAN PICTURE PROPERTY In-Reply-To: References: <42AFDF96.3030201@...626...> <42AFE16D.6000004@...282...> <42AFE20C.5090903@...415...> <42AFE4DA.8090508@...282...> <42AFE600.80101@...415...> Message-ID: <42B0E2C5.9080704@...415...> Rizky Tahara Shita wrote: >On 6/15/05, BUDI ARIEF GUSANDI wrote: > > >>I'm actaully at works too in my office ;) >>Anyway do you have sample code on how read/write using setting ? a >>simple one >> >> > >do you mean like this one ?? >i used to save mysql settings connections... > > >PUBLIC fl_sett AS Settings > >PUBLIC SUB write_config(host AS String, lgn AS String, pass AS String, >port AS String) >''sub to write config files'' > fl_sett["Host"]=host > fl_sett["User"]=lgn > fl_sett["Pass"]=pass > fl_sett["Port"]=port > fl_sett.Save > read_config >END > >PUBLIC SUB read_config() >''sub to read config files'' > host=fl_sett["Host"] > lgn=fl_sett["User"] > pass=fl_sett["Pass"] > port=fl_sett["Port"] >END > > >hope usefull... > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > Hey, thanks so much rizky, anyway is it possible if some key is removed if i dont use it anylonger ? Regards, Budi From rizky.tahara at ...626... Thu Jun 16 04:36:43 2005 From: rizky.tahara at ...626... (Rizky Tahara Shita) Date: Thu, 16 Jun 2005 09:36:43 +0700 Subject: [Gambas-user] BOOLEAN PICTURE PROPERTY In-Reply-To: <42B0E2C5.9080704@...415...> References: <42AFDF96.3030201@...626...> <42AFE16D.6000004@...282...> <42AFE20C.5090903@...415...> <42AFE4DA.8090508@...282...> <42AFE600.80101@...415...> <42B0E2C5.9080704@...415...> Message-ID: On 6/16/05, BUDI ARIEF GUSANDI wrote: > Rizky Tahara Shita wrote: > > >On 6/15/05, BUDI ARIEF GUSANDI wrote: > > > > > >>I'm actaully at works too in my office ;) > >>Anyway do you have sample code on how read/write using setting ? a > >>simple one > >> > >> > > > >do you mean like this one ?? > >i used to save mysql settings connections... > > > > > >PUBLIC fl_sett AS Settings > > > >PUBLIC SUB write_config(host AS String, lgn AS String, pass AS String, > >port AS String) > >''sub to write config files'' > > fl_sett["Host"]=host > > fl_sett["User"]=lgn > > fl_sett["Pass"]=pass > > fl_sett["Port"]=port > > fl_sett.Save > > read_config > >END > > > >PUBLIC SUB read_config() > >''sub to read config files'' > > host=fl_sett["Host"] > > lgn=fl_sett["User"] > > pass=fl_sett["Pass"] > > port=fl_sett["Port"] > >END > > > > > >hope usefull... > > > > > >------------------------------------------------------- > >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > >from IBM. Find simple to follow Roadmaps, straightforward articles, > >informative Webcasts and more! Get everything you need to get up to > >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > >_______________________________________________ > >Gambas-user mailing list > >Gambas-user at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > Hey, thanks so much rizky, anyway is it possible if some key is removed > if i dont use it anylonger ? what kind of key ? it just an example of 2 subs that i used.. :D you can modified them if you wish... From eilert-sprachen at ...221... Thu Jun 16 10:27:17 2005 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 16 Jun 2005 10:27:17 +0200 Subject: [Gambas-user] Stack Overflow In-Reply-To: <1118873133.25941.10.camel@...37...> References: <1118873133.25941.10.camel@...37...> Message-ID: <42B137E5.2020705@...221...> Hi, PaquitoSoft schrieb: > By the way... I'm working with tableView Controls and I saw that > documentation is uncompleted. Is there any way to set data into it?? > I get the message that is read only... > The TableView has a Data event and a Data property which are called whenever you change the number of Rows or Columns or you call Refresh. You can insert your data from inside this event using the Row and Column properties accordingly. And the colors etc. can be changed from here, too. The only exception are the gray borders with numbers and headers, which can be changed directly. Does this help you? Rolf From eilert-sprachen at ...221... Thu Jun 16 10:39:10 2005 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 16 Jun 2005 10:39:10 +0200 Subject: [Gambas-user] sloooow start Message-ID: <42B13AAE.3060104@...221...> Does anyone here have an explanation for this? My latest project has become rather big by now, and sometimes it starts extremely slowly now. Sometimes I will have to wait 5 minutes (!) or more until the window appears. Once it's started and stopped, it will start within 2 seconds again. But after an hour or so, sometimes (not regularly) it is delayed again. This morning when I started the program for the first time (the executable), it came up after a second or so. I tried some things and decided where to proceed. About 15 minutes later, I started Gambas and opened the project. When I pressed the play button, nothing happened. I pressed Stop, Play again, nothing (sometimes this helped in the past). I started the executive again, and it didn't come up either. Someone came in and we talked for a while, and when I returned to the screen, both processes had appeared, the executive and the Gambas IDE one. So I switched them both off, and they would start within seconds again... Anyone with an idea? Rolf From budi.a.gusandi at ...626... Thu Jun 16 11:30:57 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Thu, 16 Jun 2005 16:30:57 +0700 Subject: [Gambas-user] Stack Overflow In-Reply-To: <42B137E5.2020705@...221...> References: <1118873133.25941.10.camel@...37...> <42B137E5.2020705@...221...> Message-ID: <42B146D1.90108@...415...> Eilert wrote: > Hi, > > PaquitoSoft schrieb: > >> By the way... I'm working with tableView Controls and I saw that >> documentation is uncompleted. Is there any way to set data into it?? >> I get the message that is read only... >> > > The TableView has a Data event and a Data property which are called > whenever you change the number of Rows or Columns or you call Refresh. > You can insert your data from inside this event using the Row and > Column properties accordingly. And the colors etc. can be changed from > here, too. > > The only exception are the gray borders with numbers and headers, > which can be changed directly. > > Does this help you? > > Rolf > Couple weeks ago i also had problem regarding to TableView. you can check the milist archive. I still couldn't figure out until now how to insert data into it without result object. using TData.Data.Text = "something" would fill all the cell with it. What i needed was fill some cell x and some cell y etc. It's hard. So i came up with idea to use gridview, but still lack of cursor higlight ;( now i'm happy using columnview component after i saw KOrganizer application. Go to To do list-->right click the window-->New To Do-->Attendees tab. That's cool for input data style with columnview as data view ;) Regards, Budi From budi.a.gusandi at ...626... Thu Jun 16 11:31:26 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Thu, 16 Jun 2005 16:31:26 +0700 Subject: [Gambas-user] BOOLEAN PICTURE PROPERTY In-Reply-To: References: <42AFDF96.3030201@...626...> <42AFE16D.6000004@...282...> <42AFE20C.5090903@...415...> <42AFE4DA.8090508@...282...> <42AFE600.80101@...415...> <42B0E2C5.9080704@...415...> Message-ID: <42B146EE.7050005@...415...> >what kind of key ? >it just an example of 2 subs that i used.. :D >you can modified them if you wish... > > > I mean how to delete sub which no longer needed to store in the setting file ? thx in advance ;) Budi From jredrejo at ...96... Thu Jun 16 13:28:30 2005 From: jredrejo at ...96... (=?ISO-8859-1?Q?Jos=E9?= L. Redrejo =?ISO-8859-1?Q?Rodr=EDguez?=) Date: Thu, 16 Jun 2005 13:28:30 +0200 Subject: [Gambas-user] Debian packages available for gambas 1.9.9 In-Reply-To: <20050612031956.A280613538@...773...> References: <20050612031956.A280613538@...773...> Message-ID: <1118921310.6439.20.camel@...40...> I have prepared the debian packages for version 1.9.9. They should work correctly in any actual version of Debian (stable, testing or sid) and in any version of Ubuntu. There is a big different with previous versions in the way these packages are done. I have taken profit of the new structure of the source code, and now the packages are compiled individually. To do that, previously I apply this script to the original Gambas sources: ######## #!/bin/sh tar xvjf gambas2-$1.tar.bz2 mv gambas2-$1/gb* . mv gambas2-$1 gambas-$1 for i in $(ls -d gb.*) do x=`echo $i|sed -e "s/\./-/g"` mv $i gambas-$x-$1 done mv gambas-$1/comp gambas-components-$1 mv gambas-$1/app gambas-ide-$1 mkdir gambas-doc-$1 mv gambas-$1/help gambas-doc-$1/ mv gambas-$1/examples gambas-doc-$1/ #########end of the script########## So, I get a different directory for every package, and compile them individually. The script is called in this way: ./makeupgambas version_number so with "makeupgambas 1.9.9" applied in the same directory where Gambas soures are, I get all the needed stuff. After that I have debianized all the packages, and the result is at : http://www.linex.org/sources/linex/debian/dists/cl/gambas/ (there are also previous 1.9.3 packages in that dir) To install them using apt, just follow the instructions written at http://gambas.sourceforge.net/download.html related to Debian. These are preliminary packages. Of course, I am open to any modification. In some weeks, if no modifications are asked, I will upload them to Debian to be part of the official distribution. Regards. From jose.santos at ...429... Thu Jun 16 12:00:02 2005 From: jose.santos at ...429... (Dani Santos) Date: Thu, 16 Jun 2005 12:00:02 +0200 Subject: [Gambas-user] Debian packages available for gambas 1.9.9 In-Reply-To: <1118921310.6439.20.camel@...40...> References: <20050612031956.A280613538@...773...> <1118921310.6439.20.camel@...40...> Message-ID: <1118916002.13554.9.camel@...999...> Hi Redrejo! Thanks! I've just actualized them and it works fine. Regards. El jue, 16-06-2005 a las 13:28 +0200, Jos? L. Redrejo Rodr?guez escribi?: > I have prepared the debian packages for version 1.9.9. > They should work correctly in any actual version of Debian (stable, > testing or sid) and in any version of Ubuntu. > > There is a big different with previous versions in the way these > packages are done. I have taken profit of the new structure of the > source code, and now the packages are compiled individually. > To do that, previously I apply this script to the original Gambas > sources: > ######## > #!/bin/sh > tar xvjf gambas2-$1.tar.bz2 > mv gambas2-$1/gb* . > mv gambas2-$1 gambas-$1 > > for i in $(ls -d gb.*) > do > x=`echo $i|sed -e "s/\./-/g"` > mv $i gambas-$x-$1 > done > > mv gambas-$1/comp gambas-components-$1 > mv gambas-$1/app gambas-ide-$1 > mkdir gambas-doc-$1 > mv gambas-$1/help gambas-doc-$1/ > mv gambas-$1/examples gambas-doc-$1/ > #########end of the script########## > > So, I get a different directory for every package, and compile them > individually. The script is called in this way: ./makeupgambas > version_number > > so with "makeupgambas 1.9.9" applied in the same directory where Gambas > soures are, I get all the needed stuff. > After that I have debianized all the packages, and the result is at : > http://www.linex.org/sources/linex/debian/dists/cl/gambas/ > (there are also previous 1.9.3 packages in that dir) > To install them using apt, just follow the instructions written at > http://gambas.sourceforge.net/download.html related to Debian. > > These are preliminary packages. Of course, I am open to any > modification. In some weeks, if no modifications are asked, I will > upload them to Debian to be part of the official distribution. > > Regards. > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Jos? Daniel Santos Delgado Programador del IESO Quercus (Malpartida de Plasencia) http://iesoquercus.juntaextremadura.net/dani/ Tfno: 927010850 Fax: 927010851 From eilert-sprachen at ...221... Thu Jun 16 12:59:52 2005 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 16 Jun 2005 12:59:52 +0200 Subject: [Gambas-user] Stack Overflow In-Reply-To: <42B146D1.90108@...415...> References: <1118873133.25941.10.camel@...37...> <42B137E5.2020705@...221...> <42B146D1.90108@...415...> Message-ID: <42B15BA8.8080100@...221...> Oops Budi, you misunderstood one thing: > insert data into it without result object. using TData.Data.Text = > "something" would fill all the cell with it. What i needed was fill some > cell x and some cell y etc. It's hard. So i came up with idea to use In the TableView_Data event, there is Row and Column you can use to know which cell is filled "right now". The Data event will be called once for each cell to be filled whenever something changes with the TableView. So the only thing you've got to do is to look for the cell's coordinates: if Row = 3 then if Column = 4 then TableView.Data.Text = "hello" end if end if will insert a "hello" in Line 4, Column 5, and nowhere else. In practise, you will keep all your data in one ore more arrays and have them filled by this event automagically. The only thing you've got to do is to trigger the event by adjusting the number of rows and/or columns or by calling Refresh. Does this become clearer now? Rolf From werda at ...1000... Thu Jun 16 14:27:14 2005 From: werda at ...1000... (Werner) Date: Thu, 16 Jun 2005 20:27:14 +0800 Subject: [Gambas-user] What is Application.Busy? Message-ID: <42B17022.5050300@...1000...> Trying my first steps with Gambas I looked through some examples. In some of them I find the code sequence: INC Application.Busy ... ... ' some code in between ... ... DEC Application.Busy It looks a bit like a semaphore but I could not find anything in the documentation that explains the why and how. Any information highly appreciated. Thanks, Werner From sourceforge-raindog2 at ...94... Thu Jun 16 15:58:12 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 16 Jun 2005 09:58:12 -0400 Subject: [Gambas-user] What is Application.Busy? In-Reply-To: <42B17022.5050300@...1000...> References: <42B17022.5050300@...1000...> Message-ID: <200506160958.12401.sourceforge-raindog2@...94...> On Thursday 16 June 2005 08:27, Werner wrote: > INC Application.Busy > DEC Application.Busy "When this property is greater than zero, the mouse cursor is locked to the busy cursor to show that the application is busy and does not respond to user events." That's all it does.... it changes the mouse cursor. From: http://www.binara.com/gambas-wiki/static/Gambas/GbQtApplicationPBusy.html Rob From eilert-sprachen at ...221... Thu Jun 16 16:29:43 2005 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 16 Jun 2005 16:29:43 +0200 Subject: [Gambas-user] Opposite of Split Message-ID: <42B18CD7.8040506@...221...> Hi, is there an opposite of the Split function? Something like "join" or so that can put together the contents of an array into a string, separated by any separator? Rolf From lordheavy at ...512... Thu Jun 16 16:54:18 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 16 Jun 2005 16:54:18 +0200 Subject: [Gambas-user] Opposite of Split In-Reply-To: <42B18CD7.8040506@...221...> References: <42B18CD7.8040506@...221...> Message-ID: <200506161654.19413.lordheavy@...512...> Le Jeudi 16 Juin 2005 16:29, Eilert a ?crit?: > Hi, > > is there an opposite of the Split function? Something like "join" or so > that can put together the contents of an array into a string, separated > by any separator? > > Rolf > Something like that ? : PUBLIC SUB Main() DIM myarray AS NEW Variant[] DIM myvar AS Variant DIM mystr AS String myarray.Push(12) myarray.Push("a string") myarray.Push(Now) FOR EACH myvar IN myarray mystr = mystr & CStr(myvar) & " " NEXT PRINT mystr END -- Laurent Carlier jabber : LordHeavy at ...943... From eilert-sprachen at ...221... Thu Jun 16 17:09:44 2005 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 16 Jun 2005 17:09:44 +0200 Subject: [Gambas-user] Opposite of Split In-Reply-To: <200506161654.19413.lordheavy@...512...> References: <42B18CD7.8040506@...221...> <200506161654.19413.lordheavy@...512...> Message-ID: <42B19638.8020109@...221...> Laurent Carlier schrieb: > Le Jeudi 16 Juin 2005 16:29, Eilert a ?crit : > >>Hi, >> >>is there an opposite of the Split function? Something like "join" or so >>that can put together the contents of an array into a string, separated >>by any separator? >> >>Rolf >> > > > Something like that ? : > > PUBLIC SUB Main() > > DIM myarray AS NEW Variant[] > DIM myvar AS Variant > DIM mystr AS String > > myarray.Push(12) > myarray.Push("a string") > myarray.Push(Now) > > FOR EACH myvar IN myarray > mystr = mystr & CStr(myvar) & " " > NEXT > > PRINT mystr > > END > Hi Laurent, yes, this is it: FOR EACH myvar IN myarray mystr = mystr & CStr(myvar) & " " NEXT I forgot the FOR EACH thing does exist. That makes it somewhat easier. What I really meant was mystr = Join(myarray, " ") But then, the CStr() would be missing, mystr and myarray would have to be of the same type (String) or the conversion would have to be implicit. Rolf From lordheavy at ...512... Thu Jun 16 17:20:18 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 16 Jun 2005 17:20:18 +0200 Subject: [Gambas-user] Opposite of Split In-Reply-To: <42B18CD7.8040506@...221...> References: <42B18CD7.8040506@...221...> Message-ID: <200506161720.25321.lordheavy@...512...> Le Jeudi 16 Juin 2005 16:29, Eilert a ?crit?: > Hi, > > is there an opposite of the Split function? Something like "join" or so > that can put together the contents of an array into a string, separated > by any separator? > > Rolf Here it's better :) : PUBLIC SUB Main() DIM myarray AS NEW Variant[] myarray.Push(12) myarray.Push("a string") myarray.Push(Now) PRINT join(myarray, ",") END PUBLIC FUNCTION join(tArray AS Variant[], OPTIONAL separator AS String = " ") AS String DIM myvar AS Variant DIM mystr AS String FOR EACH myvar IN tArray mystr = mystr & CStr(myvar) & separator NEXT RETURN Left$(mystr, -1) END => 12,a string,06/16/2005 17:18:14 -- Laurent Carlier jabber : LordHeavy at ...943... From sourceforge-raindog2 at ...94... Thu Jun 16 17:33:14 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 16 Jun 2005 11:33:14 -0400 Subject: [Gambas-user] Opposite of Split In-Reply-To: <42B18CD7.8040506@...221...> References: <42B18CD7.8040506@...221...> Message-ID: <200506161133.14124.sourceforge-raindog2@...94...> On Thursday 16 June 2005 10:29, Eilert wrote: > is there an opposite of the Split function? Something like "join" > or so that can put together the contents of an array into a string, > separated by any separator? Yes, there is a Join(), but it's a method of the array class, not a function per se. dim x as string dim a as string[] x = "a,b,c,d,e" a = split(x, ",") print a.join("/") Output should be: a/b/c/d/e http://www.binara.com/gambas-wiki/static/Gambas/GbStringArrayMJoin.html Rob From eilert-sprachen at ...221... Thu Jun 16 17:51:10 2005 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 16 Jun 2005 17:51:10 +0200 Subject: [Gambas-user] Opposite of Split In-Reply-To: <200506161720.25321.lordheavy@...512...> References: <42B18CD7.8040506@...221...> <200506161720.25321.lordheavy@...512...> Message-ID: <42B19FEE.10801@...221...> Hi Laurent, just look at the mail from Rob, he's pointed me to the function I was looking for. There is really a ready-made thing, so we won't need to program one for ourselves :-) Rolf Laurent Carlier schrieb: > Le Jeudi 16 Juin 2005 16:29, Eilert a ?crit : > >>Hi, >> >>is there an opposite of the Split function? Something like "join" or so >>that can put together the contents of an array into a string, separated >>by any separator? >> >>Rolf > > > Here it's better :) : > > PUBLIC SUB Main() > > DIM myarray AS NEW Variant[] > > myarray.Push(12) > myarray.Push("a string") > myarray.Push(Now) > > PRINT join(myarray, ",") > > END > > PUBLIC FUNCTION join(tArray AS Variant[], OPTIONAL separator AS String = " ") > AS String > > DIM myvar AS Variant > DIM mystr AS String > > FOR EACH myvar IN tArray > mystr = mystr & CStr(myvar) & separator > NEXT > > RETURN Left$(mystr, -1) > > END > > => 12,a string,06/16/2005 17:18:14 > From eilert-sprachen at ...221... Thu Jun 16 17:50:05 2005 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 16 Jun 2005 17:50:05 +0200 Subject: [Gambas-user] Opposite of Split In-Reply-To: <200506161133.14124.sourceforge-raindog2@...94...> References: <42B18CD7.8040506@...221...> <200506161133.14124.sourceforge-raindog2@...94...> Message-ID: <42B19FAD.4030607@...221...> Aaah - that's why I remembered to have seen something like that before :-) Rob schrieb: > On Thursday 16 June 2005 10:29, Eilert wrote: > >>is there an opposite of the Split function? Something like "join" >>or so that can put together the contents of an array into a string, >>separated by any separator? > > > Yes, there is a Join(), but it's a method of the array class, not a > function per se. > > dim x as string > dim a as string[] > > x = "a,b,c,d,e" > a = split(x, ",") > print a.join("/") > > Output should be: > a/b/c/d/e So it should be possible to do x = a.join("/") Yes, I tried it, it runs just the way I imagined. Thanks Rolf From oczykota at ...988... Thu Jun 16 20:35:50 2005 From: oczykota at ...988... (Arkadiusz Zychewicz) Date: Thu, 16 Jun 2005 20:35:50 +0200 Subject: [Gambas-user] display database in gridview Message-ID: <42B1C686.5060203@...988...> How display some database in gridview? i try some like that: i = 0 j = 0 FOR i TO 6 STEP 1 FOR j TO 2 STEP 1 gv1[j,i].Text = rData.Fields[i,j] END END but obviously it don't work. How do it? From gambasfr at ...11... Thu Jun 16 21:25:35 2005 From: gambasfr at ...11... (fabien) Date: Thu, 16 Jun 2005 21:25:35 +0200 Subject: [Gambas-user] display database in gridview In-Reply-To: <42B1C686.5060203@...988...> References: <42B1C686.5060203@...988...> Message-ID: <200506162125.35920.gambasfr@...11...> just look at : http://www.gambasforge.net/code.php?id=31 i hope it help you :) Fabien Bodard > How display some database in gridview? > > i try some like that: > > i = 0 > j = 0 > FOR i TO 6 STEP 1 > FOR j TO 2 STEP 1 > gv1[j,i].Text = rData.Fields[i,j] > END > END > > but obviously it don't work. > How do it? > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From oczykota at ...988... Thu Jun 16 22:51:58 2005 From: oczykota at ...988... (Arkadiusz Zychewicz) Date: Thu, 16 Jun 2005 22:51:58 +0200 Subject: [Gambas-user] display database in gridview In-Reply-To: <200506162125.35920.gambasfr@...11...> References: <42B1C686.5060203@...988...> <200506162125.35920.gambasfr@...11...> Message-ID: <42B1E66E.5020209@...988...> fabien napisa?(a): > > just look at : http://www.gambasforge.net/code.php?id=31 > I looked on that, but maybe i don't good explain. I heave a problem with get information form table e.g. DIM rData AS Result DIM c AS Connection rDate = c.Create("Produkty") and i don't know how read value form cell in 3 row end 4 column. i try some like that: Label1.Text = c!id but i have an error: result not available From gambasfr at ...11... Thu Jun 16 23:12:06 2005 From: gambasfr at ...11... (fabien) Date: Thu, 16 Jun 2005 23:12:06 +0200 Subject: [Gambas-user] display database in gridview In-Reply-To: <42B1E66E.5020209@...988...> References: <42B1C686.5060203@...988...> <200506162125.35920.gambasfr@...11...> <42B1E66E.5020209@...988...> Message-ID: <200506162312.06338.gambasfr@...11...> Le Jeudi 16 Juin 2005 22:51, Arkadiusz Zychewicz a ?crit?: send me your code > fabien napisa?(a): > > just look at : http://www.gambasforge.net/code.php?id=31 > > I looked on that, but maybe i don't good explain. > I heave a problem with get information form table e.g. > > DIM rData AS Result > DIM c AS Connection > rDate = c.Create("Produkty") > > and i don't know how read value form cell in 3 row end 4 column. > > i try some like that: > > Label1.Text = c!id > > but i have an error: > result not available > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From lordheavy at ...512... Fri Jun 17 00:19:00 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Fri, 17 Jun 2005 00:19:00 +0200 Subject: [Gambas-user] Use gambas make more easy to do the punishes Message-ID: <200506170019.00746.lordheavy@...512...> A nice idea from fabien bodard and i original found here : http://aquanum.free.fr/mesimages/nice_try.png -- Laurent Carlier jabber : LordHeavy at ...943... -------------- next part -------------- A non-text attachment was scrubbed... Name: nice_try-en.png Type: image/png Size: 30959 bytes Desc: not available URL: From oczykota at ...988... Fri Jun 17 01:09:51 2005 From: oczykota at ...988... (Arkadiusz Zychewicz) Date: Fri, 17 Jun 2005 01:09:51 +0200 Subject: [Gambas-user] display database in gridview In-Reply-To: <200506162312.06338.gambasfr@...11...> References: <42B1C686.5060203@...988...> <200506162125.35920.gambasfr@...11...> <42B1E66E.5020209@...988...> <200506162312.06338.gambasfr@...11...> Message-ID: <42B206BF.1070305@...988...> fabien napisa?(a): > Le Jeudi 16 Juin 2005 22:51, Arkadiusz Zychewicz a ?crit : > > send me your code Ok. As you wish: SUB pokazBaze() DIM rData AS Result DIM r AS Integer DIM c AS Integer FMain.$dbPr.Open IF FMain.$dbPr.Tables.Exist("Produkty") THEN Label6.Text = "JEST" rData = FMain.$dbPr.Create("Produkty") gv1.Columns.Count = 7 gv1.Rows.Count = 10 rData.MoveFirst FOR r = 0 TO 3 STEP 1 FOR c = 0 TO 1 STEP 1 gv1[r,c].Text = rData!id 'i try also : 'gv1[r,c].Text = Str(rData["id"]) 'and it's same effect rData.MoveNext NEXT NEXT FOR EACH rData PRINT rData!id; " "; rData!vat NEXT FMain.$dbPr.Close END in Label6 is shows a text JEST so tables exist. I ask for something different. I also want to fill base but i have problem with auto increment column, because i don't known how to fill it? i try rDate["id"] = rData.Count or rDate["id"] = rData.Count + 1 And i don't known how make this column auto increment that it increment by self. (base which i use is sqlite) Arek. From nelsonbrad at ...67... Fri Jun 17 02:51:16 2005 From: nelsonbrad at ...67... (Brad Nelson) Date: Thu, 16 Jun 2005 17:51:16 -0700 Subject: [Gambas-user] Capturing & Modifying Incoming Key Values In-Reply-To: <42B206BF.1070305@...988...> Message-ID: Maybe my last post was a bit confusing. Let me try again. Here's my dilemma ... I'm a VB programmer (although hopefully I won't be able to say that for much longer) and in VB on KeyPress events it passes the key pressed as a variable that you could read & write. However, in Gambas, we read the value of the pressed key through the Key object. However, Key.Code is read-only. How can I change the value of Key.Code before it hits the object? Once I get this program working I can start translating Gambas into Vietnamese! Thanks guys, Brad _________________________________________________________________ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement From sourceforge-raindog2 at ...94... Fri Jun 17 06:30:16 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 17 Jun 2005 00:30:16 -0400 Subject: [Gambas-user] Capturing & Modifying Incoming Key Values In-Reply-To: References: Message-ID: <200506170030.17447.sourceforge-raindog2@...94...> On Thursday 16 June 2005 20:51, Brad Nelson wrote: > & write. However, in Gambas, we read the value of the pressed key > through the Key object. However, Key.Code is read-only. How can I > change the value of Key.Code before it hits the object? I don't think there's any way to do exactly that presently. But at one time you couldn't even cancel the event, and now you can do so with STOP EVENT. Until such time as the Key object has read-write properties, if ever, I think you could probably do what you want to do by inserting the desired key value into the control and then doing STOP EVENT... that's how I've done things like forcing input to be all-caps in a COBOL editor, for example. Rob From kchularrit at ...734... Fri Jun 17 08:11:53 2005 From: kchularrit at ...734... (Kchula-Rrit) Date: Thu, 16 Jun 2005 23:11:53 -0700 Subject: [Gambas-user] Debian packages available for gambas 1.9.9 In-Reply-To: <1118921310.6439.20.camel@...40...> References: <20050612031956.A280613538@...773...> <1118921310.6439.20.camel@...40...> Message-ID: <200506162311.53332.kchularrit@...734...> On Thursday June 16 2005 4:28 am, Jos? L. Redrejo Rodr?guez wrote: > I have prepared the debian packages for version 1.9.9. > They should work correctly in any actual version of Debian (stable, > testing or sid) and in any version of Ubuntu. I just found these with "synaptic" under Debian. Thank you! I've been having some trouble compiling these. Kchula-Rrit From budi.a.gusandi at ...626... Fri Jun 17 08:32:33 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Fri, 17 Jun 2005 13:32:33 +0700 Subject: [Gambas-user] GAMBAS PACKAGE In-Reply-To: <200506162311.53332.kchularrit@...734...> References: <20050612031956.A280613538@...773...> <1118921310.6439.20.camel@...40...> <200506162311.53332.kchularrit@...734...> Message-ID: <42B26E81.8090006@...626...> Dear All, When i create installation package from gambas, are all gambas component included there too ? How to make my app. created in gambas clickable to run (like i put on desktop and double click it will launch the app.) Regards, Budi From rizky.tahara at ...626... Fri Jun 17 08:42:44 2005 From: rizky.tahara at ...626... (Rizky Tahara Shita) Date: Fri, 17 Jun 2005 13:42:44 +0700 Subject: [Gambas-user] BOOLEAN PICTURE PROPERTY In-Reply-To: <42B146EE.7050005@...415...> References: <42AFDF96.3030201@...626...> <42AFE16D.6000004@...282...> <42AFE20C.5090903@...415...> <42AFE4DA.8090508@...282...> <42AFE600.80101@...415...> <42B0E2C5.9080704@...415...> <42B146EE.7050005@...415...> Message-ID: On 6/16/05, BUDI ARIEF GUSANDI wrote: > > >what kind of key ? > >it just an example of 2 subs that i used.. :D > >you can modified them if you wish... > > > > > > > > I mean how to delete sub which no longer needed to store in the setting > file ? thx in advance ;) make a value as blank ?? :P ask benoit if you want to have a delete method for settings... From eilert-sprachen at ...221... Fri Jun 17 11:40:58 2005 From: eilert-sprachen at ...221... (Eilert) Date: Fri, 17 Jun 2005 11:40:58 +0200 Subject: [Gambas-user] Word wrap in TableView cell? Message-ID: <42B29AAA.5030603@...221...> The Re: says it all: is it possible to set a TableView cell or the whole TabelView to an automatic word wrap? Rolf From oczykota at ...988... Fri Jun 17 15:35:33 2005 From: oczykota at ...988... (Arkadiusz Zychewicz) Date: Fri, 17 Jun 2005 15:35:33 +0200 Subject: [Gambas-user] display database in gridview In-Reply-To: <42B206BF.1070305@...988...> References: <42B1C686.5060203@...988...> <200506162125.35920.gambasfr@...11...> <42B1E66E.5020209@...988...> <200506162312.06338.gambasfr@...11...> <42B206BF.1070305@...988...> Message-ID: <42B2D1A5.2050403@...988...> Arkadiusz Zychewicz napisa?(a): > rData = FMain.$dbPr.Create("Produkty") In this line i make FMain.$dbPr.Exec("select * from Produkty") and it's ok. But how fill field with primary key? Arek. From sourceforge-raindog2 at ...94... Fri Jun 17 16:44:04 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 17 Jun 2005 10:44:04 -0400 Subject: [Gambas-user] GAMBAS PACKAGE In-Reply-To: <42B26E81.8090006@...626...> References: <20050612031956.A280613538@...773...> <200506162311.53332.kchularrit@...734...> <42B26E81.8090006@...626...> Message-ID: <200506171044.04198.sourceforge-raindog2@...94...> On Friday 17 June 2005 02:32, BUDI ARIEF GUSANDI wrote: > When i create installation package from gambas, are all gambas > component included there too ? No, they become dependencies of the package. On any modern Linux distribution the package manager will automatically install them (assuming that gambas is available from the distro's package repositories) when you attempt to install a Gambas application's package. > How to make my app. created in gambas clickable to run (like i put > on desktop and double click it will launch the app.) It varies by distribution. On Mandrake (and I think debian-based distros and some others) you need to include a file called /usr/lib/menu/(name of package) that looks like this (here's the one for fakebas:) ?package(fakebas):command="/usr/bin/fakebas" icon="fakebas.png" needs="X11" section="More Applications/Development/Development environments" title="Fakebas" longtitle="Unsupported MDI Development Environment for Gambas" startup_notify="true" "Section" is the section of the menu in which it should appear. "startup_notify" indicates that the window manager should provide visual feedback while it's starting, the way KDE puts a fake entry in its taskbar until the program starts up. I think the rest should be pretty self-explanatory, but if not, let me know ;) If you install the above file in /usr/lib/menu under Mandrake or debian, and have your package run "update-menus" in the %post script, shortcut files and menu entries for all the major window managers will be generated. At one time, I was auto-generating this file in the Gambas RPM generator. It looks like Benoit still has the code to do this as of 1.0.4... don't have a copy of the newest Gambas IDE source where I'm sitting now, but I do know package generation is broken in 1.9.x. Rob From supersonik at ...626... Fri Jun 17 22:47:44 2005 From: supersonik at ...626... (=?ISO-8859-1?Q?Rafael_de_Jaime_Juli=E1?=) Date: Fri, 17 Jun 2005 22:47:44 +0200 Subject: [Gambas-user] Gambas doesn't run on PPC Message-ID: <3810764a05061713477744a9ec@...627...> Hi, I'm new to the list. I compiled Gambas2 1.9.9 on Kubuntu/PPC 5.04 and when i try to run it, it segfaults. ===== root at ...1003...:~/Desktop/gambas2-1.9.9/app/src/gambas2# ./gambas2.gambas ** WARNING: CPU is big endian Violaci?n de segmento (core dumped) root at ...1003...:~/Desktop/gambas2-1.9.9/app/src/gambas2# ls core core root at ...1003...:~/Desktop/gambas2-1.9.9/app/src/gambas2# nano core root at ...1003...:~/Desktop/gambas2-1.9.9/app/src/gambas2# gdb GNU gdb 6.3-debian Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-linux". (gdb) core-file core Using host libthread_db library "/lib/libthread_db.so.1". Core was generated by `/usr/bin/gbx2 -x ./gambas2.gambas'. Program terminated with signal 11, Segmentation fault. #0 0x10023a04 in ?? () (gdb) bt #0 0x10023a04 in ?? () #1 0x10023e30 in ?? () Previous frame identical to this frame (corrupt stack?) ===== I'm using Ubuntu 5.04 on a PPC, an eMac 700, 640Mb RAM, 40 Gb internal IDE disk, kernel 2.6.10, X.org, KDE 3.4, Gnome 2.10. Any clues? From m_isaac at ...689... Sat Jun 18 03:27:33 2005 From: m_isaac at ...689... (Michael Isaac) Date: Fri, 17 Jun 2005 18:27:33 -0700 Subject: [Gambas-user] Opposite of Split In-Reply-To: <200506161654.19413.lordheavy@...512...> References: <42B18CD7.8040506@...221...> <200506161654.19413.lordheavy@...512...> Message-ID: <42B37885.8090406@...689...> Benoit wasnt going to add a join function but I needed one for an IRC client I am writing. It needed to part of the array class cause I found it rather difficult to write one in Gambas that would please all data types at once. Look like I wasnt the only one who needed such a thing. :) -- Michael From gambasfr at ...11... Sat Jun 18 12:46:58 2005 From: gambasfr at ...11... (fabien) Date: Sat, 18 Jun 2005 12:46:58 +0200 Subject: [Gambas-user] Opposite of Split In-Reply-To: <42B37885.8090406@...689...> References: <42B18CD7.8040506@...221...> <200506161654.19413.lordheavy@...512...> <42B37885.8090406@...689...> Message-ID: <200506181246.58455.gambasfr@...11...> Le Samedi 18 Juin 2005 03:27, Michael Isaac a ?crit?: > Benoit wasnt going to add a join function but I needed one for an IRC > client I am writing. It needed to part of the array class cause I found > it rather difficult to write one in Gambas that would please all data > types at once. Look like I wasnt the only one who needed such a thing. > > :) > I really not understand what is your problem ! have you an exemple ? i've already writed a gambas irc client... and some other people too. don't forget the Variant[] array ! gambas is a typed language ...don't forget this :) fabien > -- > Michael > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bernieman at ...977... Sat Jun 18 18:46:38 2005 From: bernieman at ...977... (BernieMan) Date: Sat, 18 Jun 2005 18:46:38 +0200 Subject: [Gambas-user] Problem with sudo make install Message-ID: <42B44FEE.2080507@...977...> Hi All, System: Debian, Gambas 1.0.6, When I try to run the sudo make install command I get this message: #################################################################### [/daten/installed/gambas/gambas-1.0.6]$ sudo make install Making install in libltdl make[1]: Entering directory `/daten/installed/gambas/gambas-1.0.6/libltdl' make[2]: Entering directory `/daten/installed/gambas/gambas-1.0.6/libltdl' /bin/sh ./[.]/mkinstalldirs /opt/gambas/lib /bin/sh: ./[.]/mkinstalldirs: Datei oder Verzeichnis nicht gefunden make[2]: *** [install-libLTLIBRARIES] Fehler 127 make[2]: Leaving directory `/daten/installed/gambas/gambas-1.0.6/libltdl' make[1]: *** [install-am] Fehler 2 make[1]: Leaving directory `/daten/installed/gambas/gambas-1.0.6/libltdl' make: *** [install-recursive] Fehler 1 #################################################################### Any suggestions appreciated thx bm From lordheavy at ...512... Sat Jun 18 22:04:50 2005 From: lordheavy at ...512... (lordheavy) Date: Sat, 18 Jun 2005 22:04:50 +0200 Subject: [Gambas-user] Problem with sudo make install In-Reply-To: <42B44FEE.2080507@...977...> References: <42B44FEE.2080507@...977...> Message-ID: <42B47E62.6050208@...512...> BernieMan a ?crit : >#################################################################### >[/daten/installed/gambas/gambas-1.0.6]$ sudo make install >Making install in libltdl >make[1]: Entering directory `/daten/installed/gambas/gambas-1.0.6/libltdl' >make[2]: Entering directory `/daten/installed/gambas/gambas-1.0.6/libltdl' >/bin/sh ./[.]/mkinstalldirs /opt/gambas/lib >/bin/sh: ./[.]/mkinstalldirs: Datei oder Verzeichnis nicht gefunden >make[2]: *** [install-libLTLIBRARIES] Fehler 127 >make[2]: Leaving directory `/daten/installed/gambas/gambas-1.0.6/libltdl' >make[1]: *** [install-am] Fehler 2 >make[1]: Leaving directory `/daten/installed/gambas/gambas-1.0.6/libltdl' >make: *** [install-recursive] Fehler 1 >#################################################################### > > And with export LANG="C" before making install ? :) Regards, From gambasfr at ...11... Sun Jun 19 09:58:02 2005 From: gambasfr at ...11... (fabien) Date: Sun, 19 Jun 2005 09:58:02 +0200 Subject: [Gambas-user] IRC Client - attn: Fabian In-Reply-To: <3D536B8A.4070809@...689...> References: <42B18CD7.8040506@...221...> <200506181246.58455.gambasfr@...11...> <3D536B8A.4070809@...689...> Message-ID: <200506190958.02348.gambasfr@...11...> Le Vendredi 09 Ao?t 2002 09:13, Michael Isaac a ?crit?: > I dont remember at the time what the trouble i was having was, but my > project is GIRC on gambas forge. Since its been a while since Ive > worked on it all I can remember was that I needed join() to be a member > of array. So I requested it. I plan to resume work on GIRC soon and > release an updated version so I'll shoot you an email if I have any > trouble. > > -- > Michael (aka l0wrd) i've writed the gbirc :) > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambasfr at ...11... Sun Jun 19 10:27:14 2005 From: gambasfr at ...11... (fabien) Date: Sun, 19 Jun 2005 10:27:14 +0200 Subject: [Gambas-user] where is my error ? Message-ID: <200506191027.15009.gambasfr@...11...> DIM da AS Date da = vb.DateAdd("s", 1119169186,CDate("01/01/1970 00:00:00")) PRINT Format(da, "dd/mm/yyy hh:nn:ss") it return : 10.12.1969 23:12:01 is there a bug ? Fabien Bodard From na2492 at ...9... Sun Jun 19 13:15:09 2005 From: na2492 at ...9... (Charlie Reinl) Date: Sun, 19 Jun 2005 13:15:09 00200 Subject: [Gambas-user] where is my error ? Message-ID: <42b553bd.1e90.0@...9...> >DIM da AS Date > > da = vb.DateAdd("s", 1119169186,CDate("01/01/1970 00:00:00")) > PRINT Format(da, "dd/mm/yyy hh:nn:ss") > >it return : > >10.12.1969 23:12:01 > >is there a bug ? > >Fabien Bodard > Salut Fabien, what should be wrong, the 3y in Format ? Yes they give a 4 digis year. The DateAdd ?? I tryed : da = vb.DateAdd("s", 60,CDate("01/01/1970 00:00:00")) PRINT Format(da, "dd/mm/yyyy hh:nn:ss") = 01/01/1970 00:01:00 (one minute) da = vb.DateAdd("s", 3600,CDate("01/01/1970 00:00:00")) PRINT Format(da, "dd/mm/yy hh:nn:ss") = 01/01/70 01:00:00 (one houre) now if DateAdd workes well with 1119169186 I do not know Amicament Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From bernieman.tux at ...626... Sun Jun 19 15:13:16 2005 From: bernieman.tux at ...626... (BernieMan) Date: Sun, 19 Jun 2005 15:13:16 +0200 Subject: [Gambas-user] Problem with sudo make install In-Reply-To: <42B47E62.6050208@...512...> References: <42B44FEE.2080507@...977...> <42B47E62.6050208@...512...> Message-ID: <42B56F6C.30909@...626...> lordheavy schrieb: > BernieMan a ?crit : > > >>#################################################################### >>[/daten/installed/gambas/gambas-1.0.6]$ sudo make install >>Making install in libltdl >>make[1]: Entering directory `/daten/installed/gambas/gambas-1.0.6/libltdl' >>make[2]: Entering directory `/daten/installed/gambas/gambas-1.0.6/libltdl' >>/bin/sh ./[.]/mkinstalldirs /opt/gambas/lib >>/bin/sh: ./[.]/mkinstalldirs: Datei oder Verzeichnis nicht gefunden >>make[2]: *** [install-libLTLIBRARIES] Fehler 127 >>make[2]: Leaving directory `/daten/installed/gambas/gambas-1.0.6/libltdl' >>make[1]: *** [install-am] Fehler 2 >>make[1]: Leaving directory `/daten/installed/gambas/gambas-1.0.6/libltdl' >>make: *** [install-recursive] Fehler 1 >>#################################################################### >> >> > > And with export LANG="C" before making install ? :) > > Regards, Thx lordheavy, I tried it, but i got the same error as before. Any ideas out there ? tia bm From phiber at ...618... Sun Jun 19 17:27:05 2005 From: phiber at ...618... (phiber) Date: Sun, 19 Jun 2005 17:27:05 +0200 Subject: [Gambas-user] Problem with sudo make install In-Reply-To: <42B56F6C.30909@...626...> References: <42B44FEE.2080507@...977...> <42B47E62.6050208@...512...> <42B56F6C.30909@...626...> Message-ID: <1119194825.413.3.camel@...619...> He's saying that because he probably doesn't understand german. On Sun, 2005-06-19 at 15:13 +0200, BernieMan wrote: > lordheavy schrieb: > > BernieMan a ?crit : > > > > > >>#################################################################### > >>[/daten/installed/gambas/gambas-1.0.6]$ sudo make install > >>Making install in libltdl > >>make[1]: Entering directory `/daten/installed/gambas/gambas-1.0.6/libltdl' > >>make[2]: Entering directory `/daten/installed/gambas/gambas-1.0.6/libltdl' > >>/bin/sh ./[.]/mkinstalldirs /opt/gambas/lib > >>/bin/sh: ./[.]/mkinstalldirs: Datei oder Verzeichnis nicht gefunden > >>make[2]: *** [install-libLTLIBRARIES] Fehler 127 > >>make[2]: Leaving directory `/daten/installed/gambas/gambas-1.0.6/libltdl' > >>make[1]: *** [install-am] Fehler 2 > >>make[1]: Leaving directory `/daten/installed/gambas/gambas-1.0.6/libltdl' > >>make: *** [install-recursive] Fehler 1 > >>#################################################################### > >> > >> > > > > And with export LANG="C" before making install ? :) > > > > Regards, > > Thx lordheavy, I tried it, but i got the same error as before. Any ideas > out there ? > > tia > bm > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From Lamego at ...1007... Sun Jun 19 18:04:45 2005 From: Lamego at ...1007... (=?ISO-8859-1?Q?Jo=E3o_Pinto?=) Date: Sun, 19 Jun 2005 17:04:45 +0100 Subject: [Gambas-user] Problem with 1.9.9 Message-ID: <42B5979D.60205@...1007...> Hello, I am trying Gambas 1.9.9 on ubuntu (compiling from the source). After installing the required libs the compilation and instalation was succesfull. However when I try to launch gambas I get the following error: lamego at ...1008...:~$ gambas2 ERROR: #2: Cannot load class 'Project': Unable to load class file lamego at ...1008...:~$ gambas2.gambas ERROR: #2: Cannot load class 'Project': Unable to load class file lamego at ...1008...:~$ Any ideas ? Thanks -- Jo?o Lu?s Marques Pinto PTlink IRC Network http://www.pt-link.net PTlink IRC Software http://software.pt-link.net From rospolosco at ...152... Sun Jun 19 19:01:13 2005 From: rospolosco at ...152... (rospolosco at ...152...) Date: Sun, 19 Jun 2005 19:01:13 +0200 Subject: [Gambas-user] about string manipulating and replace$() Message-ID: <200506191901.13607.rospolosco@...152...> Hi. Firtst of all I want to thank Benoit for his fantastic software: gambas is absolutely *** G R E A T !!!***. I'm working on a program. In this program I have to compare millions of string, one compared to another one, to know how many chars of string1 are equal and in the same position in string2. Example: string1 = "1234567" string2 = "0004007" Result = 2. In fact "4" and "7" are equal and in the same position. At this moment, I do the job using a FOR and Mid$(), but the process take a very long time when you have to compare thousands or million of strings. I think we should reduce the time for processes like this one, if gambas had natively a function for that purpose ( Please, Benoit....) Example: Result = The_Function$("1234567", "0004007") > 2 Please, somebody has a suggestion to speed up the process? Request for Benoit: Is possible to implement in Replace$() the model in square brackets as in the LIKE operator? I mean: Replace$("Gambas me gusta muchissimo", [^a-a],"") > aaa Thanks. From gambasfr at ...11... Sun Jun 19 21:02:50 2005 From: gambasfr at ...11... (fabien) Date: Sun, 19 Jun 2005 21:02:50 +0200 Subject: [Gambas-user] about string manipulating and replace$() In-Reply-To: <200506191901.13607.rospolosco@...152...> References: <200506191901.13607.rospolosco@...152...> Message-ID: <200506192102.50950.gambasfr@...11...> Le Dimanche 19 Juin 2005 19:01, rospolosco at ...152... a ?crit?: > Hi. > > Firtst of all I want to thank Benoit for his fantastic software: gambas is > absolutely *** G R E A T !!!***. > > I'm working on a program. In this program I have to compare millions of > string, one compared to another one, to know how many chars of string1 > are equal and in the same position in string2. Example: > > string1 = "1234567" > string2 = "0004007" > > Result = 2. In fact "4" and "7" are equal and in the same position. > > At this moment, I do the job using a FOR and Mid$(), but the process > take a very long time when you have to compare thousands or million of > strings. > > I think we should reduce the time for processes like this one, if gambas > had natively a function for that purpose ( Please, Benoit....) Example: > > Result = The_Function$("1234567", "0004007") > > > 2 > > Please, somebody has a suggestion to speed up the process? > > Request for Benoit: > > Is possible to implement in Replace$() the model in square brackets > as in the LIKE operator? > > I mean: > > Replace$("Gambas me gusta muchissimo", [^a-a],"") I think you are talking about a tool like regular expression ? in php : ereg_replace mabe rob can add this to the pcre componant ? Fabien > > > aaa > > Thanks. > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From budi.a.gusandi at ...626... Mon Jun 20 05:48:12 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Mon, 20 Jun 2005 10:48:12 +0700 Subject: [Gambas-user] SPLIT STRING Message-ID: <42B63C7C.5010500@...415...> Dear All, Split function can only handel one character as the separator ? On my Mandrake 10.1 using gambas 1.0.6, i only get the first array, the rest is blank.. Dim sSplit as string[] sSplit = Split("HelloneyHowsneyThere","ney") Print sSplit[0] : Return "Hello" Print sSplit[1] : Return Blank... Anyone can help pls ? Budi From oreip at ...1... Mon Jun 20 13:05:53 2005 From: oreip at ...1... (PV) Date: Mon, 20 Jun 2005 13:05:53 +0200 Subject: [Gambas-user] Again on splitting Message-ID: <42B6A311.5040103@...1...> Hi All, from the help text about split: "Escape characters can be specified: any separator characters enclosed between two escape characters are ignored in the splitting process". So, if I understand correctly the meaning of the escape characters, one separator enclosed between two escape characters is ignored, that is it's not seen as a separator but instead as a "regular" character, right? But then, again if I understood well, there's something wrong with how split works with the escape characters, because if I do something like DIM s AS String[] DIM s1 AS String s = NEW String[](2) s1 = "ax xb" s = Split(s1, " ", "x") print s[0] print s[1] I would expect that split shouldn't split at all because the " " separator character, enclosed between two "x" escape characters, should be ignored as a separator and split return the entire string since it shouldn't detect any separator. The above code instead returns "ax" as s[0] and "b" as s[1] so either there's a bug in the split code or I don't understand correctly the meaning of the separator characters :-) Regards, Piero From kazutaka at ...1010... Mon Jun 20 15:33:19 2005 From: kazutaka at ...1010... (Harada kazutaka) Date: Mon, 20 Jun 2005 22:33:19 +0900 Subject: [Gambas-user] text selection problem with gb.gtk Message-ID: <20050620223319.2b349966.kazutaka@...1010...> Hi all, With Gambas 1.9.9 and gt.gtk component, I coudn't setect Text in Textbox with mouse cursor. Shift + Arrow key works fine, and word selection with double clicking works fine too. If I choose gb.qt component, then every thing works fine. Is there any properties I shoud set? or bug of gb.gtk? Regards. -------------------------------------- Kazutaka HARADA e-mail:kazutaka at ...1010... -------------------------------------- From oreip at ...1... Mon Jun 20 17:48:00 2005 From: oreip at ...1... (PV) Date: Mon, 20 Jun 2005 17:48:00 +0200 Subject: [Gambas-user] Re: Again on splitting In-Reply-To: <42B6A311.5040103@...1...> References: <42B6A311.5040103@...1...> Message-ID: <42B6E530.1070806@...1...> Ok, I think I got it by looking at the split source code ;-) However I believe the help text should sound like: "any separator characters contained in a string delimited by two escape characters are ignored in the splitting process". Regards, Piero --- On 20/06/2005 13:05, PV wrote: > Hi All, > > from the help text about split: "Escape characters can be specified: any > separator characters enclosed between two escape characters are ignored > in the > splitting process". > > So, if I understand correctly the meaning of the escape characters, one > separator enclosed between two escape characters is ignored, that is > it's not > seen as a separator but instead as a "regular" character, right? > > But then, again if I understood well, there's something wrong with how > split > works with the escape characters, because if I do something like > > DIM s AS String[] > DIM s1 AS String > > s = NEW String[](2) > > s1 = "ax xb" > s = Split(s1, " ", "x") > > print s[0] > print s[1] > > I would expect that split shouldn't split at all because the " " separator > character, enclosed between two "x" escape characters, should be ignored > as a > separator and split return the entire string since it shouldn't detect any > separator. > > The above code instead returns "ax" as s[0] and "b" as s[1] so either > there's a > bug in the split code or I don't understand correctly the meaning of the > separator characters :-) > > Regards, > Piero > > From jeffjohnson at ...377... Tue Jun 21 03:59:20 2005 From: jeffjohnson at ...377... (Jeff Johnson) Date: Mon, 20 Jun 2005 20:59:20 -0500 Subject: [Gambas-user] dateadd Message-ID: <200506202059.20732.jeffjohnson@...377...> I have compiled the 1.9.9. I have the gb.vb checked in the properties section. What else to I need to make the Dateadd function work.. Thanks in advance for your reply.. I am really enjoying move my ham radio projects to gambas.. I am working now on my aprs programs. From tojabr at ...1011... Tue Jun 21 05:25:39 2005 From: tojabr at ...1011... (Tom Bradley) Date: Mon, 20 Jun 2005 21:25:39 -0600 Subject: [Gambas-user] couple of questions... Message-ID: <42B788B3.9070101@...1011...> First what is the differenc between a PROCEDURE and a SUB? Second what is a module and how does it compare/contrast with a class? Tom From sourceforge-raindog2 at ...94... Tue Jun 21 05:34:17 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 20 Jun 2005 23:34:17 -0400 Subject: [Gambas-user] dateadd In-Reply-To: <200506202059.20732.jeffjohnson@...377...> References: <200506202059.20732.jeffjohnson@...377...> Message-ID: <200506202334.17210.sourceforge-raindog2@...94...> On Monday 20 June 2005 21:59, Jeff Johnson wrote: > I have compiled the 1.9.9. I have the gb.vb checked in the > properties section. What else to I need to make the Dateadd > function work.. You actually need to call it as "VB.Dateadd" and not just "Dateadd". Rob From eilert-sprachen at ...221... Tue Jun 21 08:15:06 2005 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 21 Jun 2005 08:15:06 +0200 Subject: [Gambas-user] couple of questions... In-Reply-To: <42B788B3.9070101@...1011...> References: <42B788B3.9070101@...1011...> Message-ID: <42B7B06A.9030503@...221...> Hi Tom, Tom Bradley schrieb: > First what is the differenc between a PROCEDURE and a SUB? None, as far as I know. SUBs are called Procedures in Basic, so it's just a function with a void return value that can be called like a command. Just like procedures in Pascal. > > Second what is a module and how does it compare/contrast with a class? I only have a faint idea of the differences. The only thing I know is that a module is just Basic code separated in its own file, like an include file. I found that in Gambas, the declaration of module-global variables is different from that within classes. But I have no idea why :-) Rolf From eilert-sprachen at ...221... Tue Jun 21 11:43:11 2005 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 21 Jun 2005 11:43:11 +0200 Subject: [Gambas-user] Permissions Message-ID: <42B7E12F.3020403@...221...> Is it possible to SET the permissions of a file / a directory somehow? Rolf From cloroetilo at ...626... Tue Jun 21 18:11:09 2005 From: cloroetilo at ...626... (PaquitoSoft) Date: Tue, 21 Jun 2005 18:11:09 +0200 Subject: [Gambas-user] create tables Message-ID: <1119370269.9968.7.camel@...37...> Hi all! I'm using Gambas 1.9.8 under Debian/GNU Linux I want my application to create a database the first time it is run. So I check if it already exists and I create it if not. Until here everything is ok, but the problem arraives when i try to create the tables for the database. This is how I'm trying: DIM conexion as Connection DIM tabla as Table DIM location as String WITH conexion .Type = "sqlite" .Host = location .Open() IF .Databases.Exist("Paquito") THEN PRINT "Database already exists" ELSE .Databases.Add("Paquito") PRINT "New Database created" END IF .Close() .Host = location &/ "Paquito" .Open() tabla = .Tables.Add("preferencias") tabla.Fields.Add("idioma", GB.String, 5) tabla.Fields.Add("interfaz", GB.String, 5) tabla.Fields.Add("maxUp", GB.Integer) tabla.Fields.Add("maxDown", GB.Integer) tabla.Update() .Close() END WITH location is a String containing the directory where I will store the database. After I run this code I get a new Database in that folder with the name I put and, of course, is a sqlite sigle-fil database. The problem is that no table is created within the database, so... What am I doing wrong?? Thank you all guys! this mailing list is great -- El tiempo es un gran profesor. Desafortunadamente, mata a todos sus alumnos. From eilert-sprachen at ...221... Tue Jun 21 17:54:27 2005 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 21 Jun 2005 17:54:27 +0200 Subject: [Gambas-user] Why is val() so roundabout? Message-ID: <42B83833.7010806@...221...> One thing that really is uncomfortable in Gambas is that val() does not only return Zero when there is nothing to do, but Null. Null is a thing that cannot be evaluated without a lot of extra code. Sometimes, strings to be converted into values contain nothing or characters or stuff. In these cases, a simple Zero would do - val("Gambas") = "Zero" or val("34 hello") = "34" is easier to handle than a "maybe it will return a value, but maybe it won't". I've tried to compensate for some cases in my current project where there were errors stopping the program because someone had entered something else than a number. I only found a solution for an empty string (if mystring <> "" then...), but not for the case there is something else than a number in the string. So, is there a reason for this behaviour (maybe a question directly going to Benoit - hey, what about your finger?), or is it a bug? Rolf From werda at ...1000... Tue Jun 21 19:23:37 2005 From: werda at ...1000... (Werner) Date: Wed, 22 Jun 2005 01:23:37 +0800 Subject: [Gambas-user] create tables In-Reply-To: <1119370269.9968.7.camel@...37...> References: <1119370269.9968.7.camel@...37...> Message-ID: <42B84D19.8060804@...1000...> PaquitoSoft wrote: >Hi all! > >I'm using Gambas 1.9.8 under Debian/GNU Linux > >I want my application to create a database the first time it is run. >So I check if it already exists and I create it if not. >Until here everything is ok, but the problem arraives when i try to >create the tables for the database. >This is how I'm trying: > >DIM conexion as Connection >DIM tabla as Table >DIM location as String > >WITH conexion > .Type = "sqlite" > .Host = location > .Open() > > IF .Databases.Exist("Paquito") THEN > PRINT "Database already exists" > ELSE > .Databases.Add("Paquito") > PRINT "New Database created" > END IF > > .Close() > .Host = location &/ "Paquito" > .Open() > > tabla = .Tables.Add("preferencias") > tabla.Fields.Add("idioma", GB.String, 5) > tabla.Fields.Add("interfaz", GB.String, 5) > tabla.Fields.Add("maxUp", GB.Integer) > tabla.Fields.Add("maxDown", GB.Integer) > tabla.Update() > .Close() >END WITH > >location is a String containing the directory where I will store the >database. >After I run this code I get a new Database in that folder with the name >I put and, of course, is a sqlite sigle-fil database. >The problem is that no table is created within the database, so... >What am I doing wrong?? > >Thank you all guys! this mailing list is great > > > You migth want to try DIM conexion as NEW Connection 'to create an instance Werner From sourceforge-raindog2 at ...94... Tue Jun 21 19:39:02 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 21 Jun 2005 13:39:02 -0400 Subject: [Gambas-user] Why is val() so roundabout? In-Reply-To: <42B83833.7010806@...221...> References: <42B83833.7010806@...221...> Message-ID: <200506211339.02054.sourceforge-raindog2@...94...> On Tuesday 21 June 2005 11:54, Eilert wrote: > One thing that really is uncomfortable in Gambas is that val() does > not only return Zero when there is nothing to do, but Null. In some other language (might have been VB, might not have), I got around this by writing a ValNoNull sub, something like this: PUBLIC FUNCTION ValNN(instring as String) as Float IF IsNull(val(instring)) THEN RETURN 0 ELSE RETURN val(instring) ENDIF END Rob From pvera at ...729... Tue Jun 21 16:30:15 2005 From: pvera at ...729... (Pablo Vera) Date: Tue, 21 Jun 2005 09:30:15 -0500 Subject: [Gambas-user] Permissions In-Reply-To: <42B7E12F.3020403@...221...> References: <42B7E12F.3020403@...221...> Message-ID: <42B82477.1080609@...729...> You could: SHELL("chmod 777 file_or_directory") and SHELL("chown user:group file_or_directory") Saludos, Pablo Vera Eilert wrote: > Is it possible to SET the permissions of a file / a directory somehow? > > Rolf From danielcampos at ...282... Tue Jun 21 14:06:00 2005 From: danielcampos at ...282... (Daniel Campos) Date: Tue, 21 Jun 2005 14:06:00 +0200 Subject: [Gambas-user] EXEC and SHELL syntax Message-ID: <42B802A8.9020301@...282...> Hi: The SHELL and EXEC syntax changed from Gambas-1.0 to Gambas-2.0. I made a little program to perform this change automatically: http://www.binara.com/gambas-wiki/bin/view/Gambas/ChangeProcessSyntax I tested it with the "IDRA" admin gui: http://idra.sourceforge.net/, which has a lot of "SHELL" and "EXEC" methods, and seems to work OK. Regards, D. Campos From cloroetilo at ...626... Tue Jun 21 23:40:39 2005 From: cloroetilo at ...626... (PaquitoSoft) Date: Tue, 21 Jun 2005 23:40:39 +0200 Subject: [Gambas-user] create tables In-Reply-To: <42B84D19.8060804@...1000...> References: <1119370269.9968.7.camel@...37...> <42B84D19.8060804@...1000...> Message-ID: <1119390039.6642.1.camel@...37...> I had done so. I forgot to paste that line. I actually create an instance of Connection. In fact, it woludn't be possible to create the database without it. El mi?, 22-06-2005 a las 01:23 +0800, Werner escribi?: > PaquitoSoft wrote: > > >Hi all! > > > >I'm using Gambas 1.9.8 under Debian/GNU Linux > > > >I want my application to create a database the first time it is run. > >So I check if it already exists and I create it if not. > >Until here everything is ok, but the problem arraives when i try to > >create the tables for the database. > >This is how I'm trying: > > > >DIM conexion as Connection > >DIM tabla as Table > >DIM location as String > > > >WITH conexion > > .Type = "sqlite" > > .Host = location > > .Open() > > > > IF .Databases.Exist("Paquito") THEN > > PRINT "Database already exists" > > ELSE > > .Databases.Add("Paquito") > > PRINT "New Database created" > > END IF > > > > .Close() > > .Host = location &/ "Paquito" > > .Open() > > > > tabla = .Tables.Add("preferencias") > > tabla.Fields.Add("idioma", GB.String, 5) > > tabla.Fields.Add("interfaz", GB.String, 5) > > tabla.Fields.Add("maxUp", GB.Integer) > > tabla.Fields.Add("maxDown", GB.Integer) > > tabla.Update() > > .Close() > >END WITH > > > >location is a String containing the directory where I will store the > >database. > >After I run this code I get a new Database in that folder with the name > >I put and, of course, is a sqlite sigle-fil database. > >The problem is that no table is created within the database, so... > >What am I doing wrong?? > > > >Thank you all guys! this mailing list is great > > > > > > > You migth want to try > > DIM conexion as NEW Connection 'to create an instance > > Werner > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- El tiempo es un gran profesor. Desafortunadamente, mata a todos sus alumnos. From jeffjohnson at ...377... Wed Jun 22 02:04:34 2005 From: jeffjohnson at ...377... (Jeff Johnson) Date: Tue, 21 Jun 2005 19:04:34 -0500 Subject: [Gambas-user] dateadd In-Reply-To: <200506202334.17210.sourceforge-raindog2@...94...> References: <200506202059.20732.jeffjohnson@...377...> <200506202334.17210.sourceforge-raindog2@...94...> Message-ID: <200506211904.34869.jeffjohnson@...377...> Thanks a bundle.. works like a champ.. Now I am placing buttons all over a map. Each button has a individual name and naturally an individual handle that I store in a database. I need to remove the button if it expires. I know that there is a delete method. What is the proper method to deleting the button. On Monday 20 June 2005 22:34, Rob wrote: > On Monday 20 June 2005 21:59, Jeff Johnson wrote: > > I have compiled the 1.9.9. I have the gb.vb checked in the > > properties section. What else to I need to make the Dateadd > > function work.. > > You actually need to call it as "VB.Dateadd" and not just "Dateadd". > > Rob > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Wed Jun 22 02:28:04 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 21 Jun 2005 20:28:04 -0400 Subject: [Gambas-user] dateadd In-Reply-To: <200506211904.34869.jeffjohnson@...377...> References: <200506202059.20732.jeffjohnson@...377...> <200506202334.17210.sourceforge-raindog2@...94...> <200506211904.34869.jeffjohnson@...377...> Message-ID: <200506212028.04465.sourceforge-raindog2@...94...> On Tuesday 21 June 2005 20:04, Jeff Johnson wrote: > Thanks a bundle.. works like a champ.. Now I am placing buttons all > over a map. Each button has a individual name and naturally an > individual handle that I store in a database. I need to remove the > button if it expires. I know that there is a delete method. What is > the proper method to deleting the button. I think you pretty much nailed it already.... the delete method. Or the hide method (or setting visible to false) if you don't want to delete the object. Rob From chadauld at ...626... Wed Jun 22 05:59:26 2005 From: chadauld at ...626... (Chad Auld) Date: Tue, 21 Jun 2005 21:59:26 -0600 Subject: [Gambas-user] Error while trying to start Gambas Message-ID: <13d0d8e505062120592d1449a2@...627...> Hello Gambas users, I am running Ubuntu Hoary 5.04 - 64 bit Linux and having issues when trying to start Gambas. I first tried to install the pre-built packages I found in Synaptic. They installed fine, but I received the following error when trying to start the app: sizeof(CLASS) = 256 ! ERROR: #51: Bad archive: Invalid argument So I pulled the packages back out and tried compiling Gambas 1.0.6 from source. Again, it appears to have compiled and installed properly, but I get the same error when trying to start it. Any ides? Let me know. Thanks in advance! Chad From eilert-sprachen at ...221... Wed Jun 22 08:39:15 2005 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 22 Jun 2005 08:39:15 +0200 Subject: [Gambas-user] Permissions In-Reply-To: <42B82477.1080609@...729...> References: <42B7E12F.3020403@...221...> <42B82477.1080609@...729...> Message-ID: <42B90793.6000809@...221...> Thank you Pablo, and now I remember that a long time ago I already got the same hint from someone. Gr??e Rolf Pablo Vera schrieb: > You could: > > SHELL("chmod 777 file_or_directory") > > and > > SHELL("chown user:group file_or_directory") > > > Saludos, > Pablo Vera > > Eilert wrote: > >> Is it possible to SET the permissions of a file / a directory somehow? >> >> Rolf > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Wed Jun 22 08:42:39 2005 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 22 Jun 2005 08:42:39 +0200 Subject: [Gambas-user] Why is val() so roundabout? In-Reply-To: <200506211339.02054.sourceforge-raindog2@...94...> References: <42B83833.7010806@...221...> <200506211339.02054.sourceforge-raindog2@...94...> Message-ID: <42B9085F.3070802@...221...> This is a good idea, although it takes yet another function to implement. Checking with IsNull() is a way I didn't see. But why did Benoit implement val() this way? I don't see any sense in it, but there might be one (I'm not a professional programmer after all). Rolf Rob schrieb: > On Tuesday 21 June 2005 11:54, Eilert wrote: > >>One thing that really is uncomfortable in Gambas is that val() does >>not only return Zero when there is nothing to do, but Null. > > > In some other language (might have been VB, might not have), I got > around this by writing a ValNoNull sub, something like this: > > PUBLIC FUNCTION ValNN(instring as String) as Float > > IF IsNull(val(instring)) THEN > RETURN 0 > ELSE > RETURN val(instring) > ENDIF > > END > > Rob > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jscops at ...11... Wed Jun 22 10:01:30 2005 From: jscops at ...11... (Jacky) Date: Wed, 22 Jun 2005 10:01:30 +0200 Subject: [Gambas-user] Alignement in a tableview In-Reply-To: <200405092233.28346.gambas@...1...> References: <200405092233.28346.gambas@...1...> Message-ID: <200506221001.30583.jscops@...11...> Salut, I need some help for these two questions. 1- In a tableview is it possible to do a right alignement in a column and a left alignment in another ? ( As "Columns[].Alignment = 4" in a columnview ) I try "tableview.data.alignment = align.right" but all columns are align to right. 2- How to do appear all lines of a textarea in a columnview ? Thank you very much. ~? Jack?~ From lordheavy at ...512... Wed Jun 22 10:41:07 2005 From: lordheavy at ...512... (lordheavy) Date: Wed, 22 Jun 2005 10:41:07 +0200 Subject: [Gambas-user] gambas-sdl update Message-ID: <42B92423.8090705@...512...> New version of gambas-sdl componant is available : http://www.gambasforge.net/code.php?id=40 ChangeLog : 22/06/05 - Laurent Carlier : Sound component: * Fix an unfreed reference (with sound playing when channel isn't valid) (sound.c) Image component * Fix a nasty bug when x or y are equals in Surface.Overlap (surface.c) * Removes Sprite.Overlap, now in Surface class : Surface.Overlap (game.c surface.c) * Removes Surface.Tile (who need that ?, can be done with gambas code) (surface.c) * Now setting Surface.Alpha enable alpha (surface.c) * Now setting Surface.Colorkey enable colorkey (surface.c) * Add missing HOOK_POST (sound component need it) (main.c) * New Method : Screen.Save, allow to save the screen as a bmp file (screen.c) * Fonts cannot be part of the executable anymore due to buggy SDL_ttf library/SDL_RWops ? (font.c font.h) * Screen.Id/Screen.Handle : return the id of the Screen - Daniel Campos - (screen.c) * Add SDL_INIT_EVENTHREAD flag, should solve some slowdown issues (main.c) * Add SDL_ASYNC_BLIT flag to surface creation, should improve perfs on SMP systems (surface.c) * New method : Key.Scan (non-bloquant!=Key.Wait), return the value of key pressed (key.c) -- Laurent Carlier jabber : LordHeavy at ...943... From eilert-sprachen at ...221... Wed Jun 22 10:52:23 2005 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 22 Jun 2005 10:52:23 +0200 Subject: [Gambas-user] Alignement in a tableview In-Reply-To: <200506221001.30583.jscops@...11...> References: <200405092233.28346.gambas@...1...> <200506221001.30583.jscops@...11...> Message-ID: <42B926C7.4030700@...221...> Hi Jacky, Jacky schrieb: > Salut, > > I need some help for these two questions. > 1- In a tableview is it possible to do a right alignement in a column and a > left alignment in another ? ( As "Columns[].Alignment = 4" in a columnview ) > I try "tableview.data.alignment = align.right" but all columns are align to > right. You might have forgotten to ask for the column first, i. e. you should do select case Column case 3 tableview.data.alignment = align.right case else tableview.data.alignment = align.left end select Does this help? > > 2- How to do appear all lines of a textarea in a columnview ? What do you mean, I do not understand the question :-) I've asked a similar question here some time ago but didn't get any answer: is it possible to do a word-wrap within a tableview cell? But this is not what you wanted to know, is it? Rolf From nigel at ...38... Wed Jun 22 11:37:12 2005 From: nigel at ...38... (nigel at ...38...) Date: Wed, 22 Jun 2005 11:37:12 +0200 (CEST) Subject: [Gambas-user] create tables Message-ID: <27710587.1119433032413.JavaMail.www@...792...> Instead of using the line .Host = location &/ "Paquito" change it to .Name = "Paquito" Regards Nigel > Message date : Jun 21 2005, 11:06 PM > From : "PaquitoSoft" > To : gambas-user at lists.sourceforge.net > Copy to : > Subject : Re: [Gambas-user] create tables > > I had done so. I forgot to paste that line. > I actually create an instance of Connection. In fact, it woludn't be > possible to create the database without it. > > > El mi?, 22-06-2005 a las 01:23 +0800, Werner escribi?: > > PaquitoSoft wrote: > > > > >Hi all! > > > > > >I'm using Gambas 1.9.8 under Debian/GNU Linux > > > > > >I want my application to create a database the first time it is run. > > >So I check if it already exists and I create it if not. > > >Until here everything is ok, but the problem arraives when i try to > > >create the tables for the database. > > >This is how I'm trying: > > > > > >DIM conexion as Connection > > >DIM tabla as Table > > >DIM location as String > > > > > >WITH conexion > > > .Type = "sqlite" > > > .Host = location > > > .Open() > > > > > > IF .Databases.Exist("Paquito") THEN > > > PRINT "Database already exists" > > > ELSE > > > .Databases.Add("Paquito") > > > PRINT "New Database created" > > > END IF > > > > > > .Close() > > > .Host = location &/ "Paquito" > > > .Open() > > > > > > tabla = .Tables.Add("preferencias") > > > tabla.Fields.Add("idioma", GB.String, 5) > > > tabla.Fields.Add("interfaz", GB.String, 5) > > > tabla.Fields.Add("maxUp", GB.Integer) > > > tabla.Fields.Add("maxDown", GB.Integer) > > > tabla.Update() > > > .Close() > > >END WITH > > > > > >location is a String containing the directory where I will store the > > >database. > > >After I run this code I get a new Database in that folder with the name > > >I put and, of course, is a sqlite sigle-fil database. > > >The problem is that no table is created within the database, so... > > >What am I doing wrong?? > > > > > >Thank you all guys! this mailing list is great > > > > > > > > > > > You migth want to try > > > > DIM conexion as NEW Connection 'to create an instance > > > > Werner > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- > El tiempo es un gran profesor. Desafortunadamente, mata a todos sus > alumnos. > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From sourceforge-raindog2 at ...94... Wed Jun 22 16:05:45 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 22 Jun 2005 10:05:45 -0400 Subject: [Gambas-user] Why is val() so roundabout? In-Reply-To: <42B9085F.3070802@...221...> References: <42B83833.7010806@...221...> <200506211339.02054.sourceforge-raindog2@...94...> <42B9085F.3070802@...221...> Message-ID: <200506221005.45543.sourceforge-raindog2@...94...> On Wednesday 22 June 2005 02:42, Eilert wrote: > But why did Benoit implement val() this way? I don't see any sense > in it, but there might be one (I'm not a professional programmer > after all). Are you sure VB didn't do it the same way? It had to be either VB or VBscript, but I remember doing a LOT of iif(isnull(...)...) before I came up with the idea of just doing that standard function each time.... Rob From lordheavy at ...512... Wed Jun 22 16:23:49 2005 From: lordheavy at ...512... (lordheavy) Date: Wed, 22 Jun 2005 16:23:49 +0200 Subject: [Gambas-user] Why is val() so roundabout? In-Reply-To: <42B83833.7010806@...221...> References: <42B83833.7010806@...221...> Message-ID: <42B97475.4030501@...512...> > > So, is there a reason for this behaviour (maybe a question directly > going to Benoit - hey, what about your finger?), or is it a bug? > > Rolf > Perhaps becouse val("0") = 0 and val("something") <> 0 because it can't be eVALuate ? so it's NULL ! I guess it's logical. Don't you ? Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From eilert-sprachen at ...221... Wed Jun 22 16:33:03 2005 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 22 Jun 2005 16:33:03 +0200 Subject: [Gambas-user] Why is val() so roundabout? In-Reply-To: <200506221005.45543.sourceforge-raindog2@...94...> References: <42B83833.7010806@...221...> <200506211339.02054.sourceforge-raindog2@...94...> <42B9085F.3070802@...221...> <200506221005.45543.sourceforge-raindog2@...94...> Message-ID: <42B9769F.9030405@...221...> Rob schrieb: > On Wednesday 22 June 2005 02:42, Eilert wrote: > >>But why did Benoit implement val() this way? I don't see any sense >>in it, but there might be one (I'm not a professional programmer >>after all). > > > Are you sure VB didn't do it the same way? It had to be either VB or > VBscript, but I remember doing a LOT of iif(isnull(...)...) before I > came up with the idea of just doing that standard function each > time.... > > Rob No, I'm sure VB (the VB I use, that is 5.0) has it more practical. In PowerBasic and AmigaBasic and ZX 81 Basic :-) which I used before it was the same. That's why I was so surprised. Rolf From eilert-sprachen at ...221... Wed Jun 22 16:34:56 2005 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 22 Jun 2005 16:34:56 +0200 Subject: [Gambas-user] Why is val() so roundabout? In-Reply-To: <42B97475.4030501@...512...> References: <42B83833.7010806@...221...> <42B97475.4030501@...512...> Message-ID: <42B97710.3080504@...221...> lordheavy schrieb: >>So, is there a reason for this behaviour (maybe a question directly >>going to Benoit - hey, what about your finger?), or is it a bug? >> >>Rolf >> > > > Perhaps becouse val("0") = 0 and val("something") <> 0 because it can't > be eVALuate ? so it's NULL ! > > I guess it's logical. Don't you ? > > Regards, > Yes, it is logical, but not very practical. In practice I just want to know if there is a value, and if there is some character it cannot read it's just 0. Well, there might be cases where an error might be practical I have to admit, but in 99 % of my cases it isn't. Rolf From gambas at ...1... Wed Jun 22 17:11:11 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 22 Jun 2005 17:11:11 +0200 Subject: [Gambas-user] Why is val() so roundabout? In-Reply-To: <42B97710.3080504@...221...> References: <42B83833.7010806@...221...> <42B97475.4030501@...512...> <42B97710.3080504@...221...> Message-ID: <200506221711.11947.gambas@...1...> On Wednesday 22 June 2005 16:34, Eilert wrote: > lordheavy schrieb: > >>So, is there a reason for this behaviour (maybe a question directly > >>going to Benoit - hey, what about your finger?), or is it a bug? > >> > >>Rolf > > > > Perhaps becouse val("0") = 0 and val("something") <> 0 because it can't > > be eVALuate ? so it's NULL ! > > > > I guess it's logical. Don't you ? > > > > Regards, > > Yes, it is logical, but not very practical. In practice I just want to > know if there is a value, and if there is some character it cannot read > it's just 0. Well, there might be cases where an error might be > practical I have to admit, but in 99 % of my cases it isn't. > > Rolf > I'm surprised. I find the way I did far more logical AND practical! If Val() returns 0 when it can't interpret its argument, how do you make the difference between Val("0") and Val("anything") ? I prefer that the functions behave logically rather than being pratical for one specific case of one programmer :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From jscops at ...11... Wed Jun 22 19:08:58 2005 From: jscops at ...11... (Jacky) Date: Wed, 22 Jun 2005 19:08:58 +0200 Subject: [Gambas-user] Alignement in a tableview In-Reply-To: <42B926C7.4030700@...221...> References: <200405092233.28346.gambas@...1...> <200506221001.30583.jscops@...11...> <42B926C7.4030700@...221...> Message-ID: <200506221908.58185.jscops@...11...> Bonsoir, > You might have forgotten to ask for the column first, i. e. you should do > > select case Column > case 3 > ????????tableview.data.alignment = align.right > case else > ????????tableview.data.alignment = align.left > end select > > Does this help? Sorry Rolf but no. because i want only one column and not one line. > > > 2- How to do appear all lines of a textarea in a columnview ? > > What do you mean, I do not understand the question :-) I use french since long time and i'm not an english master :-( > > I've asked a similar question here some time ago but didn't get any > answer: is it possible to do a word-wrap within a tableview cell? But > this is not what you wanted to know, is it? let a textarea with several lines. If i put its content in a columnview ( ex: Columnview.Item[0] = Textarea.Text), there is only the first line which appeared but not the totality. Is it more clarify ? Amiti?s. ~? Jack?~ From eeller at ...826... Wed Jun 22 21:13:08 2005 From: eeller at ...826... (Eldon Eller) Date: Wed, 22 Jun 2005 12:13:08 -0700 Subject: [Gambas-user] Why is val() so roundabout? In-Reply-To: <42B9085F.3070802@...221...> References: <42B83833.7010806@...221...> <200506211339.02054.sourceforge-raindog2@...94...> <42B9085F.3070802@...221...> Message-ID: <42B9B844.1060500@...826...> I cannot speak for Benoit, but it seems like a good idea to me. There is a distinct difference between zero and nothing. For example, suppose you are calculating the average of a bunch of numbers, and that one or more of them are missing. In that case, you want to skip them, not just stuff in zeros. Perhaps Benoit has a better answer. Mine is strictly an amateur opinion. Eilert wrote: > This is a good idea, although it takes yet another function to > implement. Checking with IsNull() is a way I didn't see. > > But why did Benoit implement val() this way? I don't see any sense in > it, but there might be one (I'm not a professional programmer after all). > > Rolf > > > Rob schrieb: > >> On Tuesday 21 June 2005 11:54, Eilert wrote: >> >>> One thing that really is uncomfortable in Gambas is that val() does >>> not only return Zero when there is nothing to do, but Null. >> >> >> >> In some other language (might have been VB, might not have), I got >> around this by writing a ValNoNull sub, something like this: >> >> PUBLIC FUNCTION ValNN(instring as String) as Float >> >> IF IsNull(val(instring)) THEN >> RETURN 0 >> ELSE >> RETURN val(instring) >> ENDIF >> >> END >> >> Rob >> >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >> from IBM. Find simple to follow Roadmaps, straightforward articles, >> informative Webcasts and more! Get everything you need to get up to >> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From supersonik at ...626... Wed Jun 22 21:55:39 2005 From: supersonik at ...626... (=?ISO-8859-1?Q?Rafael_de_Jaime_Juli=E1?=) Date: Wed, 22 Jun 2005 21:55:39 +0200 Subject: [Gambas-user] Error while trying to start Gambas In-Reply-To: <13d0d8e505062120592d1449a2@...627...> References: <13d0d8e505062120592d1449a2@...627...> Message-ID: <3810764a05062212553ad11b20@...627...> Hi, it seems related to the problem I have running it on Ubuntu Hoary ppc... It segfaults on start, and when i try compiling 1.9.9, it complains about my system being big-endian. So it may be that gambas code is not processor independent? That must be a bug... 2005/6/22, Chad Auld : > Hello Gambas users, > > I am running Ubuntu Hoary 5.04 - 64 bit Linux and having issues when > trying to start Gambas. I first tried to install the pre-built > packages I found in Synaptic. They installed fine, but I received the > following error when trying to start the app: > > sizeof(CLASS) = 256 ! > ERROR: #51: Bad archive: Invalid argument > > So I pulled the packages back out and tried compiling Gambas 1.0.6 > from source. Again, it appears to have compiled and installed > properly, but I get the same error when trying to start it. > > Any ides? Let me know. Thanks in advance! Chad > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From chadauld at ...626... Wed Jun 22 22:04:07 2005 From: chadauld at ...626... (Chad Auld) Date: Wed, 22 Jun 2005 14:04:07 -0600 Subject: [Gambas-user] Error while trying to start Gambas In-Reply-To: <3810764a05062212553ad11b20@...627...> References: <13d0d8e505062120592d1449a2@...627...> <3810764a05062212553ad11b20@...627...> Message-ID: <13d0d8e5050622130461018326@...627...> Thanks Rafael, That's a bummer. I kind of figured someone would say that. I've had 1.0.6 running before on my Fedora Core 3 laptop with no issues, but this is the first time I've tried in 64bit. Well this and a few other issues on the 64 bit version of Ubuntu may send me back to the 32 bit version. On 6/22/05, Rafael de Jaime Juli? wrote: > Hi, it seems related to the problem I have running it on Ubuntu Hoary > ppc... It segfaults on start, and when i try compiling 1.9.9, it > complains about my system being big-endian. So it may be that gambas > code is not processor independent? That must be a bug... > > 2005/6/22, Chad Auld : > > Hello Gambas users, > > > > I am running Ubuntu Hoary 5.04 - 64 bit Linux and having issues when > > trying to start Gambas. I first tried to install the pre-built > > packages I found in Synaptic. They installed fine, but I received the > > following error when trying to start the app: > > > > sizeof(CLASS) = 256 ! > > ERROR: #51: Bad archive: Invalid argument > > > > So I pulled the packages back out and tried compiling Gambas 1.0.6 > > from source. Again, it appears to have compiled and installed > > properly, but I get the same error when trying to start it. > > > > Any ides? Let me know. Thanks in advance! Chad > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From cloroetilo at ...626... Wed Jun 22 23:18:39 2005 From: cloroetilo at ...626... (PaquitoSoft) Date: Wed, 22 Jun 2005 23:18:39 +0200 Subject: [Gambas-user] Probelm with Date Message-ID: <1119475119.27852.2.camel@...37...> Hi all! I'm wondering about Date data type. Is there anyway to do something like this??? DIM date as DATE date = Now() PRINT "Yesterday -> " & (date - 1) I kwon you can do in VB, but in Gambas it says that they are incompatible types (of course they are...) Any answer?? Thanks a lot -- El tiempo es un gran profesor. Desafortunadamente, mata a todos sus alumnos. From cloroetilo at ...626... Wed Jun 22 23:19:15 2005 From: cloroetilo at ...626... (PaquitoSoft) Date: Wed, 22 Jun 2005 23:19:15 +0200 Subject: [Gambas-user] create tables In-Reply-To: <27710587.1119433032413.JavaMail.www@...792...> References: <27710587.1119433032413.JavaMail.www@...792...> Message-ID: <1119475155.27852.4.camel@...37...> Thanks a lot Nigel It seems your advice solved my problem El mi?, 22-06-2005 a las 11:37 +0200, nigel at ...38... escribi?: > Instead of using the line > .Host = location &/ "Paquito" > > change it to > .Name = "Paquito" > > Regards > > Nigel > > > Message date : Jun 21 2005, 11:06 PM > > From : "PaquitoSoft" > > To : gambas-user at lists.sourceforge.net > > Copy to : > > Subject : Re: [Gambas-user] create tables > > > > I had done so. I forgot to paste that line. > > I actually create an instance of Connection. In fact, it woludn't be > > possible to create the database without it. > > > > > > El mi?, 22-06-2005 a las 01:23 +0800, Werner escribi?: > > > PaquitoSoft wrote: > > > > > > >Hi all! > > > > > > > >I'm using Gambas 1.9.8 under Debian/GNU Linux > > > > > > > >I want my application to create a database the first time it is run. > > > >So I check if it already exists and I create it if not. > > > >Until here everything is ok, but the problem arraives when i try to > > > >create the tables for the database. > > > >This is how I'm trying: > > > > > > > >DIM conexion as Connection > > > >DIM tabla as Table > > > >DIM location as String > > > > > > > >WITH conexion > > > > .Type = "sqlite" > > > > .Host = location > > > > .Open() > > > > > > > > IF .Databases.Exist("Paquito") THEN > > > > PRINT "Database already exists" > > > > ELSE > > > > .Databases.Add("Paquito") > > > > PRINT "New Database created" > > > > END IF > > > > > > > > .Close() > > > > .Host = location &/ "Paquito" > > > > .Open() > > > > > > > > tabla = .Tables.Add("preferencias") > > > > tabla.Fields.Add("idioma", GB.String, 5) > > > > tabla.Fields.Add("interfaz", GB.String, 5) > > > > tabla.Fields.Add("maxUp", GB.Integer) > > > > tabla.Fields.Add("maxDown", GB.Integer) > > > > tabla.Update() > > > > .Close() > > > >END WITH > > > > > > > >location is a String containing the directory where I will store the > > > >database. > > > >After I run this code I get a new Database in that folder with the name > > > >I put and, of course, is a sqlite sigle-fil database. > > > >The problem is that no table is created within the database, so... > > > >What am I doing wrong?? > > > > > > > >Thank you all guys! this mailing list is great > > > > > > > > > > > > > > > You migth want to try > > > > > > DIM conexion as NEW Connection 'to create an instance > > > > > > Werner > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > > informative Webcasts and more! Get everything you need to get up to > > > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- > > El tiempo es un gran profesor. Desafortunadamente, mata a todos sus > > alumnos. > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > > Whatever you Wanadoo: > http://www.wanadoo.co.uk/time/ > > This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- El tiempo es un gran profesor. Desafortunadamente, mata a todos sus alumnos. From Wsouzap at ...87... Wed Jun 22 23:20:58 2005 From: Wsouzap at ...87... (Wsouzap at ...87...) Date: Wed, 22 Jun 2005 17:20:58 -0400 Subject: [Gambas-user] Object Printer | Printer.Setup() only show the installed printer not another types Message-ID: <2A65DAC7.3F285AA5.001B903D@...87...> Object Printer | Printer.Setup() only show the instaled printer not another types In KWord print option show: my installed printer Print to file (PDF Send to Fax Print to file (PostScript) AND in Gambas printer.Setup() only my installed printer I'm need print to pdf file I'm use this method above: IF Printer.Setup() THEN RETURN >> printer.Name = "Imprimir para o Arquivo (PDF)" || "Print to file (PDF) >> printer.File = "/home/kurumin/teste.pdf" printer.Size = "A4" draw.Begin(printer) draw.ForeColor = color.Red draw.BackColor = color.Yellow draw.Font.Size = 22 draw.Font.Bold = TRUE draw.FillColor = color.Yellow draw.FillStyle = fill.Solid draw.Rect(0,0,600,30) draw.Text("This printing is a pdf file",0,0,600,30,align.Center) draw.End D'nt work because printer.setup() not show another methods. If have another method to print to pdf file, please send for us. Ps.: My english is not very well. Reguards, Wellington From nando_f at ...951... Wed Jun 22 23:36:17 2005 From: nando_f at ...951... (nando) Date: Wed, 22 Jun 2005 17:36:17 -0400 Subject: [Gambas-user] Probelm with Date In-Reply-To: <1119475119.27852.2.camel@...37...> References: <1119475119.27852.2.camel@...37...> Message-ID: <20050622213406.M80541@...951...> That is my problem too. I asked Benoit about the underlying values with no clear answer. In VB, date/time is really a double (8B) with the value of 1 (one) being the difference of one day....so 0.5 is half a day...etc. I really would like to know the underlying data type or bit format I do not know in Gambas...I really wish I did. -Fernando ---------- Original Message ----------- From: PaquitoSoft To: gambas-user at lists.sourceforge.net Sent: Wed, 22 Jun 2005 23:18:39 +0200 Subject: [Gambas-user] Probelm with Date > Hi all! > > I'm wondering about Date data type. > Is there anyway to do something like this??? > > DIM date as DATE > > date = Now() > PRINT "Yesterday -> " & (date - 1) > > I kwon you can do in VB, but in Gambas it says that they are > incompatible types (of course they are...) > > Any answer?? > > Thanks a lot > -- > El tiempo es un gran profesor. Desafortunadamente, mata a todos sus > alumnos. > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration > Strategies from IBM. Find simple to follow Roadmaps, straightforward > articles, informative Webcasts and more! Get everything you need to > get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From sourceforge-raindog2 at ...94... Wed Jun 22 23:37:28 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 22 Jun 2005 17:37:28 -0400 Subject: [Gambas-user] Probelm with Date In-Reply-To: <1119475119.27852.2.camel@...37...> References: <1119475119.27852.2.camel@...37...> Message-ID: <200506221737.28223.sourceforge-raindog2@...94...> On Wednesday 22 June 2005 17:18, PaquitoSoft wrote: > PRINT "Yesterday -> " & (date - 1) Check out VB.DateAdd(). http://www.binara.com/gambas-wiki/static/Gambas/GbVbVbMDateAdd.html Rob From dafyre at ...43... Wed Jun 22 23:42:05 2005 From: dafyre at ...43... (Brant Wells) Date: Wed, 22 Jun 2005 14:42:05 -0700 (PDT) Subject: [Gambas-user] Probelm with Date In-Reply-To: <20050622213406.M80541@...951...> Message-ID: <20050622214205.86944.qmail@...1014...> As I write this email, I am away from any usable Gambas installation at the moment, however, in your code, you could do something like the following (watch out for syntax errors from me!) dim date as DATE dim tDate as long date=Now() tDate=format(date,"0") 'Or however you convert something to numbers... tdate=tdate-1 date=format(tdate,"mm/dd/yyyy") I know that code would work in VB... but I've not used the format() function in Gambas in a while, so I'm not sure if that would get it or not... HTH ~Brant nando wrote: That is my problem too. I asked Benoit about the underlying values with no clear answer. In VB, date/time is really a double (8B) with the value of 1 (one) being the difference of one day....so 0.5 is half a day...etc. I really would like to know the underlying data type or bit format I do not know in Gambas...I really wish I did. -Fernando ---------- Original Message ----------- From: PaquitoSoft To: gambas-user at lists.sourceforge.net Sent: Wed, 22 Jun 2005 23:18:39 +0200 Subject: [Gambas-user] Probelm with Date > Hi all! > > I'm wondering about Date data type. > Is there anyway to do something like this??? > > DIM date as DATE > > date = Now() > PRINT "Yesterday -> " & (date - 1) > > I kwon you can do in VB, but in Gambas it says that they are > incompatible types (of course they are...) > > Any answer?? > > Thanks a lot > -- > El tiempo es un gran profesor. Desafortunadamente, mata a todos sus > alumnos. > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration > Strategies from IBM. Find simple to follow Roadmaps, straightforward > articles, informative Webcasts and more! Get everything you need to > get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user --------------------------------- Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeffjohnson at ...377... Thu Jun 23 01:10:54 2005 From: jeffjohnson at ...377... (Jeff Johnson) Date: Wed, 22 Jun 2005 18:10:54 -0500 Subject: [Gambas-user] Why is val() so roundabout? In-Reply-To: <42B9085F.3070802@...221...> References: <42B83833.7010806@...221...> <200506211339.02054.sourceforge-raindog2@...94...> <42B9085F.3070802@...221...> Message-ID: <200506221810.55121.jeffjohnson@...377...> Val messed with my mind for awile. all other Basic's, Fox Pro and dBase have used have just return a 0 for the following val(a) with a being "st" "" null, ST123 etc. with Val(a) returning 123 if a equaled 123st. Takes a little getting used to it.. my brain is programmed differently On Wednesday 22 June 2005 01:42, Eilert wrote: > This is a good idea, although it takes yet another function to > implement. Checking with IsNull() is a way I didn't see. > > But why did Benoit implement val() this way? I don't see any sense in > it, but there might be one (I'm not a professional programmer after all). > > Rolf > > Rob schrieb: > > On Tuesday 21 June 2005 11:54, Eilert wrote: > >>One thing that really is uncomfortable in Gambas is that val() does > >>not only return Zero when there is nothing to do, but Null. > > > > In some other language (might have been VB, might not have), I got > > around this by writing a ValNoNull sub, something like this: > > > > PUBLIC FUNCTION ValNN(instring as String) as Float > > > > IF IsNull(val(instring)) THEN > > RETURN 0 > > ELSE > > RETURN val(instring) > > ENDIF > > > > END > > > > Rob > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jeffjohnson at ...377... Thu Jun 23 01:15:33 2005 From: jeffjohnson at ...377... (Jeff Johnson) Date: Wed, 22 Jun 2005 18:15:33 -0500 Subject: [Gambas-user] dateadd In-Reply-To: <200506212028.04465.sourceforge-raindog2@...94...> References: <200506202059.20732.jeffjohnson@...377...> <200506211904.34869.jeffjohnson@...377...> <200506212028.04465.sourceforge-raindog2@...94...> Message-ID: <200506221815.33835.jeffjohnson@...377...> But what is the syntax: button(handle).delete ? I am using buttons on a map (with sometimes over 100 on a map.. I know the hButton.handle and the hbutton.name. But how do I go about removing just one button, None of the syntax makes any sense at all.. On Tuesday 21 June 2005 19:28, Rob wrote: > On Tuesday 21 June 2005 20:04, Jeff Johnson wrote: > > Thanks a bundle.. works like a champ.. Now I am placing buttons all > > over a map. Each button has a individual name and naturally an > > individual handle that I store in a database. I need to remove the > > button if it expires. I know that there is a delete method. What is > > the proper method to deleting the button. > > I think you pretty much nailed it already.... the delete method. Or > the hide method (or setting visible to false) if you don't want to > delete the object. > > Rob > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From cloroetilo at ...626... Thu Jun 23 03:16:20 2005 From: cloroetilo at ...626... (PaquitoSoft) Date: Thu, 23 Jun 2005 03:16:20 +0200 Subject: [Gambas-user] Probelm with Date In-Reply-To: <200506221737.28223.sourceforge-raindog2@...94...> References: <1119475119.27852.2.camel@...37...> <200506221737.28223.sourceforge-raindog2@...94...> Message-ID: <1119489380.10057.0.camel@...37...> Thanks a lot Ron That was just what I was looking for El mi?, 22-06-2005 a las 17:37 -0400, Rob escribi?: > On Wednesday 22 June 2005 17:18, PaquitoSoft wrote: > > PRINT "Yesterday -> " & (date - 1) > > Check out VB.DateAdd(). > > http://www.binara.com/gambas-wiki/static/Gambas/GbVbVbMDateAdd.html > > Rob > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- El tiempo es un gran profesor. Desafortunadamente, mata a todos sus alumnos. From sourceforge-raindog2 at ...94... Thu Jun 23 05:52:16 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 22 Jun 2005 23:52:16 -0400 Subject: [Gambas-user] dateadd In-Reply-To: <200506221815.33835.jeffjohnson@...377...> References: <200506202059.20732.jeffjohnson@...377...> <200506212028.04465.sourceforge-raindog2@...94...> <200506221815.33835.jeffjohnson@...377...> Message-ID: <200506222352.17014.sourceforge-raindog2@...94...> On Wednesday 22 June 2005 19:15, Jeff Johnson wrote: > But what is the syntax: button(handle).delete ? I am using buttons > on a map (with sometimes over 100 on a map.. I know the > hButton.handle and the hbutton.name. But how do I go about removing > just one button, None of the syntax makes any sense at all.. If you have an Object[] called "button" (assuming that's allowed... I don't think it is) then you'd go button[handle].delete. But it sounds like maybe you should post some code, because I don't think I really understand what you're trying to do. Rob From gambas at ...1... Thu Jun 23 12:28:54 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 23 Jun 2005 12:28:54 +0200 Subject: [Gambas-user] Probelm with Date In-Reply-To: <1119475119.27852.2.camel@...37...> References: <1119475119.27852.2.camel@...37...> Message-ID: <200506231228.54390.gambas@...1...> On Wednesday 22 June 2005 23:18, PaquitoSoft wrote: > Hi all! > > I'm wondering about Date data type. > Is there anyway to do something like this??? > > DIM date as DATE > > date = Now() > PRINT "Yesterday -> " & (date - 1) > > > I kwon you can do in VB, but in Gambas it says that they are > incompatible types (of course they are...) > > Any answer?? > > Thanks a lot Date are stored internally as a number of days and a number of microseconds. To have the same behaviour than in VB, you must explicitely convert dates to float: date = Now() PRINT "Yesterday is "; CDate(CFloat(date) - 1) Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...913... Thu Jun 23 18:50:06 2005 From: gambas at ...913... (=?iso-8859-15?q?Jos=E9_Mar=EDa_Lucero?=) Date: Thu, 23 Jun 2005 16:50:06 +0000 Subject: [Gambas-user] cant make gambas 1.9.9 work Message-ID: <200506231650.08327.gambas@...913...> I have been using gambas 1.0.5 compiled from source downloaded from gambas site with no problems in a gentoo linux i downloaded 1.9.9 and had the following problems: ./configure and make worked ok when doing make install it gave an error about not finding gbi2 i was able to fix this problem by copying the compiled file from the directory where it was compiled to /usr/bin after this i execute gambas2 and gambas never starts nor gives any errors nor does the konsole prompt return any idea how to fix this or what other information i can give to find the cause of this. ___________________________________________________________ 1GB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo http://correo.yahoo.com.ar From jeffjohnson at ...377... Fri Jun 24 00:36:22 2005 From: jeffjohnson at ...377... (Jeff Johnson) Date: Thu, 23 Jun 2005 17:36:22 -0500 Subject: [Gambas-user] dateadd In-Reply-To: <200506222352.17014.sourceforge-raindog2@...94...> References: <200506202059.20732.jeffjohnson@...377...> <200506221815.33835.jeffjohnson@...377...> <200506222352.17014.sourceforge-raindog2@...94...> Message-ID: <200506231736.23069.jeffjohnson@...377...> Let me explain. As ham radio station beacon on APRS I receive a text line contain a position report and sometimes weather info. I store that in a database, and display a button on a map indicating the position. I use a button because a picture can be displayed on the button. That portion is fine. But the buttons (location indicators) need to expire after a certain length of time if the location has not been updated. The expiration is where I have a problem. I have to have the program look through all the stations in the database and find the old buttons and delete them. I store the Buttons name and current handle in the database. My problem is I have not figured out how to delete a button via program code. DO WHILE TRUE hButton = NEW Button(ME) AS "Station" hButton.X = rData!DLongitude hButton.Y = rData!DLatitude hButton.Raise hButton.Text = rData!Station hButton.Width = 75 hButton.Height = 7 hButton.Font.Size = 6 hButton.Picture = Picture[rData!Icon] hButton.Tag = rData!Statusline mCount = mCount + 1 IF rdata!station = "THORN" THEN textbox1.Text = hbutton.name i = hbutton.name hbutton(i).delete END IF IF mCOunt = rData.Count THEN BREAK ENDIF rdata.MoveNext LOOP On Wednesday 22 June 2005 22:52, Rob wrote: > On Wednesday 22 June 2005 19:15, Jeff Johnson wrote: > > But what is the syntax: button(handle).delete ? I am using buttons > > on a map (with sometimes over 100 on a map.. I know the > > hButton.handle and the hbutton.name. But how do I go about removing > > just one button, None of the syntax makes any sense at all.. > > If you have an Object[] called "button" (assuming that's allowed... I > don't think it is) then you'd go button[handle].delete. But it > sounds like maybe you should post some code, because I don't think I > really understand what you're trying to do. > > Rob > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From linder.robert at ...626... Fri Jun 24 01:53:24 2005 From: linder.robert at ...626... (Robert Linder) Date: Thu, 23 Jun 2005 16:53:24 -0700 Subject: [Gambas-user] cant make gambas 1.9.9 work In-Reply-To: <200506231650.08327.gambas@...913...> References: <200506231650.08327.gambas@...913...> Message-ID: <2210854105062316536650731d@...627...> I had the same error, although I used --prefix=/usr/local and copied gbi2 to /usr/local/bin, that shouldn't make much of a difference. Also i notice you didn't specify that you used ./configure -C, try that and see if it helps. It works fine for me, although i'm using a different distrobution, i'm using Slackware Linux so there are bound to be pretty big differences in our system configurations. But anyway try using ./configure -C and see how it works out. On 6/23/05, Jos? Mar?a Lucero wrote: > I have been using gambas 1.0.5 compiled from source downloaded from gambas > site with no problems in a gentoo linux > i downloaded 1.9.9 and had the following problems: > ./configure and make worked ok > when doing make install it gave an error about not finding gbi2 > i was able to fix this problem by copying the compiled file from the directory > where it was compiled to /usr/bin > after this i execute gambas2 and gambas never starts nor gives any errors nor > does the konsole prompt return > any idea how to fix this or what other information i can give to find the > cause of this. > > > > > > ___________________________________________________________ > 1GB gratis, Antivirus y Antispam > Correo Yahoo!, el mejor correo web del mundo > http://correo.yahoo.com.ar > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sourceforge-raindog2 at ...94... Fri Jun 24 02:16:38 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 23 Jun 2005 20:16:38 -0400 Subject: [Gambas-user] dateadd In-Reply-To: <200506231736.23069.jeffjohnson@...377...> References: <200506202059.20732.jeffjohnson@...377...> <200506222352.17014.sourceforge-raindog2@...94...> <200506231736.23069.jeffjohnson@...377...> Message-ID: <200506232016.38799.sourceforge-raindog2@...94...> On Thursday 23 June 2005 18:36, Jeff Johnson wrote: > textbox1.Text = hbutton.name > i = hbutton.name > hbutton(i).delete Well, here are the problems with that. 1. There is no "name" property for anything in Gambas. I hope someday Benoit will change his mind about this ;) Of course, in the example you give, the .name property in VB would have returned "hButton" so you would have been trying to delete "hButton(hButton)". 2. Adding multiple controls with the same name does not result in a control array being created in Gambas. Here is how I would write that routine (obviously not checked for syntax): DIM hButtons as NEW Object[] ' You probably want to make hButtons public and initialize it ' in your Form_Open before doing any of this. DO WHILE TRUE hButton = NEW Button(ME) AS "Station" hButton.X = rData!DLongitude hButton.Y = rData!DLatitude hButton.Raise hButton.Text = rData!Station hButton.Width = 75 hButton.Height = 7 hButton.Font.Size = 6 hButton.Picture = Picture[rData!Icon] hButton.Tag = rData!Statusline hButtons[rData!Station] = hButton ' You didn't mention which field contained the name of ' the button, so substitute that field for rData!Station ' here and below. mCount = mCount + 1 IF rdata!station = "THORN" THEN textbox1.Text = rData!Station hbuttons[rData!Station].delete END IF IF mCOunt = rData.Count THEN BREAK ENDIF rdata.MoveNext LOOP When you later wish to delete buttons, iterate through the hButtons array and check in the database to see if the button should be deleted. Rob From jeffjohnson at ...377... Fri Jun 24 02:52:36 2005 From: jeffjohnson at ...377... (Jeff Johnson) Date: Thu, 23 Jun 2005 19:52:36 -0500 Subject: [Gambas-user] dateadd In-Reply-To: <200506232016.38799.sourceforge-raindog2@...94...> References: <200506202059.20732.jeffjohnson@...377...> <200506231736.23069.jeffjohnson@...377...> <200506232016.38799.sourceforge-raindog2@...94...> Message-ID: <200506231952.36330.jeffjohnson@...377...> I will work on it.. I am sorry I just added in the wrong part.. I was using hButton.Text not .name.. Bouncing back and forth between VB and Gambas too much. It may not be able to be done.. But will play around with the object concept.. Thanks for all your help, I have it reading the TCPIP aprs servers, and 2 radio TNC's and my home radio station and sorting everything out and transmitting via the radio my station. I just have not been able to delete a stupid button.. On Thursday 23 June 2005 19:16, Rob wrote: > On Thursday 23 June 2005 18:36, Jeff Johnson wrote: > > textbox1.Text = hbutton.name > > i = hbutton.name > > hbutton(i).delete > > Well, here are the problems with that. > > 1. There is no "name" property for anything in Gambas. I hope someday > Benoit will change his mind about this ;) Of course, in the example > you give, the .name property in VB would have returned "hButton" so > you would have been trying to delete "hButton(hButton)". > > 2. Adding multiple controls with the same name does not result in a > control array being created in Gambas. > > Here is how I would write that routine (obviously not checked for > syntax): > > DIM hButtons as NEW Object[] > ' You probably want to make hButtons public and initialize it > ' in your Form_Open before doing any of this. > > DO WHILE TRUE > hButton = NEW Button(ME) AS "Station" > hButton.X = rData!DLongitude > hButton.Y = rData!DLatitude > hButton.Raise > hButton.Text = rData!Station > hButton.Width = 75 > hButton.Height = 7 > hButton.Font.Size = 6 > hButton.Picture = Picture[rData!Icon] > hButton.Tag = rData!Statusline > hButtons[rData!Station] = hButton > ' You didn't mention which field contained the name of > ' the button, so substitute that field for rData!Station > ' here and below. > mCount = mCount + 1 > > IF rdata!station = "THORN" THEN > textbox1.Text = rData!Station > hbuttons[rData!Station].delete > END IF > > IF mCOunt = rData.Count THEN > BREAK > ENDIF > rdata.MoveNext > LOOP > > When you later wish to delete buttons, iterate through the hButtons > array and check in the database to see if the button should be > deleted. > > Rob > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gindelhe at ...43... Fri Jun 24 11:23:17 2005 From: gindelhe at ...43... (Gindele Hal.) Date: Fri, 24 Jun 2005 02:23:17 -0700 (PDT) Subject: [Gambas-user] Compiling Gambas1.0.6 or 1.9.9 with Fedora4 and GCC4 Message-ID: <20050624092317.48949.qmail@...1015...> Hello. Has anyone had any luck getting this compile to work? Here is what I get when I try to do a make: CCurl.c:175: error: invalid lvalue in assignment CCurl.c:182: error: invalid lvalue in assignment CCurl.c:188: error: invalid lvalue in assignment CCurl.c: In function 'CCURL_stop': CCurl.c:204: warning: passing argument 1 of 'fclose' from incompatible pointer type CCurl.c:205: error: invalid lvalue in assignment CCurl.c:212: error: invalid lvalue in assignment CCurl.c:214: error: invalid lvalue in assignment CCurl.c: In function 'CCURL_URL': CCurl.c:407: error: invalid lvalue in assignment CCurl.c: In function 'CCURL_new': CCurl.c:425: error: invalid lvalue in assignment CCurl.c:426: error: invalid lvalue in assignment CCurl.c:427: error: invalid lvalue in assignment CCurl.c:433: warning: assignment from incompatible pointer type CCurl.c: In function 'CCURL_free': CCurl.c:442: warning: passing argument 1 of 'fclose' from incompatible pointer type make[4]: *** [CCurl.lo] Error 1 make[4]: Leaving directory `/home/gindelhe/source/gambas2-1.9.9/gb.net.curl/src'make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/gindelhe/source/gambas2-1.9.9/gb.net.curl' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/gindelhe/source/gambas2-1.9.9/gb.net.curl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/gindelhe/source/gambas2-1.9.9' make: *** [all] Error 2 If no one could help I will do what the Author(s) say to do and email it to him. Thanks, Hal. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From rporticio at ...43... Fri Jun 24 11:26:35 2005 From: rporticio at ...43... (Ramon Orticio) Date: Fri, 24 Jun 2005 02:26:35 -0700 (PDT) Subject: [Gambas-user] error in compilation Message-ID: <20050624092635.2977.qmail@...1016...> Benoit, may i submit to you the attached output.txt in connection to the above-mention subject. i am using redhat 9 linux with installed qt 3.1 and postgresql 7 thank you for your assistance. i hope that i can use gambas im my computer with your help. ramon orticio __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: output.txt URL: From gambas at ...1... Fri Jun 24 12:15:38 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 24 Jun 2005 12:15:38 +0200 Subject: [Gambas-user] Compiling Gambas1.0.6 or 1.9.9 with Fedora4 and GCC4 In-Reply-To: <20050624092317.48949.qmail@...1015...> References: <20050624092317.48949.qmail@...1015...> Message-ID: <200506241215.38753.gambas@...1...> On Friday 24 June 2005 11:23, Gindele Hal. wrote: > Hello. > > Has anyone had any luck getting this compile to work? > Here is what I get when I try to do a make: > CCurl.c:175: error: invalid lvalue in assignment > CCurl.c:182: error: invalid lvalue in assignment > CCurl.c:188: error: invalid lvalue in assignment > CCurl.c: In function 'CCURL_stop': > CCurl.c:204: warning: passing argument 1 of 'fclose' > from incompatible pointer type > CCurl.c:205: error: invalid lvalue in assignment > CCurl.c:212: error: invalid lvalue in assignment > CCurl.c:214: error: invalid lvalue in assignment > CCurl.c: In function 'CCURL_URL': > CCurl.c:407: error: invalid lvalue in assignment > CCurl.c: In function 'CCURL_new': > CCurl.c:425: error: invalid lvalue in assignment > CCurl.c:426: error: invalid lvalue in assignment > CCurl.c:427: error: invalid lvalue in assignment > CCurl.c:433: warning: assignment from incompatible > pointer type > CCurl.c: In function 'CCURL_free': > CCurl.c:442: warning: passing argument 1 of 'fclose' > from incompatible > pointer type > make[4]: *** [CCurl.lo] Error 1 > make[4]: Leaving directory > `/home/gindelhe/source/gambas2-1.9.9/gb.net.curl/src'make[3]: > *** [all-recursive] Error 1 > make[3]: Leaving directory > `/home/gindelhe/source/gambas2-1.9.9/gb.net.curl' > make[2]: *** [all] Error 2 > make[2]: Leaving directory > `/home/gindelhe/source/gambas2-1.9.9/gb.net.curl' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/home/gindelhe/source/gambas2-1.9.9' > make: *** [all] Error 2 > > If no one could help I will do what the Author(s) say > to do and email it to him. > > Thanks, > Hal. > Which version of gcc do you use ? I think it is too recent :-) As I use a Mandrake 10.2, I never use a recent gcc as on RedHat/Fedora, so I don't see these compilation problems immediately. These errors come from C macros that newer version of gcc don't like anymore. They must be rewritten... Do you hear me Daniel ? ;-) -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...282... Fri Jun 24 12:57:14 2005 From: danielcampos at ...282... (Daniel Campos) Date: Fri, 24 Jun 2005 12:57:14 +0200 Subject: [Gambas-user] Compiling Gambas1.0.6 or 1.9.9 with Fedora4 and GCC4 In-Reply-To: <200506241215.38753.gambas@...1...> References: <20050624092317.48949.qmail@...1015...> <200506241215.38753.gambas@...1...> Message-ID: <42BBE70A.3030607@...282...> > > > >Which version of gcc do you use ? I think it is too recent :-) > >As I use a Mandrake 10.2, I never use a recent gcc as on RedHat/Fedora, so I >don't see these compilation problems immediately. > >These errors come from C macros that newer version of gcc don't like anymore. >They must be rewritten... Do you hear me Daniel ? ;-) > > Yes, I do... well, I hope this weeknd I will have the time to do it. I love very much gcc, these changes, the C++ ABI incompatible from version to version, it is really a cool and friendly compiler I will correct it soon. Regards, D. Campos From danielcampos at ...282... Fri Jun 24 13:03:34 2005 From: danielcampos at ...282... (Daniel Campos) Date: Fri, 24 Jun 2005 13:03:34 +0200 Subject: [Gambas-user] error in compilation In-Reply-To: <20050624092635.2977.qmail@...1016...> References: <20050624092635.2977.qmail@...1016...> Message-ID: <42BBE886.5060401@...282...> Hi: Your libxml version is old, and it has not the XmlWriter API. You should upgrade libxml ( http://www.xmlsoft.org ) or disable that component. Regards, D. Campos Ramon Orticio escribi?: > > Benoit, > > may i submit to you the attached output.txt in > connection > to the above-mention subject. > > i am using redhat 9 linux with installed qt 3.1 and > postgresql 7 > > thank you for your assistance. i hope that i can use > gambas im my computer with your help. > > ramon orticio > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com > >------------------------------------------------------------------------ > >checking whether to enable maintainer-specific portions of Makefiles... no >checking for a BSD-compatible install... /usr/bin/install -c >checking whether build environment is sane... yes >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking build system type... i686-pc-linux-gnu >checking host system type... i686-pc-linux-gnu >checking for gcc... gcc >checking for C compiler default output... a.out >checking whether the C compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether gcc accepts -g... yes >checking for gcc option to accept ANSI C... none needed >checking for style of include used by make... GNU >checking dependency style of gcc... gcc3 >checking how to run the C preprocessor... gcc -E >checking for g++... g++ >checking whether we are using the GNU C++ compiler... yes >checking whether g++ accepts -g... yes >checking dependency style of g++... gcc3 >checking for a BSD-compatible install... /usr/bin/install -c >checking whether ln -s works... yes >checking whether make sets $(MAKE)... (cached) yes >checking for dirent.h that defines DIR... yes >checking for library containing opendir... none required >checking for egrep... grep -E >checking for ANSI C header files... yes >checking for sys/wait.h that is POSIX.1 compatible... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking fcntl.h usability... yes >checking fcntl.h presence... yes >checking for fcntl.h... yes >checking limits.h usability... yes >checking limits.h presence... yes >checking for limits.h... yes >checking malloc.h usability... yes >checking malloc.h presence... yes >checking for malloc.h... yes >checking for strings.h... (cached) yes >checking sys/ioctl.h usability... yes >checking sys/ioctl.h presence... yes >checking for sys/ioctl.h... yes >checking sys/time.h usability... yes >checking sys/time.h presence... yes >checking for sys/time.h... yes >checking for unistd.h... (cached) yes >checking for an ANSI C-conforming const... yes >checking for pid_t... yes >checking for size_t... yes >checking whether time.h and sys/time.h may both be included... yes >checking whether struct tm is in sys/time.h or time.h... time.h >checking for working alloca.h... yes >checking for alloca... yes >checking whether gcc needs -traditional... no >checking return type of signal handlers... void >checking for working strcoll... yes >checking for strftime... yes >checking for vprintf... yes >checking for _doprnt... no >checking for wait3 that fills in rusage... yes >checking for getcwd... yes >checking for gettimeofday... yes >checking for mkdir... yes >checking for rmdir... yes >checking for select... yes >checking for socket... yes >checking for strdup... yes >checking for strerror... yes >checking for strtod... yes >checking for strtol... yes >checking for sysinfo... yes >checking for setenv... yes >checking for unsetenv... yes >checking for getdomainname... yes >checking for a sed that does not truncate output... /bin/sed >checking for ld used by gcc... /usr/bin/ld >checking if the linker (/usr/bin/ld) is GNU ld... yes >checking for /usr/bin/ld option to reload object files... -r >checking for BSD-compatible nm... /usr/bin/nm -B >checking how to recognise dependent libraries... pass_all >checking dlfcn.h usability... yes >checking dlfcn.h presence... yes >checking for dlfcn.h... yes >checking how to run the C++ preprocessor... g++ -E >checking for g77... g77 >checking whether we are using the GNU Fortran 77 compiler... yes >checking whether g77 accepts -g... yes >checking the maximum length of command line arguments... 32768 >checking command to parse /usr/bin/nm -B output from gcc object... ok >checking for objdir... .libs >checking for ar... ar >checking for ranlib... ranlib >checking for strip... strip >checking if gcc static flag works... yes >checking if gcc supports -fno-rtti -fno-exceptions... yes >checking for gcc option to produce PIC... -fPIC >checking if gcc PIC flag -fPIC works... yes >checking if gcc supports -c -o file.o... yes >checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking for shl_load... no >checking for shl_load in -ldld... no >checking for dlopen... no >checking for dlopen in -ldl... yes >checking whether a program can dlopen itself... yes >checking whether a statically linked program can dlopen itself... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... no >configure: creating libtool >appending configuration tag "CXX" to libtool >checking for ld used by g++... /usr/bin/ld >checking if the linker (/usr/bin/ld) is GNU ld... yes >checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes >checking for g++ option to produce PIC... -fPIC >checking if g++ PIC flag -fPIC works... yes >checking if g++ supports -c -o file.o... yes >checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking for shl_load... (cached) no >checking for shl_load in -ldld... (cached) no >checking for dlopen... (cached) no >checking for dlopen in -ldl... (cached) yes >checking whether a program can dlopen itself... (cached) yes >checking whether a statically linked program can dlopen itself... (cached) yes >appending configuration tag "F77" to libtool >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... no >checking for g77 option to produce PIC... -fPIC >checking if g77 PIC flag -fPIC works... yes >checking if g77 supports -c -o file.o... yes >checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking for main in -lm... yes >checking for main in -lz... yes >checking for main in -lgcc_s... yes >checking for main in -lstdc++... yes >checking which extension is used for shared libraries... .so >checking for threading compiler options... -D_REENTRANT >checking for threading linker options... -lpthread >checking for external internationalization library headers... /usr/include/ >checking for external internationalization library libraries... no >configure: WARNING: *** external internationalization library is disabled >checking for external charset conversion library headers... /usr/include/ >checking for external charset conversion library libraries... no >configure: WARNING: *** external charset conversion library is disabled >checking for external gettext library headers... >checking for external gettext library libraries... no >configure: WARNING: *** external gettext library is disabled >checking for QT component headers... /usr/lib/qt-3.1/include/ >checking for QT component libraries... /usr/lib/qt-3.1/lib/ >checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include >checking for gethostbyname... yes >checking for connect... yes >checking for remove... yes >checking for shmat... yes >checking for IceConnectionNumber in -lICE... yes >checking for XOpenDisplay in -lX11... yes >checking for XShmAttach in -lXext... yes >checking for QT meta-object compiler... /usr/lib/qt-3.1/bin/ >checking for KDE 3.x component headers... /usr/include/kde/ >checking for KDE 3.x component libraries... /usr/lib/ >checking for Networking component headers... >checking for Networking component libraries... >checking for Advanced networking component headers... /usr/include/curl/ >checking for Advanced networking component libraries... /usr/lib/ >checking for PostgreSQL driver headers... /usr/include/pgsql/server/ /usr/include/pgsql/server/catalog/ /usr/include/ >checking for PostgreSQL driver libraries... /usr/lib/ >checking for MySQL driver headers... /usr/include/mysql/ >checking for MySQL driver libraries... /usr/lib/mysql/ >checking for SQLite driver headers... no >checking for SQLite driver libraries... no >configure: WARNING: *** SQLite driver is disabled >checking for SDL component headers... /usr/include/SDL/ >checking for SDL component libraries... /usr/lib/ >checking for Visual Basic compatibility component headers... >checking for Visual Basic compatibility component libraries... >checking for zlib compression headers... /usr/include/ >checking for zlib compression libraries... /usr/lib/ >checking for bzlib2 compression headers... /usr/include/ >checking for bzlib2 compression libraries... /usr/lib/ >checking for XML parser component headers... /usr/include/libxml2/ >checking for XML parser component libraries... /usr/lib/ >checking for XSLT/XML parser component headers... /usr/include/ >checking for XSLT/XML parser component libraries... /usr/lib/ >configure: creating ./config.status >config.status: creating Makefile >config.status: creating src/Makefile >config.status: creating src/share/Makefile >config.status: creating src/comp/Makefile >config.status: creating src/exec/Makefile >config.status: creating src/lib/Makefile >config.status: creating src/lib/debug/Makefile >config.status: creating src/lib/eval/Makefile >config.status: creating src/lib/qt/Makefile >config.status: creating src/lib/qt/editor/Makefile >config.status: creating src/lib/qt/ext/Makefile >config.status: creating src/lib/qt/kde/Makefile >config.status: creating src/lib/qt/kde/html/Makefile >config.status: creating src/lib/db/Makefile >config.status: creating src/lib/db/mysql/Makefile >config.status: creating src/lib/db/postgresql/Makefile >config.status: creating src/lib/db/sqlite/Makefile >config.status: creating src/lib/sdl/Makefile >config.status: creating src/lib/net/Makefile >config.status: creating src/lib/net/curl/Makefile >config.status: creating src/lib/vb/Makefile >config.status: creating src/lib/compress/Makefile >config.status: creating src/lib/compress/zlib/Makefile >config.status: creating src/lib/compress/bzlib2/Makefile >config.status: creating src/lib/xml/Makefile >config.status: creating src/lib/xml/libxml/Makefile >config.status: creating src/lib/xml/libxml/xslt/Makefile >config.status: creating src/lib/xml/libxml/rpc/Makefile >config.status: creating config.h >config.status: config.h is unchanged >config.status: executing depfiles commands >configure: configuring in libltdl >configure: running /bin/sh './configure' --prefix=/opt/gambas --enable-ltdl-convenience --cache-file=/dev/null --srcdir=. >checking for a BSD-compatible install... /usr/bin/install -c >checking whether build environment is sane... yes >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking for gcc... gcc >checking for C compiler default output... a.out >checking whether the C compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether gcc accepts -g... yes >checking for gcc option to accept ANSI C... none needed >checking for style of include used by make... GNU >checking dependency style of gcc... none >checking for an ANSI C-conforming const... yes >checking for inline... inline >checking build system type... i686-pc-linux-gnu >checking host system type... i686-pc-linux-gnu >checking for a sed that does not truncate output... /bin/sed >checking for egrep... grep -E >checking for ld used by gcc... /usr/bin/ld >checking if the linker (/usr/bin/ld) is GNU ld... yes >checking for /usr/bin/ld option to reload object files... -r >checking for BSD-compatible nm... /usr/bin/nm -B >checking whether ln -s works... yes >checking how to recognise dependent libraries... pass_all >checking how to run the C preprocessor... gcc -E >checking for ANSI C header files... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking dlfcn.h usability... yes >checking dlfcn.h presence... yes >checking for dlfcn.h... yes >checking for g++... g++ >checking whether we are using the GNU C++ compiler... yes >checking whether g++ accepts -g... yes >checking dependency style of g++... none >checking how to run the C++ preprocessor... g++ -E >checking for g77... g77 >checking whether we are using the GNU Fortran 77 compiler... yes >checking whether g77 accepts -g... yes >checking the maximum length of command line arguments... 32768 >checking command to parse /usr/bin/nm -B output from gcc object... ok >checking for objdir... .libs >checking for ar... ar >checking for ranlib... ranlib >checking for strip... strip >checking if gcc static flag works... yes >checking if gcc supports -fno-rtti -fno-exceptions... yes >checking for gcc option to produce PIC... -fPIC >checking if gcc PIC flag -fPIC works... yes >checking if gcc supports -c -o file.o... yes >checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... yes >configure: creating libtool >appending configuration tag "CXX" to libtool >checking for ld used by g++... /usr/bin/ld >checking if the linker (/usr/bin/ld) is GNU ld... yes >checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes >checking for g++ option to produce PIC... -fPIC >checking if g++ PIC flag -fPIC works... yes >checking if g++ supports -c -o file.o... yes >checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >appending configuration tag "F77" to libtool >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... yes >checking for g77 option to produce PIC... -fPIC >checking if g77 PIC flag -fPIC works... yes >checking if g77 supports -c -o file.o... yes >checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking for dirent.h that defines DIR... yes >checking for library containing opendir... none required >checking which extension is used for loadable modules... .so >checking which variable specifies run-time library path... LD_LIBRARY_PATH >checking for the default library search path... /lib /usr/lib /usr/X11R6/lib /usr/kerberos/lib /usr/X11R6/lib /usr/lib/sane /usr/lib/qt-3.1/lib /usr/lib/mysql /usr/lib/qt2/lib >checking for objdir... .libs >checking whether libtool supports -dlopen/-dlpreopen... yes >checking for shl_load... no >checking for shl_load in -ldld... no >checking for dlopen in -ldl... yes >checking for dlerror... yes >checking for _ prefix in compiled symbols... no >checking whether deplibs are loaded by dlopen... yes >checking argz.h usability... yes >checking argz.h presence... yes >checking for argz.h... yes >checking for error_t... yes >checking for argz_append... yes >checking for argz_create_sep... yes >checking for argz_insert... yes >checking for argz_next... yes >checking for argz_stringify... yes >checking assert.h usability... yes >checking assert.h presence... yes >checking for assert.h... yes >checking ctype.h usability... yes >checking ctype.h presence... yes >checking for ctype.h... yes >checking errno.h usability... yes >checking errno.h presence... yes >checking for errno.h... yes >checking malloc.h usability... yes >checking malloc.h presence... yes >checking for malloc.h... yes >checking for memory.h... (cached) yes >checking for stdlib.h... (cached) yes >checking stdio.h usability... yes >checking stdio.h presence... yes >checking for stdio.h... yes >checking for unistd.h... (cached) yes >checking dl.h usability... no >checking dl.h presence... no >checking for dl.h... no >checking sys/dl.h usability... no >checking sys/dl.h presence... no >checking for sys/dl.h... no >checking dld.h usability... no >checking dld.h presence... no >checking for dld.h... no >checking mach-o/dyld.h usability... no >checking mach-o/dyld.h presence... no >checking for mach-o/dyld.h... no >checking for string.h... (cached) yes >checking for strchr... yes >checking for strrchr... yes >checking for memcpy... yes >checking for memmove... yes >checking for strcmp... yes >checking for closedir... yes >checking for opendir... yes >checking for readdir... yes >configure: creating ./config.status >config.status: creating Makefile >config.status: creating config.h >config.status: config.h is unchanged >config.status: executing depfiles commands >make all-recursive >make[1]: Entering directory `/home/LinuxBasic/gambas-1.0.6' >Making all in libltdl >make[2]: Entering directory `/home/LinuxBasic/gambas-1.0.6/libltdl' >make all-am >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/libltdl' >/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c -o ltdl.lo `test -f 'ltdl.c' || echo './'`ltdl.c > gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -fPIC -DPIC -o .libs/ltdl.o > gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1 >/bin/sh ./libtool --mode=link gcc -g -O2 -o libltdlc.la ltdl.lo -ldl >rm -fr .libs/libltdlc.a .libs/libltdlc.la >ar cru .libs/libltdlc.a .libs/ltdl.o >ranlib .libs/libltdlc.a >creating libltdlc.la >(cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la) >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/libltdl' >make[2]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/libltdl' >Making all in src >make[2]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src' >Making all in share >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/share' >make[3]: Nothing to be done for `all'. >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/share' >Making all in comp >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/comp' >make[3]: Nothing to be done for `all'. >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/comp' >Making all in exec >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/exec' >make[3]: Nothing to be done for `all'. >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/exec' >Making all in lib >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib' >Making all in debug >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/debug' >make[4]: Nothing to be done for `all'. >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/debug' >Making all in eval >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/eval' >make[4]: Nothing to be done for `all'. >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/eval' >Making all in db >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db' >Making all in mysql >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/mysql' >make[5]: Nothing to be done for `all'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/mysql' >Making all in postgresql >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/postgresql' >make[5]: Nothing to be done for `all'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/postgresql' >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db' >make[5]: Nothing to be done for `all-am'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db' >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db' >Making all in compress >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress' >Making all in zlib >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/zlib' >make[5]: Nothing to be done for `all'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/zlib' >Making all in bzlib2 >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/bzlib2' >make[5]: Nothing to be done for `all'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/bzlib2' >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress' >make[5]: Nothing to be done for `all-am'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress' >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress' >Making all in xml >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml' >Making all in libxml >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml' >Making all in xslt >make[6]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/xslt' >make[6]: Nothing to be done for `all'. >make[6]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/xslt' >Making all in rpc >make[6]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/rpc' >source='CXmlRpc.c' object='CXmlRpc.lo' libtool=yes \ >depfile='.deps/CXmlRpc.Plo' tmpdepfile='.deps/CXmlRpc.TPlo' \ >depmode=gcc3 /bin/sh ../../../../../depcomp \ >/bin/sh ../../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c -o CXmlRpc.lo `test -f 'CXmlRpc.c' || echo './'`CXmlRpc.c > gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c CXmlRpc.c -MT CXmlRpc.lo -MD -MP -MF .deps/CXmlRpc.TPlo -fPIC -DPIC -o .libs/CXmlRpc.o >CXmlRpc.c:31:30: libxml/xmlwriter.h: No such file or directory >CXmlRpc.c: In function `CXMLRPC_Call': >CXmlRpc.c:119: `xmlTextWriterPtr' undeclared (first use in this function) >CXmlRpc.c:119: (Each undeclared identifier is reported only once >CXmlRpc.c:119: for each function it appears in.) >CXmlRpc.c:119: parse error before "writer" >CXmlRpc.c:154: `writer' undeclared (first use in this function) >CXmlRpc.c:154: warning: implicit declaration of function `xmlNewTextWriterMemory' >CXmlRpc.c:155: warning: implicit declaration of function `xmlTextWriterSetIndent' >CXmlRpc.c:156: warning: implicit declaration of function `xmlTextWriterStartDocument' >CXmlRpc.c:158: warning: implicit declaration of function `xmlTextWriterStartElement' >CXmlRpc.c:159: warning: implicit declaration of function `xmlTextWriterWriteElement' >CXmlRpc.c:202: warning: implicit declaration of function `xmlTextWriterEndElement' >CXmlRpc.c:206: warning: implicit declaration of function `xmlTextWriterEndDocument' >CXmlRpc.c:207: warning: implicit declaration of function `xmlFreeTextWriter' >CXmlRpc.c:113: warning: unused variable `cname' >make[6]: *** [CXmlRpc.lo] Error 1 >make[6]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/rpc' >make[5]: *** [all-recursive] Error 1 >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml' >make[4]: *** [all-recursive] Error 1 >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml' >make[3]: *** [all-recursive] Error 1 >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib' >make[2]: *** [all-recursive] Error 1 >make[2]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src' >make[1]: *** [all-recursive] Error 1 >make[1]: Leaving directory `/home/LinuxBasic/gambas-1.0.6' >make: *** [all] Error 2 >Making install in libltdl >make[1]: Entering directory `/home/LinuxBasic/gambas-1.0.6/libltdl' >make[2]: Entering directory `/home/LinuxBasic/gambas-1.0.6/libltdl' >/bin/sh ./mkinstalldirs /opt/gambas/lib >/bin/sh ./mkinstalldirs /opt/gambas/include >make[2]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/libltdl' >make[1]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/libltdl' >Making install in src >make[1]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src' >Making install in share >make[2]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/share' >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/share' >make[3]: Nothing to be done for `install-exec-am'. >make[3]: Nothing to be done for `install-data-am'. >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/share' >make[2]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/share' >Making install in comp >make[2]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/comp' >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/comp' >/bin/sh ../../mkinstalldirs /opt/gambas/bin > /bin/sh ../../libtool --mode=install /usr/bin/install -c gbc /opt/gambas/bin/gbc >/usr/bin/install -c gbc /opt/gambas/bin/gbc > /bin/sh ../../libtool --mode=install /usr/bin/install -c gba /opt/gambas/bin/gba >/usr/bin/install -c gba /opt/gambas/bin/gba > /bin/sh ../../libtool --mode=install /usr/bin/install -c gbi /opt/gambas/bin/gbi >/usr/bin/install -c gbi /opt/gambas/bin/gbi >make[3]: Nothing to be done for `install-data-am'. >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/comp' >make[2]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/comp' >Making install in exec >make[2]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/exec' >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/exec' >/bin/sh ../../mkinstalldirs /opt/gambas/bin > /bin/sh ../../libtool --mode=install /usr/bin/install -c gbx /opt/gambas/bin/gbx >/usr/bin/install -c gbx /opt/gambas/bin/gbx >/bin/sh ../../mkinstalldirs /opt/gambas/lib/gambas > /bin/sh ../../libtool --mode=install /usr/bin/install -c lib.gb.la /opt/gambas/lib/gambas/lib.gb.la >/usr/bin/install -c .libs/lib.gb.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.so.0.0.0 >(cd /opt/gambas/lib/gambas && rm -f lib.gb.so.0 && ln -s lib.gb.so.0.0.0 lib.gb.so.0) >(cd /opt/gambas/lib/gambas && rm -f lib.gb.so && ln -s lib.gb.so.0.0.0 lib.gb.so) >/usr/bin/install -c .libs/lib.gb.lai /opt/gambas/lib/gambas/lib.gb.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib/gambas > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[3]: Nothing to be done for `install-data-am'. >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/exec' >make[2]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/exec' >Making install in lib >make[2]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib' >Making install in debug >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/debug' >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/debug' >/bin/sh ../../../mkinstalldirs /opt/gambas/lib/gambas > /bin/sh ../../../libtool --mode=install /usr/bin/install -c lib.gb.debug.la /opt/gambas/lib/gambas/lib.gb.debug.la >/usr/bin/install -c .libs/lib.gb.debug.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.debug.so.0.0.0 >(cd /opt/gambas/lib/gambas && rm -f lib.gb.debug.so.0 && ln -s lib.gb.debug.so.0.0.0 lib.gb.debug.so.0) >(cd /opt/gambas/lib/gambas && rm -f lib.gb.debug.so && ln -s lib.gb.debug.so.0.0.0 lib.gb.debug.so) >/usr/bin/install -c .libs/lib.gb.debug.lai /opt/gambas/lib/gambas/lib.gb.debug.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib/gambas > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[4]: Nothing to be done for `install-data-am'. >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/debug' >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/debug' >Making install in eval >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/eval' >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/eval' >/bin/sh ../../../mkinstalldirs /opt/gambas/lib/gambas > /bin/sh ../../../libtool --mode=install /usr/bin/install -c lib.gb.eval.la /opt/gambas/lib/gambas/lib.gb.eval.la >/usr/bin/install -c .libs/lib.gb.eval.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.eval.so.0.0.0 >(cd /opt/gambas/lib/gambas && rm -f lib.gb.eval.so.0 && ln -s lib.gb.eval.so.0.0.0 lib.gb.eval.so.0) >(cd /opt/gambas/lib/gambas && rm -f lib.gb.eval.so && ln -s lib.gb.eval.so.0.0.0 lib.gb.eval.so) >/usr/bin/install -c .libs/lib.gb.eval.lai /opt/gambas/lib/gambas/lib.gb.eval.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib/gambas > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[4]: Nothing to be done for `install-data-am'. >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/eval' >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/eval' >Making install in db >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db' >Making install in mysql >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/mysql' >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/mysql' >/bin/sh ../../../../mkinstalldirs /opt/gambas/lib/gambas > /bin/sh ../../../../libtool --mode=install /usr/bin/install -c lib.gb.db.mysql.la /opt/gambas/lib/gambas/lib.gb.db.mysql.la >/usr/bin/install -c .libs/lib.gb.db.mysql.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.db.mysql.so.0.0.0 >(cd /opt/gambas/lib/gambas && rm -f lib.gb.db.mysql.so.0 && ln -s lib.gb.db.mysql.so.0.0.0 lib.gb.db.mysql.so.0) >(cd /opt/gambas/lib/gambas && rm -f lib.gb.db.mysql.so && ln -s lib.gb.db.mysql.so.0.0.0 lib.gb.db.mysql.so) >/usr/bin/install -c .libs/lib.gb.db.mysql.lai /opt/gambas/lib/gambas/lib.gb.db.mysql.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib/gambas > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[5]: Nothing to be done for `install-data-am'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/mysql' >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/mysql' >Making install in postgresql >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/postgresql' >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/postgresql' >/bin/sh ../../../../mkinstalldirs /opt/gambas/lib/gambas > /bin/sh ../../../../libtool --mode=install /usr/bin/install -c lib.gb.db.postgresql.la /opt/gambas/lib/gambas/lib.gb.db.postgresql.la >/usr/bin/install -c .libs/lib.gb.db.postgresql.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.db.postgresql.so.0.0.0 >(cd /opt/gambas/lib/gambas && rm -f lib.gb.db.postgresql.so.0 && ln -s lib.gb.db.postgresql.so.0.0.0 lib.gb.db.postgresql.so.0) >(cd /opt/gambas/lib/gambas && rm -f lib.gb.db.postgresql.so && ln -s lib.gb.db.postgresql.so.0.0.0 lib.gb.db.postgresql.so) >/usr/bin/install -c .libs/lib.gb.db.postgresql.lai /opt/gambas/lib/gambas/lib.gb.db.postgresql.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib/gambas > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[5]: Nothing to be done for `install-data-am'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/postgresql' >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/postgresql' >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db' >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db' >/bin/sh ../../../mkinstalldirs /opt/gambas/lib/gambas > /bin/sh ../../../libtool --mode=install /usr/bin/install -c lib.gb.db.la /opt/gambas/lib/gambas/lib.gb.db.la >/usr/bin/install -c .libs/lib.gb.db.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.db.so.0.0.0 >(cd /opt/gambas/lib/gambas && rm -f lib.gb.db.so.0 && ln -s lib.gb.db.so.0.0.0 lib.gb.db.so.0) >(cd /opt/gambas/lib/gambas && rm -f lib.gb.db.so && ln -s lib.gb.db.so.0.0.0 lib.gb.db.so) >/usr/bin/install -c .libs/lib.gb.db.lai /opt/gambas/lib/gambas/lib.gb.db.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib/gambas > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[5]: Nothing to be done for `install-data-am'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db' >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db' >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db' >Making install in compress >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress' >Making install in zlib >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/zlib' >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/zlib' >/bin/sh ../../../../mkinstalldirs /opt/gambas/lib/gambas > /bin/sh ../../../../libtool --mode=install /usr/bin/install -c lib.gb.compress.zlib.la /opt/gambas/lib/gambas/lib.gb.compress.zlib.la >/usr/bin/install -c .libs/lib.gb.compress.zlib.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.compress.zlib.so.0.0.0 >(cd /opt/gambas/lib/gambas && rm -f lib.gb.compress.zlib.so.0 && ln -s lib.gb.compress.zlib.so.0.0.0 lib.gb.compress.zlib.so.0) >(cd /opt/gambas/lib/gambas && rm -f lib.gb.compress.zlib.so && ln -s lib.gb.compress.zlib.so.0.0.0 lib.gb.compress.zlib.so) >/usr/bin/install -c .libs/lib.gb.compress.zlib.lai /opt/gambas/lib/gambas/lib.gb.compress.zlib.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib/gambas > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[5]: Nothing to be done for `install-data-am'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/zlib' >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/zlib' >Making install in bzlib2 >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/bzlib2' >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/bzlib2' >/bin/sh ../../../../mkinstalldirs /opt/gambas/lib/gambas > /bin/sh ../../../../libtool --mode=install /usr/bin/install -c lib.gb.compress.bzlib2.la /opt/gambas/lib/gambas/lib.gb.compress.bzlib2.la >/usr/bin/install -c .libs/lib.gb.compress.bzlib2.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.compress.bzlib2.so.0.0.0 >(cd /opt/gambas/lib/gambas && rm -f lib.gb.compress.bzlib2.so.0 && ln -s lib.gb.compress.bzlib2.so.0.0.0 lib.gb.compress.bzlib2.so.0) >(cd /opt/gambas/lib/gambas && rm -f lib.gb.compress.bzlib2.so && ln -s lib.gb.compress.bzlib2.so.0.0.0 lib.gb.compress.bzlib2.so) >/usr/bin/install -c .libs/lib.gb.compress.bzlib2.lai /opt/gambas/lib/gambas/lib.gb.compress.bzlib2.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib/gambas > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[5]: Nothing to be done for `install-data-am'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/bzlib2' >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/bzlib2' >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress' >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress' >/bin/sh ../../../mkinstalldirs /opt/gambas/lib/gambas > /bin/sh ../../../libtool --mode=install /usr/bin/install -c lib.gb.compress.la /opt/gambas/lib/gambas/lib.gb.compress.la >/usr/bin/install -c .libs/lib.gb.compress.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.compress.so.0.0.0 >(cd /opt/gambas/lib/gambas && rm -f lib.gb.compress.so.0 && ln -s lib.gb.compress.so.0.0.0 lib.gb.compress.so.0) >(cd /opt/gambas/lib/gambas && rm -f lib.gb.compress.so && ln -s lib.gb.compress.so.0.0.0 lib.gb.compress.so) >/usr/bin/install -c .libs/lib.gb.compress.lai /opt/gambas/lib/gambas/lib.gb.compress.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib/gambas > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[5]: Nothing to be done for `install-data-am'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress' >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress' >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress' >Making install in xml >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml' >Making install in libxml >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml' >Making install in xslt >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/xslt' >make[6]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/xslt' >/bin/sh ../../../../../mkinstalldirs /opt/gambas/lib/gambas > /bin/sh ../../../../../libtool --mode=install /usr/bin/install -c lib.gb.xml.libxml.xslt.la /opt/gambas/lib/gambas/lib.gb.xml.libxml.xslt.la >/usr/bin/install -c .libs/lib.gb.xml.libxml.xslt.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.xml.libxml.xslt.so.0.0.0 >(cd /opt/gambas/lib/gambas && rm -f lib.gb.xml.libxml.xslt.so.0 && ln -s lib.gb.xml.libxml.xslt.so.0.0.0 lib.gb.xml.libxml.xslt.so.0) >(cd /opt/gambas/lib/gambas && rm -f lib.gb.xml.libxml.xslt.so && ln -s lib.gb.xml.libxml.xslt.so.0.0.0 lib.gb.xml.libxml.xslt.so) >/usr/bin/install -c .libs/lib.gb.xml.libxml.xslt.lai /opt/gambas/lib/gambas/lib.gb.xml.libxml.xslt.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib/gambas > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[6]: Nothing to be done for `install-data-am'. >make[6]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/xslt' >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/xslt' >Making install in rpc >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/rpc' >source='CXmlRpc.c' object='CXmlRpc.lo' libtool=yes \ >depfile='.deps/CXmlRpc.Plo' tmpdepfile='.deps/CXmlRpc.TPlo' \ >depmode=gcc3 /bin/sh ../../../../../depcomp \ >/bin/sh ../../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c -o CXmlRpc.lo `test -f 'CXmlRpc.c' || echo './'`CXmlRpc.c > gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c CXmlRpc.c -MT CXmlRpc.lo -MD -MP -MF .deps/CXmlRpc.TPlo -fPIC -DPIC -o .libs/CXmlRpc.o >CXmlRpc.c:31:30: libxml/xmlwriter.h: No such file or directory >CXmlRpc.c: In function `CXMLRPC_Call': >CXmlRpc.c:119: `xmlTextWriterPtr' undeclared (first use in this function) >CXmlRpc.c:119: (Each undeclared identifier is reported only once >CXmlRpc.c:119: for each function it appears in.) >CXmlRpc.c:119: parse error before "writer" >CXmlRpc.c:154: `writer' undeclared (first use in this function) >CXmlRpc.c:154: warning: implicit declaration of function `xmlNewTextWriterMemory' >CXmlRpc.c:155: warning: implicit declaration of function `xmlTextWriterSetIndent' >CXmlRpc.c:156: warning: implicit declaration of function `xmlTextWriterStartDocument' >CXmlRpc.c:158: warning: implicit declaration of function `xmlTextWriterStartElement' >CXmlRpc.c:159: warning: implicit declaration of function `xmlTextWriterWriteElement' >CXmlRpc.c:202: warning: implicit declaration of function `xmlTextWriterEndElement' >CXmlRpc.c:206: warning: implicit declaration of function `xmlTextWriterEndDocument' >CXmlRpc.c:207: warning: implicit declaration of function `xmlFreeTextWriter' >CXmlRpc.c:113: warning: unused variable `cname' >make[5]: *** [CXmlRpc.lo] Error 1 >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/rpc' >make[4]: *** [install-recursive] Error 1 >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml' >make[3]: *** [install-recursive] Error 1 >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml' >make[2]: *** [install-recursive] Error 1 >make[2]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib' >make[1]: *** [install-recursive] Error 1 >make[1]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src' >make: *** [install-recursive] Error 1 > > > From gambas at ...1... Fri Jun 24 13:08:12 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 24 Jun 2005 13:08:12 +0200 Subject: [Gambas-user] Object Printer | Printer.Setup() only show the installed printer not another types In-Reply-To: <2A65DAC7.3F285AA5.001B903D@...87...> References: <2A65DAC7.3F285AA5.001B903D@...87...> Message-ID: <200506241308.13587.gambas@...1...> On Wednesday 22 June 2005 23:20, Wsouzap at ...87... wrote: > Object Printer | Printer.Setup() only show the instaled printer not another > types In KWord print option show: > my installed printer > Print to file (PDF > Send to Fax > Print to file (PostScript) > AND > in Gambas printer.Setup() only my installed printer > > I'm need print to pdf file > > I'm use this method above: > > IF Printer.Setup() THEN RETURN > > >> printer.Name = "Imprimir para o Arquivo (PDF)" || "Print to file (PDF) > >> printer.File = "/home/kurumin/teste.pdf" > > printer.Size = "A4" > > draw.Begin(printer) > > draw.ForeColor = color.Red > draw.BackColor = color.Yellow > draw.Font.Size = 22 > draw.Font.Bold = TRUE > draw.FillColor = color.Yellow > draw.FillStyle = fill.Solid > draw.Rect(0,0,600,30) > draw.Text("This printing is a pdf file",0,0,600,30,align.Center) > > draw.End > > D'nt work because printer.setup() not show another methods. > > If have another method to print to pdf file, please send for us. > > Ps.: My english is not very well. > > Reguards, > > Wellington > As a workaround, you can print to a postcript file, and then use the kprinter command to send it to a KDE printer. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Jun 24 13:10:40 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 24 Jun 2005 13:10:40 +0200 Subject: [Gambas-user] Error while trying to start Gambas In-Reply-To: <13d0d8e5050622130461018326@...627...> References: <13d0d8e505062120592d1449a2@...627...> <3810764a05062212553ad11b20@...627...> <13d0d8e5050622130461018326@...627...> Message-ID: <200506241310.40322.gambas@...1...> On Wednesday 22 June 2005 22:04, Chad Auld wrote: > Thanks Rafael, > > That's a bummer. I kind of figured someone would say that. I've had > 1.0.6 running before on my Fedora Core 3 laptop with no issues, but > this is the first time I've tried in 64bit. Well this and a few other > issues on the 64 bit version of Ubuntu may send me back to the 32 bit > version. > > On 6/22/05, Rafael de Jaime Juli? wrote: > > Hi, it seems related to the problem I have running it on Ubuntu Hoary > > ppc... It segfaults on start, and when i try compiling 1.9.9, it > > complains about my system being big-endian. So it may be that gambas > > code is not processor independent? That must be a bug... > > > > 2005/6/22, Chad Auld : > > > Hello Gambas users, > > > > > > I am running Ubuntu Hoary 5.04 - 64 bit Linux and having issues when > > > trying to start Gambas. I first tried to install the pre-built > > > packages I found in Synaptic. They installed fine, but I received the > > > following error when trying to start the app: > > > > > > sizeof(CLASS) = 256 ! > > > ERROR: #51: Bad archive: Invalid argument > > > > > > So I pulled the packages back out and tried compiling Gambas 1.0.6 > > > from source. Again, it appears to have compiled and installed > > > properly, but I get the same error when trying to start it. > > > > > > Any ides? Let me know. Thanks in advance! Chad > > > Actually, Gambas was designed to work in big and little endian, so a segfault is a bug. But Gambas code can't be compiled in 64 bits mode. I will do that when I have a 64 bits machine :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From gindelhe at ...43... Fri Jun 24 13:30:09 2005 From: gindelhe at ...43... (Gindele Hal.) Date: Fri, 24 Jun 2005 04:30:09 -0700 (PDT) Subject: [Gambas-user] Compiling Gambas1.0.6 or 1.9.9 with Fedora4 and GCC4 In-Reply-To: <200506241215.38753.gambas@...1...> Message-ID: <20050624113009.13514.qmail@...608...> Here is my gcc version: [root at ...40... gindelhe]# gcc -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=i386-redhat-linux Thread model: posix gcc version 4.0.0 20050519 (Red Hat 4.0.0-8) --- Benoit Minisini wrote: > Which version of gcc do you use ? I think it is too > recent :-) > > As I use a Mandrake 10.2, I never use a recent gcc > as on RedHat/Fedora, so I > don't see these compilation problems immediately. > > These errors come from C macros that newer version > of gcc don't like anymore. > They must be rewritten... Do you hear me Daniel ? > ;-) > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux > Migration Strategies > from IBM. Find simple to follow Roadmaps, > straightforward articles, > informative Webcasts and more! Get everything you > need to get up to > speed, fast. > http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From gambas at ...1... Fri Jun 24 16:47:48 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 24 Jun 2005 16:47:48 +0200 Subject: [Gambas-user] Release of gambas2 1.9.10 Message-ID: <200506241647.48455.gambas@...1...> Hi, Here is gambas2 1.9.10! * The child process management was redesigned. * hFile = OPEN ... This syntax replaces the old OPEN ... AS #hFile The old syntax will be removed in the future. * INPUT FROM / OUTPUT TO These new instructions redefine the default streams used by input and output instructions. Use DEFAULT to specify the standard input/output. * You can get the output of a process directly in a string. DIM sOutput AS String sOutput = SHELL "cat /etc/passwd" * GTK+ and SDL components were updated. * The clanlib compilation problem of 1.9.9 was normally fixed. To Matthias Laur: please test this version! If all is fine with your video program, I will backport the code to the stable version. Enjoy it, -- Benoit Minisini mailto:gambas at ...1... From Wsouzap at ...87... Fri Jun 24 17:28:45 2005 From: Wsouzap at ...87... (Wsouzap at ...87...) Date: Fri, 24 Jun 2005 11:28:45 -0400 Subject: [Gambas-user] Object Draw not print correct Message-ID: <2709A442.4EC4193B.001B903D@...87...> Hi! When i'm use the Object Draw, if i sent to printer not work correct, but if i send to screen in Drawning Object show correct. Example: Draw.Begin(Printer) Draw.Font.Size = 18 Draw.ForeColor = Color.Black Draw.Text("Testing...",0,0) Draw.Line(0,0,800,600) Draw.Rect(0,0,800,600) Draw.End Not print or print miniaturized, very, very small If I redirect the Draw.Begin(Dr1) --> Dr1 is my Drawning Object in Form. Show Ok Size and positions. I make one report with my logo and graphics forms, (lines, rects, circles), and when print show in my paper all in top of page. Line about line. Ps.: My english is not very well. Reguards, Wellington From lordheavy at ...512... Sat Jun 25 16:37:38 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Sat, 25 Jun 2005 16:37:38 +0200 Subject: [Gambas-user] Release of gambas2 1.9.10 In-Reply-To: <200506241647.48455.gambas@...1...> References: <200506241647.48455.gambas@...1...> Message-ID: <42BD6C32.5020500@...512...> Benoit Minisini a ?crit : > Hi, > > Here is gambas2 1.9.10! > > * The child process management was redesigned. > > * hFile = OPEN ... > This syntax replaces the old OPEN ... AS #hFile > The old syntax will be removed in the future. > > * INPUT FROM / OUTPUT TO > These new instructions redefine the default streams used by input and output > instructions. Use DEFAULT to specify the standard input/output. > > * You can get the output of a process directly in a string. > DIM sOutput AS String > sOutput = SHELL "cat /etc/passwd" > > * GTK+ and SDL components were updated. > > * The clanlib compilation problem of 1.9.9 was normally fixed. > > To Matthias Laur: please test this version! If all is fine with your video > program, I will backport the code to the stable version. > > Enjoy it, > And the link :) ? here : http://prdownloads.sourceforge.net/gambas/gambas2-1.9.10.tar.bz2?download Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From oczykota at ...988... Sun Jun 26 15:29:51 2005 From: oczykota at ...988... (Arkadiusz Zychewicz) Date: Sun, 26 Jun 2005 15:29:51 +0200 Subject: [Gambas-user] How detect in ReKeyRelease that user pres e.g. Enter Key Message-ID: <42BEADCF.1010006@...988...> in method: PUBLIC SUB TextBox1_KeyRelease() i try do some like that IF Key.Enter THEN TextBox1.Visible = FALSE or IF Key.Enter = Key.Text THEN TextBox1.Visible = FALSE or IF Key = Key.Enter THEN TextBox1.Visible = FALSE or IF Key = Enter THEN TextBox1.Visible = FALSE but this is don't work. How do it? From oreip at ...1... Sun Jun 26 15:40:41 2005 From: oreip at ...1... (PV) Date: Sun, 26 Jun 2005 15:40:41 +0200 Subject: [Gambas-user] How detect in ReKeyRelease that user pres e.g. Enter Key In-Reply-To: <42BEADCF.1010006@...988...> References: <42BEADCF.1010006@...988...> Message-ID: <42BEB059.5050207@...1...> On 26/06/2005 15:29, Arkadiusz Zychewicz wrote: > in method: PUBLIC SUB TextBox1_KeyRelease() > > i try do some like that > IF Key.Enter THEN TextBox1.Visible = FALSE > or > IF Key.Enter = Key.Text THEN TextBox1.Visible = FALSE > or > IF Key = Key.Enter THEN TextBox1.Visible = FALSE > or > IF Key = Enter THEN TextBox1.Visible = FALSE > > but this is don't work. > > How do it? Try with IF Key.Code = Key.Return THEN TextBox1.Visible = FALSE Ciao, Piero From danielcampos at ...282... Sun Jun 26 15:47:03 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sun, 26 Jun 2005 15:47:03 +0200 Subject: [Gambas-user] How detect in ReKeyRelease that user pres e.g. Enter Key In-Reply-To: <42BEADCF.1010006@...988...> References: <42BEADCF.1010006@...988...> Message-ID: <42BEB1D7.2050205@...282...> I think you want: IF Key.Code=Key.Enter THEN TextBox1.Visible = FALSE Regards, D. Campos Arkadiusz Zychewicz escribi?: > in method: PUBLIC SUB TextBox1_KeyRelease() > > i try do some like that > IF Key.Enter THEN TextBox1.Visible = FALSE > or > IF Key.Enter = Key.Text THEN TextBox1.Visible = FALSE > or > IF Key = Key.Enter THEN TextBox1.Visible = FALSE > or > IF Key = Enter THEN TextBox1.Visible = FALSE > > but this is don't work. > > How do it? > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From budi at ...415... Sun Jun 26 16:38:26 2005 From: budi at ...415... (budi at ...415...) Date: Sun, 26 Jun 2005 21:38:26 +0700 Subject: [Gambas-user] Variable Initial Assignemnt In-Reply-To: <42BEB1D7.2050205@...282...> References: <42BEADCF.1010006@...988...> <42BEB1D7.2050205@...282...> Message-ID: <1119796706.42bebde226dd3@...416...> Hi All, Can i do something like Dim i as integer = 1 or dim s as string = "default" Thanks Regards, Budi From danielcampos at ...282... Sun Jun 26 17:11:20 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sun, 26 Jun 2005 17:11:20 +0200 Subject: [Gambas-user] gb.net.curl 050626 Message-ID: <42BEC598.9020506@...282...> Component gb.net.curl - Version 050626 Hi all: I've updated the gb.net.curl component, so it is able to compile with gcc-4.0. Users from the new version of Fedora and Mandrake Cooker will be able to compile this component now. You can find and download it at: http://gambas.gnulinex.org/net Regards, D. Campos From Lamego at ...99... Sun Jun 26 21:20:33 2005 From: Lamego at ...99... (Joao Pinto) Date: Sun, 26 Jun 2005 20:20:33 +0100 Subject: [Gambas-user] Gambas2-1.9.10 - gb.gtk Message-ID: <42BF0001.8040804@...99...> When adding the gb.gtk component I get the following error on the console: gb.gtk: ColumnView.Mode: Not an object Best regards, -- Jo?o Lu?s Marques Pinto PTlink IRC Network http://www.pt-link.net PTlink IRC Software http://software.pt-link.net From rospolosco at ...152... Sun Jun 26 21:47:13 2005 From: rospolosco at ...152... (rospolosco) Date: Sun, 26 Jun 2005 21:47:13 +0200 Subject: [Gambas-user] How to transport array values from Form1 to Form2 ? Message-ID: <200506262147.13729.rospolosco@...152...> Hi, Gambas users. This is the problem. In Form1 I create 56 checkboxes with this code: 'Gambas class file MyCheckBox[14,4] AS CheckBox PUBLIC SUB Form_Open() ... prX = 340 prY = 102 FOR n = 0 TO 13 FOR m = 0 TO 3 MyCheckBox[n,m] = NEW CheckBox(ME) AS "checkboxes" MyCheckBox[n,m].X = prX MyCheckBox[n,m].Y = prY prX = prX + 40 NEXT prX = 340 prY = prY + 40 NEXT ... END Then I open the second form, Form2. In Form2 I need to know if the checkboxes I've created in Form1 are checked or not. I mean I need something like: FOR n = 0 TO 13 FOR m = 0 TO 3 PRINT MyCheckBox[n,m].value NEXT NEXT Currently I store the values of checkboxes in a file and then I read it from form2, but I would like to know if there's a more clean way to read the values of Form1 checkboxes from Form2. Note: I've read the docs of Gambas and I'm able to transport single variables from a form to another, but I'm not able to transport an entire array of checkboxes. Please, someone could help me? Thanks, Stefano From danielcampos at ...282... Sun Jun 26 22:08:17 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sun, 26 Jun 2005 22:08:17 +0200 Subject: [Gambas-user] Gambas2-1.9.10 - gb.gtk In-Reply-To: <42BF0001.8040804@...99...> References: <42BF0001.8040804@...99...> Message-ID: <42BF0B31.9010208@...282...> Joao Pinto escribi?: > When adding the gb.gtk component I get the following error on the > console: > > gb.gtk: ColumnView.Mode: Not an object > > Best regards, > Do not worry too much, it is not yet implemented. Regards, D. Campos From oczykota at ...988... Sun Jun 26 22:17:37 2005 From: oczykota at ...988... (Arkadiusz Zychewicz) Date: Sun, 26 Jun 2005 22:17:37 +0200 Subject: [Gambas-user] Licence program writed in Gambas. Message-ID: <42BF0D61.4090201@...988...> can i make in gambas program on nonGPL licensing? if no, why not? BTW. it's a good question to FAQ. Arek. From gambasfr at ...11... Sun Jun 26 22:07:48 2005 From: gambasfr at ...11... (fabien) Date: Sun, 26 Jun 2005 22:07:48 +0200 Subject: [Gambas-user] Variable Initial Assignemnt In-Reply-To: <1119796706.42bebde226dd3@...416...> References: <42BEADCF.1010006@...988...> <42BEB1D7.2050205@...282...> <1119796706.42bebde226dd3@...416...> Message-ID: <200506262207.48488.gambasfr@...11...> Le Dimanche 26 Juin 2005 16:38, budi at ...415... a ?crit?: > Hi All, > > Can i do something like > > Dim i as integer = 1 or > dim s as string = "default" > > Thanks this can be use for const only or default in optional args... Fabien > Regards, > Budi > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambasfr at ...11... Sun Jun 26 22:17:18 2005 From: gambasfr at ...11... (fabien) Date: Sun, 26 Jun 2005 22:17:18 +0200 Subject: [Gambas-user] How to transport array values from Form1 to Form2 ? In-Reply-To: <200506262147.13729.rospolosco@...152...> References: <200506262147.13729.rospolosco@...152...> Message-ID: <200506262217.18912.gambasfr@...11...> Le Dimanche 26 Juin 2005 21:47, rospolosco a ?crit?: > Hi, Gambas users. > > This is the problem. In Form1 I create 56 checkboxes with this code: > > 'Gambas class file > > MyCheckBox[14,4] AS CheckBox > > PUBLIC SUB Form_Open() > > ... > > prX = 340 > prY = 102 > > > FOR n = 0 TO 13 > FOR m = 0 TO 3 > > MyCheckBox[n,m] = NEW CheckBox(ME) AS "checkboxes" > MyCheckBox[n,m].X = prX > MyCheckBox[n,m].Y = prY > prX = prX + 40 > > NEXT > prX = 340 > prY = prY + 40 > NEXT > > ... > > END > > Then I open the second form, Form2. In Form2 I need to > know if the checkboxes I've created in Form1 are checked or not. > I mean I need something like: > > FOR n = 0 TO 13 > FOR m = 0 TO 3 > PRINT MyCheckBox[n,m].value > NEXT > NEXT > > Currently I store the values of checkboxes in a file and then I read it > from form2, but I would like to know if there's a more clean > way to read the values of Form1 checkboxes from Form2. > > Note: I've read the docs of Gambas and I'm able to transport > single variables from a form to another, but I'm not able to transport > an entire array of checkboxes. Please, someone could help me? > > Thanks, > > Stefano > > > this is the answer : in the project option dialog ... check the 'Form controls are public' check box. Next from the form do: WITH Form1 FOR n = 0 TO 13 FOR m = 0 TO 3 PRINT .MyCheckBox[n,m].value NEXT NEXT END WITH From danielcampos at ...282... Sun Jun 26 22:21:11 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sun, 26 Jun 2005 22:21:11 +0200 Subject: [Gambas-user] Licence program writed in Gambas. In-Reply-To: <42BF0D61.4090201@...988...> References: <42BF0D61.4090201@...988...> Message-ID: <42BF0E37.8080603@...282...> Arkadiusz Zychewicz escribi?: > can i make in gambas program on nonGPL licensing? > if no, why not? > > BTW. it's a good question to FAQ. You can look in the gambas-user and gambas-devel lists archives, there are some mails about this, written a time ago. You can learn more in the www.gnu.org web page too. But yes, you can do it. However if you want to use the gb.qt component, you must pay a commercial license to Trolltech. Regards, D. Campos > > Arek. > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From sourceforge-raindog2 at ...94... Sun Jun 26 22:22:28 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 26 Jun 2005 16:22:28 -0400 Subject: [Gambas-user] Licence program writed in Gambas. In-Reply-To: <42BF0D61.4090201@...988...> References: <42BF0D61.4090201@...988...> Message-ID: <200506261622.28335.sourceforge-raindog2@...94...> On Sunday 26 June 2005 16:17, Arkadiusz Zychewicz wrote: > can i make in gambas program on nonGPL licensing? > if no, why not? Currently, most Gambas programs use Qt, which itself is GPL meaning programs developed with it must be GPL as well. If you can write your program using the Gtk or SDL components (or no graphical component at all) then pretty much anything goes. That will only work with the development releases of Gambas though, since the stable releases are Qt-only. > BTW. it's a good question to FAQ. It's even better to actually read the FAQ before suggesting an addition to it. http://www.binara.com/gambas-wiki/bin/view/Gambas/WebSiteFAQ#Can_I_develop_proprietary_softwa Rob From sourceforge-raindog2 at ...94... Sun Jun 26 22:32:41 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 26 Jun 2005 16:32:41 -0400 Subject: [Gambas-user] Licence program writed in Gambas. In-Reply-To: <42BF0E37.8080603@...282...> References: <42BF0D61.4090201@...988...> <42BF0E37.8080603@...282...> Message-ID: <200506261632.41544.sourceforge-raindog2@...94...> On Sunday 26 June 2005 16:21, Daniel Campos wrote: > But yes, you can do it. However if you want to use the gb.qt > component, you must pay a commercial license to > Trolltech. I forgot about the availability of Trolltech's commercial license... assuming Gambas can be linked against the commercial version of Qt legally, he should be aware that Trolltech requires you use the commercial version for the entire development of your project, from beginning to end, and any development done using the GPL version of Qt means you must license your project as GPL. See here: http://www.trolltech.com/developer/faqs/license_gpl.html#q16 This licensing point will be moot with the release of 2.0 and the availability of a mature Gtk component, as Gtk has always been LGPL. Rob From jcostello at ...903... Sun Jun 26 22:41:11 2005 From: jcostello at ...903... (jcostello at ...903...) Date: Sun, 26 Jun 2005 17:41:11 -0300 Subject: [Gambas-user] =?iso-8859-1?Q?RE:Re:=20[Gambas-user]=20Licence=20program=20writed=20in=20Gambas.?= Message-ID: <20050626174111.D2BEF2C0.30EE41C5@...915...> Hi, That is a thing I really do not understand. You use a GPL software for your program, and then YOUR program becomes GPL, with all its implications (free, you cannot make money with it, and have to release the source code). This really restricts the developers who can be aided by free software. I think that the word "free" means you can do anything you want with the software, even selling it, making money with it, obviously mentioning the people who programmed the parts you used. Maybe this is an Offtopic, but I felt posting it here as one person started with it and was not critizised. Thanks. Juan -- Mensaje Original -- Enviado por: Daniel Campos Fecha: 26/06/2005 20:21:11 Para: T?tulo: Re: [Gambas-user] Licence program writed in Gambas. Arkadiusz Zychewicz escribi?: > can i make in gambas program on nonGPL licensing? > if no, why not? > > BTW. it's a good question to FAQ. You can look in the gambas-user and gambas-devel lists archives, there are some mails about this, written a time ago. You can learn more in the www.gnu.org web page too. But yes, you can do it. However if you want to use the gb.qt component, you must pay a commercial license to Trolltech. Regards, D. Campos > > Arek. > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op lick _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user __________________________________________________ Datafull - 100% Internet Gratis http://www.datafull.com From danielcampos at ...282... Sun Jun 26 23:47:06 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sun, 26 Jun 2005 23:47:06 +0200 Subject: [Gambas-user] RE:Re: [Gambas-user] Licence program writed in Gambas. In-Reply-To: <20050626174111.D2BEF2C0.30EE41C5@...915...> References: <20050626174111.D2BEF2C0.30EE41C5@...915...> Message-ID: <42BF225A.8030603@...282...> Hi: Note that Gambas is just an interpreter, so your Gambas code can have any licence, you have not to contribute to the community, you have not to licence your program under GPL, if you want. But if you use the gb.qt component (and I think the gb.db.mysql component), you are using functions from a GPL library, so your program must be free software, or you must pay to Trolltech or MySQL.org if you want to write propietary software. Apart from this, I do not know where's the problem: the free software concept (and specially the GPL licence), offers you freedom to earn money with your project (may be selling CDs, packaging for different distributions, giving support, writting and selling documentation, receiving money for writting an application...), but anyone has the freedom to copy, modify it and may be earn money with it too :-) . Without the second point, there's not freedom at all: You say "free software means you can do anything you want with the software, even selling it...". OK, you can, but if you were the only person allowed to modify the code, or sell it, there's no freedom at all: Your program would be just propietary software (and yes, you are allowed to do it with Gambas). At the end, the free software code is just helping, it does not restrict you nor any programmer: by now, you have here a free Basic interpreter, you can write propietary software with it, you can install a complete operating system (GNU/Linux, FreeBSD) and develope any application with it, or look for resources and documentation in the internet using Mozilla, or talk about the GPL using the Evolution or Thunderbird mail clients. You can offer to your costumers a complete operating system with your application, OpenOffice, The Gimp, Chat programs, two big graphical Desktops, Database applications, and more, all for FREE (as in beer). And you can use all LGPL and probably MIT licenced programs and libraries for FREE (as in beer). But if you just want to use the QT libraries for FREE (as in beer), to write a propietary program, you can't do it. They've licenced the library as GPL, and they offer the possibility of writting propietary programs if you just pay some money back for their effort (I think this is right, this is this is respectable). Can you compare this with the propietary world? Where's the help in propietary software? Can you modify VB if you find a bug that breaks your program? Can you have VB for free? Can you call MS for free if you have a problem? What will you do if VB6 stops working in future Win versions? You have to pay it all (operating system, RAD environment, updates) and after that, read the EULA, you have not bought anything: you have not the right to use it as you want. Can you use MS propietary soft to write a program for a GNU/Linux costumer? No, they are modifying licences and code so wine is detected and prohibited. Can you write your own drivers for free for hardware developed by your company? No, you have to pay the Driver SDK (and it is not cheap). Can you freely use the propietary file formats for MS? No, they're adding hardware protections to detect and filter "author rights". Will you be able to be a programmer in the future if you do not pay a expensive MS programming licence? NO, it is sure, it is a BIG business. These are restrictions. Regards, Daniel Campos >Hi, >That is a thing I really do not understand. You use a GPL software for your program, and then YOUR program becomes GPL, with all its implications (free, you cannot make money with it, and have to release the source code). >This really restricts the developers who can be aided by free software. I think that the word "free" means you can do anything you want with the software, even selling it, making money with it, obviously mentioning the people who programmed the parts you used. > >Maybe this is an Offtopic, but I felt posting it here as one person started with it and was not critizised. > >Thanks. > >Juan > > > >-- Mensaje Original -- >Enviado por: Daniel Campos >Fecha: 26/06/2005 20:21:11 >Para: >T?tulo: Re: [Gambas-user] Licence program writed in Gambas. > >Arkadiusz Zychewicz escribi?: > > > >>can i make in gambas program on nonGPL licensing? >>if no, why not? >> >>BTW. it's a good question to FAQ. >> >> > > >You can look in the gambas-user and gambas-devel lists archives, there >are some mails about this, written >a time ago. You can learn more in the www.gnu.org web page too. > >But yes, you can do it. However if you want to use the gb.qt component, >you must pay a commercial license to >Trolltech. > >Regards, > >D. Campos > > > > > >>Arek. >> >> >>------------------------------------------------------- >>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >>from IBM. Find simple to follow Roadmaps, straightforward articles, >>informative Webcasts and more! Get everything you need to get up to >>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op lick >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > >__________________________________________________ > >Datafull - 100% Internet Gratis >http://www.datafull.com > > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From oczykota at ...988... Sun Jun 26 23:58:46 2005 From: oczykota at ...988... (Arkadiusz Zychewicz) Date: Sun, 26 Jun 2005 23:58:46 +0200 Subject: [Gambas-user] Licence program writed in Gambas. In-Reply-To: <200506261622.28335.sourceforge-raindog2@...94...> References: <42BF0D61.4090201@...988...> <200506261622.28335.sourceforge-raindog2@...94...> Message-ID: <42BF2516.60607@...988...> Rob napisa?(a): > On Sunday 26 June 2005 16:17, Arkadiusz Zychewicz wrote: > It's even better to actually read the FAQ before suggesting an > addition to it. > > http://www.binara.com/gambas-wiki/bin/view/Gambas/WebSiteFAQ#Can_I_develop_proprietary_softwa > Oh, I looked on FAQ before but i really find it. I'm sorry. Arek. From sourceforge-raindog2 at ...94... Mon Jun 27 00:10:36 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 26 Jun 2005 18:10:36 -0400 Subject: [Gambas-user] Re: Licence program writed in Gambas. In-Reply-To: <20050626174111.D2BEF2C0.30EE41C5@...915...> References: <20050626174111.D2BEF2C0.30EE41C5@...915...> Message-ID: <200506261810.36110.sourceforge-raindog2@...94...> On Sunday 26 June 2005 16:41, jcostello at ...903... wrote: > That is a thing I really do not understand. You use a GPL software > for your program, and then YOUR program becomes GPL, with all its Well, if you're using someone else's program in your program, it's not really your program at all, is it? The end result is a program that's yours and the other guy's. > implications (free, you cannot make money with it, and have to I have made tens of thousands of dollars writing GPL software, maybe even hundreds of thousands after so long; I do it almost full-time, and I think it's safe to say it's my living. > release the source code). This really restricts the developers who > can be aided by free software. I think that the word "free" means There's a park down the street from where I live, which is free for everyone to use. If I were to build a new swing set in that park, it would become part of the park. I wouldn't be able to restrict people's use of it unless I built it somewhere other than that free park, such as my own backyard. The collective mass of available GPL code is like that park.... improve it all you like, but before you do so, be aware that you're improving it for everyone, not just yourself. I've always found that to be a fair tradeoff. > you can do anything you want with the software, even selling it, > making money with it, obviously mentioning the people who > programmed the parts you used. It sounds like you would be more comfortable with the original BSD license, which required nothing other than attribution; I would encourage you to release your own software under that license, if this is the case, assuming you write all of it yourself or only use other people's BSD-licensed or public domain code. I release my own software under the GPL because I can derive more benefit from a growing base of free software than from unit sales. Having previously worked for a company that was so paranoid about piracy that I ended up spending more time developing features to lock code to particular clients' computers and prevent them from giving it to their competition (like they actually would) than developing the actual code itself, I'm very happy with how things have turned out so far. Gambas has only made me more efficient, and I suspect that as it becomes more popular there'll be a huge pool of Gambas code that new people can draw from in a way that's not available to, for example, VB users. Rob From danielcampos at ...282... Mon Jun 27 00:27:39 2005 From: danielcampos at ...282... (Daniel Campos) Date: Mon, 27 Jun 2005 00:27:39 +0200 Subject: [Gambas-user] OPEN,SHELL,EXEC Message-ID: <42BF2BDB.3070205@...282...> Hi: I've updated my little program to convert a project from Gambas1 to Gambas2. Now it is able to change the EXEC and SHELL syntax if Gambas-1.9.9 is detected, and OPEN too is Gambas-1.9.10 or newer is detected. Here's the program: http://www.binara.com/gambas-wiki/bin/view/Gambas/ChangeProcessSyntax Regards, D. Campos From cloroetilo at ...626... Mon Jun 27 08:43:31 2005 From: cloroetilo at ...626... (PaquitoSoft) Date: Mon, 27 Jun 2005 08:43:31 +0200 Subject: [Gambas-user] Maybe a weird question Message-ID: <1119854611.771.5.camel@...37...> Hi all: I know that this question maybe has no sense beacause of the anture of gambas but... The only thing that I don't like about gambas is that it needs the runtime to work. It would be great to be able to compile your program no native code so it would be faster and independent. I found a program that can do that called REALBasic from REALSoftware. Actual linux version is free, but it has not the open source aid so I think it is not as complete as gambas. But the chance to compile your code to run under linux without any runtime machine is great. So, is there any possibility in the future for gambas to complie in native linux so you don't need that runtime machine?? Thanks all. -- El tiempo es un gran profesor. Desafortunadamente, mata a todos sus alumnos. From eilert-sprachen at ...221... Mon Jun 27 09:04:48 2005 From: eilert-sprachen at ...221... (Eilert) Date: Mon, 27 Jun 2005 09:04:48 +0200 Subject: [Gambas-user] Re: Licence program writed in Gambas. In-Reply-To: <200506261810.36110.sourceforge-raindog2@...94...> References: <20050626174111.D2BEF2C0.30EE41C5@...915...> <200506261810.36110.sourceforge-raindog2@...94...> Message-ID: <42BFA510.4080207@...221...> Hi Rob, I'm just curious: > I have made tens of thousands of dollars writing GPL software, maybe > even hundreds of thousands after so long; I do it almost full-time, > and I think it's safe to say it's my living. How do you do that? I'm just an amateur programmer, coding a few tools for my own and my family's firms. But I'm at a lack to understand how to make money with programs you just give away :-) To make that clear: I'm absolutely in favour of Open Source, and I've read about many people who say just the same as you do - but never found any description of what the actual source of income would be then. > Having previously worked for a company that was so paranoid about > piracy that I ended up spending more time developing features to lock > code to particular clients' computers and prevent them from giving it > to their competition (like they actually would) than developing the > actual code itself, I'm very happy with how things have turned out so > far. Gambas has only made me more efficient, and I suspect that as > it becomes more popular there'll be a huge pool of Gambas code that > new people can draw from in a way that's not available to, for > example, VB users. This is why I love Gambas and why I'm currently re-programming everything for my firm from VB into Gambas. I'm almost there, I would say, the main apps are already up and running fine, with only a few major and minor function still missing. So I've been thinking about publishing the whole stuff within the Gambas universe to maybe just help others or discuss any items with it. (My only problem is that these apps work with a lot of files, data and stuff with personal data of customers included which I cannot publish - and they won't run without these data...) But if I really intended to make money with these programs I wouldn't have any idea how to achieve that. Rolf From heinz.sporn at ...1017... Mon Jun 27 10:25:14 2005 From: heinz.sporn at ...1017... (Heinz Sporn) Date: Mon, 27 Jun 2005 10:25:14 +0200 Subject: [Gambas-user] Maybe a weird question In-Reply-To: <1119854611.771.5.camel@...37...> References: <1119854611.771.5.camel@...37...> Message-ID: <1119860714.10399.68.camel@...1019...> Hi! AFAIK Real Software did not have a real Linux version i.e. a development environment in the past. The only Linux related thing you could do was compiling a Linux binary derived from your Windows sources (strange enough if you ask me) that may or may not have ran on your Linux system - having GTK+ 2.0 installed (what's QT?) was mandatory. Right now they are offering to participate in a Linux Public Beta test - that's all. Anyway: Gambas is open source whereas REALBasic is not. If the Linux version will be open source in the future is not clear and so is the question of licensing and royalties. Regards spox Am Montag, den 27.06.2005, 08:43 +0200 schrieb PaquitoSoft: > Hi all: > I know that this question maybe has no sense beacause of the anture of > gambas but... > The only thing that I don't like about gambas is that it needs the > runtime to work. It would be great to be able to compile your program no > native code so it would be faster and independent. > I found a program that can do that called REALBasic from REALSoftware. > Actual linux version is free, but it has not the open source aid so I > think it is not as complete as gambas. But the chance to compile your > code to run under linux without any runtime machine is great. > > So, is there any possibility in the future for gambas to complie in > native linux so you don't need that runtime machine?? > > Thanks all. > > -- Mit freundlichen Gr??en Heinz Sporn SPORN it-freelancing Mobile: ++43 (0)699 / 127 827 07 Email: heinz.sporn at ...1017... heinz.sporn at ...1018... Snail: Steyrer Str. 20 A-4540 Bad Hall Austria / Europe From rporticio at ...43... Mon Jun 27 11:36:54 2005 From: rporticio at ...43... (Ramon Orticio) Date: Mon, 27 Jun 2005 02:36:54 -0700 (PDT) Subject: [Gambas-user] latest libxml Message-ID: <20050627093654.27881.qmail@...1016...> Daniel, thanks for your info. may I inform you that i am a newbie on linux but i can manage to learn bit by bit. i dowloaded libxml2-2.5.0.tar.gz from the site you suggested. i read the install file. may i know if the file will be extracted in the gambas-1.0.6 directory and be compiled there. i tried experimenting and compiled libxml outside gambas-1.0.6 folder but when compile gambas using ./configure the result was config.status: error: cannot find input file: src/lib/xml/libxml/rpc/Makefile.in likewise how do you disable libxml thanks again. hope to use gambas soon! ramon how do you disable libxml __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From oxleyd at ...699... Mon Jun 27 11:42:04 2005 From: oxleyd at ...699... (Daniel Oxley) Date: Mon, 27 Jun 2005 11:42:04 +0200 Subject: [Gambas-user] Gambas Website? In-Reply-To: <200502241941.08035.bwells@...475...> Message-ID: <20050627094755.ED61937228@...700...> What happened to http://gambas.sourceforget.net/ ??? When I open it is a page offering a Playstation for sale and other adverts...??? Did it get hacked or has it moved? Daniel From oxleyd at ...699... Mon Jun 27 11:43:32 2005 From: oxleyd at ...699... (Daniel Oxley) Date: Mon, 27 Jun 2005 11:43:32 +0200 Subject: [Gambas-user] RE: Gambas Website? Message-ID: <20050627094926.785A037228@...700...> OK, now I see the typo. Bit naughty though by the owner of sourceforget.net i must say. -----Original Message----- From: Daniel Oxley [mailto:oxleyd at ...699...] Sent: lunes, 27 de junio de 2005 11:42 To: 'gambas-user at lists.sourceforge.net' Subject: Gambas Website? What happened to http://gambas.sourceforget.net/ ??? When I open it is a page offering a Playstation for sale and other adverts...??? Did it get hacked or has it moved? Daniel From lordheavy at ...512... Mon Jun 27 11:55:59 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Mon, 27 Jun 2005 11:55:59 +0200 Subject: [Gambas-user] Gambas Website? In-Reply-To: <20050627094755.ED61937228@...700...> References: <20050627094755.ED61937228@...700...> Message-ID: <42BFCD2F.3000507@...512...> Daniel Oxley a ?crit : > What happened to http://gambas.sourceforget.net/ ??? When I open it is a > page offering a Playstation for sale and other adverts...??? Did it get > hacked or has it moved? > > Daniel Perhaps http://gambas.sourceforge.net is better :) not sourceforgeT ! Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From stefanopalmeri at ...152... Mon Jun 27 12:07:11 2005 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Mon, 27 Jun 2005 12:07:11 +0200 Subject: [Gambas-user] How to transport array values from Form1 to Form2 ? In-Reply-To: <200506262217.18912.gambasfr@...11...> References: <200506262147.13729.rospolosco@...152...> <200506262217.18912.gambasfr@...11...> Message-ID: <200506271207.12185.stefanopalmeri@...152...> Alle 22:17, domenica 26 giugno 2005, fabien ha scritto: > this is the answer : > > in the project option dialog ... check the 'Form controls are public' check > box. > > Next from the form do: > > WITH Form1 > ? ?FOR n = 0 TO 13 > ? ? ? ? FOR m = 0 TO 3 > ? ? ? ? ? ? ? PRINT .MyCheckBox[n,m].value > ? ? ? ? NEXT > ? ? NEXT > END WITH I've tried it, but it always says : Unknown symbol MyCheckBox in class Form1 Any idea? Stefano From eilert-sprachen at ...221... Mon Jun 27 12:29:59 2005 From: eilert-sprachen at ...221... (Eilert) Date: Mon, 27 Jun 2005 12:29:59 +0200 Subject: [Gambas-user] Release of gambas2 1.9.10 In-Reply-To: <200506241647.48455.gambas@...1...> References: <200506241647.48455.gambas@...1...> Message-ID: <42BFD527.2080905@...221...> Hi Benoit, > * hFile = OPEN ... > This syntax replaces the old OPEN ... AS #hFile > The old syntax will be removed in the future. How do I access hFile within the function then? Does it still accept the "#hFile" writing or do I have to use "hFile" only? Best regards, Rolf From gambasfr at ...11... Mon Jun 27 13:01:45 2005 From: gambasfr at ...11... (fabien) Date: Mon, 27 Jun 2005 13:01:45 +0200 Subject: [Gambas-user] How to transport array values from Form1 to Form2 ? In-Reply-To: <200506271207.12185.stefanopalmeri@...152...> References: <200506262147.13729.rospolosco@...152...> <200506262217.18912.gambasfr@...11...> <200506271207.12185.stefanopalmeri@...152...> Message-ID: <200506271301.45335.gambasfr@...11...> Le Lundi 27 Juin 2005 12:07, Stefano Palmeri a ?crit?: can you send me your project ? or an exemple so i can correct it ! > Alle 22:17, domenica 26 giugno 2005, fabien ha scritto: > > this is the answer : > > > > in the project option dialog ... check the 'Form controls are public' > > check box. > > > > Next from the form do: > > > > WITH Form1 > > ? ?FOR n = 0 TO 13 > > ? ? ? ? FOR m = 0 TO 3 > > ? ? ? ? ? ? ? PRINT .MyCheckBox[n,m].value > > ? ? ? ? NEXT > > ? ? NEXT > > END WITH > > I've tried it, but it always says : > > Unknown symbol MyCheckBox in class Form1 > > Any idea? > > Stefano > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=Click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From oczykota at ...988... Mon Jun 27 14:11:42 2005 From: oczykota at ...988... (Arkadiusz Zychewicz) Date: Mon, 27 Jun 2005 14:11:42 +0200 Subject: [Gambas-user] Maybe a weird question In-Reply-To: <1119854611.771.5.camel@...37...> References: <1119854611.771.5.camel@...37...> Message-ID: <42BFECFE.9060501@...988...> PaquitoSoft napisa?(a): > So, is there any possibility in the future for gambas to complie in > native linux so you don't need that runtime machine?? I'm joining to this question/request. And i ask if i make a install package (e.g *.rpm) and distribute it. This package require some oder package (some gambas interpreter) or the install package has inside a interpreter? Arek. From mauriziopz at ...626... Mon Jun 27 14:33:55 2005 From: mauriziopz at ...626... (Maurizio Pozzobon) Date: Mon, 27 Jun 2005 13:33:55 +0100 Subject: [Gambas-user] Maybe a weird question In-Reply-To: <42BFECFE.9060501@...988...> References: <1119854611.771.5.camel@...37...> <42BFECFE.9060501@...988...> Message-ID: AFAIK require the interpreter but it could be a really good thing beign able to create a package with the interpreter (and maybe some other dependences) and the program we want to distribute such that if someone have a common linux box he just need that pack to be able to use my program, since the great part of the dependences are probably GPLed there shouldn't be any legal problem. I'm thinking about something like the windows word where you need just a setup file to install a program -- Maurizio From oreip at ...1... Mon Jun 27 15:02:44 2005 From: oreip at ...1... (PV) Date: Mon, 27 Jun 2005 15:02:44 +0200 Subject: [Gambas-user] Maybe a weird question In-Reply-To: <42BFECFE.9060501@...988...> References: <1119854611.771.5.camel@...37...> <42BFECFE.9060501@...988...> Message-ID: <42BFF8F4.6000103@...1...> On 27/06/2005 14:11, Arkadiusz Zychewicz wrote: > PaquitoSoft napisa?(a): > >> So, is there any possibility in the future for gambas to complie in >> native linux so you don't need that runtime machine?? > > > I'm joining to this question/request. I'm joining too :-) > And i ask if i make a install package (e.g *.rpm) and distribute it. > This package require some oder package (some gambas interpreter) or the > install package has inside a interpreter? In my opinion the goal should be to properly pack all that's needed (app, interpreter, libraries [possibly to be referenced by something like a GB_LIBRARY_PATH env variable, which can avoid system-wide installation] etc.) in order to allow everyone to be able to run the applications developed with Gambas, without the need to install Gambas itself. I believe that could further boost Gambas diffusion as an extremely valuable development tool. That's my 0.02 :-) Ciao, Piero From sourceforge-raindog2 at ...94... Mon Jun 27 17:25:44 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 27 Jun 2005 11:25:44 -0400 Subject: [Gambas-user] Re: Licence program writed in Gambas. In-Reply-To: <42BFA510.4080207@...221...> References: <20050626174111.D2BEF2C0.30EE41C5@...915...> <200506261810.36110.sourceforge-raindog2@...94...> <42BFA510.4080207@...221...> Message-ID: <200506271125.44110.sourceforge-raindog2@...94...> On Monday 27 June 2005 03:04, Eilert wrote: > > I have made tens of thousands of dollars writing GPL software, > > maybe even hundreds of thousands after so long; I do it almost > > full-time, and I think it's safe to say it's my living. > > How do you do that? I'm just an amateur programmer, coding a few > tools for my own and my family's firms. But I'm at a lack to > understand how to make money with programs you just give away :-) By making it into a business. I spend virtually all of my professional life either modifying existing GPL-covered code to my clients' liking, or writing new code which I always license under the GPL. My company bills by the hour, not by the copy as proprietary software developers do. Because the code is GPL, I get to reuse as much as I want from project to project, resulting in similar cost efficiencies to the "write once, sell to many" model and in competitive rates for my clients, and I'm not stuck trying to force my clients' business models to fit my choices of user interface, file formats, workflow, etc. No one says you have to put your GPL'ed code on the net for all comers, just that you have to give the source code to whomever gets the binary. Sure, my clients could pass the code on to other people who could use it.... that is, their competitors. On the other hand, why would they do that? > So I've been thinking about publishing the whole stuff within the > Gambas universe to maybe just help others or discuss any items with > it. (My only problem is that these apps work with a lot of files, > data and stuff with personal data of customers included which I > cannot publish - and they won't run without these data...) And this is largely why I don't make much of the GPL'ed code public that I write for my clients. (I hope to release the time-lapse movie editor I've been working on for one of them.... written in Gambas, but also uses mplayer and other tools on the back end.) Rob From sourceforge-raindog2 at ...94... Mon Jun 27 17:13:01 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 27 Jun 2005 11:13:01 -0400 Subject: [Gambas-user] Maybe a weird question In-Reply-To: <1119854611.771.5.camel@...37...> References: <1119854611.771.5.camel@...37...> Message-ID: <200506271113.01357.sourceforge-raindog2@...94...> On Monday 27 June 2005 02:43, PaquitoSoft wrote: > The only thing that I don't like about gambas is that it needs the > runtime to work. It would be great to be able to compile your > program no native code so it would be faster and independent. I would love to see this happen, but I don't have the know-how to make it so. Maybe a GCC front-end that took Gambas bytecode would be helpful, but I wouldn't even know where to begin. As an alternative, making the interpreter a library that could be dynamically linked (like the VB runtime) or statically linked (like RealBasic) would make programs appear to be stand-alone, though that doesn't address the issue of all the components (go ahead, statically link Qt, I dare you ;) ) Here are the reasons I don't think it's necessary, even though I hope the option becomes available eventually: 1. When VB went from pseudo-code to "native code" (albeit with most of the functionality still in the runtime DLL) there was hardly any performance gain, and often a performance loss. Don't forget, when you're writing in an interpreted language, your code isn't doing the heavy lifting... the interpreter is. 2. The way Linux package management is, it makes a lot more sense to package your interpreted program in such a way as to require the interpreter and any needed components. Under Windows, you're stuck including all the dependencies in the installation package "just in case".... under Linux, it's not so. This is why, even though Perl, Python, Tcl, PHP and other languages have compilers available, almost no one uses them to distribute their applications. From the number of people who play Frozen Bubble (written in Perl) and use BitTorrent (written in Python) it's clear this is a viable way of distributing programs. As long as the interpreter and components have been packaged for the user's distribution, he's all set. I would actually rather see a way to write an entire Gambas program in one text-only script and distribute it that way, to encourage users to make their own tweaks and subsequently become programmers. That's how I really got into coding, as a 12 year old kid. Anyway, I started working on a hack to do this (called "gbs") and I posted about it to gambas-devel last year, but I'm sure it doesn't work anymore with current versions of Gambas. Rob From eilert-sprachen at ...221... Mon Jun 27 18:12:01 2005 From: eilert-sprachen at ...221... (Eilert) Date: Mon, 27 Jun 2005 18:12:01 +0200 Subject: [Gambas-user] Re: Licence program writed in Gambas. In-Reply-To: <200506271125.44110.sourceforge-raindog2@...94...> References: <20050626174111.D2BEF2C0.30EE41C5@...915...> <200506261810.36110.sourceforge-raindog2@...94...> <42BFA510.4080207@...221...> <200506271125.44110.sourceforge-raindog2@...94...> Message-ID: <42C02551.2060409@...221...> Rob schrieb: > On Monday 27 June 2005 03:04, Eilert wrote: > >>>I have made tens of thousands of dollars writing GPL software, >>>maybe even hundreds of thousands after so long; I do it almost >>>full-time, and I think it's safe to say it's my living. >> >>How do you do that? I'm just an amateur programmer, coding a few >>tools for my own and my family's firms. But I'm at a lack to >>understand how to make money with programs you just give away :-) > > > By making it into a business. I spend virtually all of my > professional life either modifying existing GPL-covered code to my > clients' liking, or writing new code which I always license under the > GPL. My company bills by the hour, not by the copy as proprietary > software developers do. Because the code is GPL, I get to reuse as > much as I want from project to project, resulting in similar cost > efficiencies to the "write once, sell to many" model and in > competitive rates for my clients, and I'm not stuck trying to force > my clients' business models to fit my choices of user interface, file > formats, workflow, etc. That makes it much clearer, Rob, thanks for your answer. For the first time I see how that system can make sense :-) Rolf From jclevien at ...626... Mon Jun 27 19:03:51 2005 From: jclevien at ...626... (Juan Jose Costello Levien) Date: Mon, 27 Jun 2005 14:03:51 -0300 Subject: [Gambas-user] OLE Automation with Gambas Message-ID: Hi, I am very interested in controlling Windows and Linux apps with Gambas. Is this possible? I read that you can automate KDE apps with Gambas. Can this be done with remote Windows OLE machines? -- Juan Jose Costello Levien jclevien at ...626... From jclevien at ...626... Mon Jun 27 19:14:59 2005 From: jclevien at ...626... (Juan Jose Costello Levien) Date: Mon, 27 Jun 2005 14:14:59 -0300 Subject: [Gambas-user] Licenses Topic - GPL or not GPL Message-ID: Hi, I respond to Daniel's mail. My email account collapsed, and I have no access to my electronic correspondence... I want to kill those guys. As far as I remember your answer, there is no problem with GPL.I simply didn't understand how the GPL software was conceived. The thought behind this I realize is "get beneficiated and beneficiate others". Something like traders do. Seems reasonable in the point of view of the rights that are imposed by the different societies to be able to access something available to all. This is an effort to create a happy community which shares something - software. I believe this topic belongs more to human rights than programming or developing or creating technology. So I think to close it, at least from me. Regards, -- Juan Jose Costello Levien jclevien at ...626... From matthias-laur at ...978... Mon Jun 27 22:45:46 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Mon, 27 Jun 2005 22:45:46 +0200 Subject: [Gambas-user] Version 1.9.10 process management Message-ID: <200506272245.46774.matthias-laur@...978...> hi Benoit, i've test it and there was no problem. It would be nice if you put this process management to the stabel version. Regards, Matthias From danielcampos at ...282... Tue Jun 28 10:11:22 2005 From: danielcampos at ...282... (Daniel Campos) Date: Tue, 28 Jun 2005 10:11:22 +0200 Subject: [Gambas-user] Maybe a weird question In-Reply-To: <200506271113.01357.sourceforge-raindog2@...94...> References: <1119854611.771.5.camel@...37...> <200506271113.01357.sourceforge-raindog2@...94...> Message-ID: <42C1062A.7070304@...282...> The fake problem of the interpreter availability ----------------------------------------------------------------- Often, some people says: Hey, Gambas programs should be compiled, if not, we need the interpreter installed in the machine! We can not distribute it! Let me tell you just one thing: 1) can you run any KDE program without all its dependencies installed? 2) Can you do it with a Gnome program? 3) May be just a QT or GTK program? 6) Any graphical program without all X libraries? 4) Can you use Mplayer without a lot of libraries for codecs? 5) Can you install a Apache to serve CGI applications without Perl or Python (or Gambas)? 6) Can you run any perl, python or bash program without their interpreters? Where's then the problem? The problem is that Gambas gbx is a program and not a library? It is strange. Currenly almost all programs doing anything interesting have dependencies, and this is not a problem as Linux distributions install these dependencies, or you can download them from internet. The only real problem I can see is that Gambas is recent software and not all the distributions include that runtime. This is not a problem, for example for Linex/Ubuntu/Debian users as they have official packages for Gambas at linex.org. But if the program were compiled, you'd have the same problem: you'd need the libgambas.so and all the rest of libraries installed (recent version of QT/GTK, may be SDL, may be libxml, may be libcurl and of course glibc) And as Rob says, there would be not a big difference in performance, as the major part of the work is done internally in the gbx program or in the linked libraries, written in C or C++. Regards, D. Campos From mauriziopz at ...626... Tue Jun 28 10:36:46 2005 From: mauriziopz at ...626... (Maurizio Pozzobon) Date: Tue, 28 Jun 2005 09:36:46 +0100 Subject: [Gambas-user] Maybe a weird question In-Reply-To: <42C1062A.7070304@...282...> References: <1119854611.771.5.camel@...37...> <200506271113.01357.sourceforge-raindog2@...94...> <42C1062A.7070304@...282...> Message-ID: 2005/6/28, Daniel Campos : > > The fake problem of the interpreter availability > ----------------------------------------------------------------- > > Often, some people says: Hey, Gambas programs should be compiled, if not, > we need the interpreter installed in the machine! We can not distribute > it! > > Let me tell you just one thing: > > 1) can you run any KDE program without all its dependencies installed? > 2) Can you do it with a Gnome program? > 3) May be just a QT or GTK program? > 6) Any graphical program without all X libraries? > 4) Can you use Mplayer without a lot of libraries for codecs? > 5) Can you install a Apache to serve CGI applications without Perl or > Python (or Gambas)? > 6) Can you run any perl, python or bash program without their > interpreters? > > Where's then the problem? The problem is that to all yours questions the answer is "No". As you can see in my previous mail I'd like to be able to create an All-in-One package (rpm or deb) easy to install so that the user could be able to choose between the normal pack for those who alredy have the dep installed, or like to install them form source, and the big one for those who like the easy way. I think that no one would care if it is interpretable if it is easy to distribute and ofcourse to use -- Maurizio -------------- next part -------------- An HTML attachment was scrubbed... URL: From oczykota at ...988... Tue Jun 28 11:01:06 2005 From: oczykota at ...988... (Arkadiusz Zychewicz) Date: Tue, 28 Jun 2005 11:01:06 +0200 Subject: [Gambas-user] Maybe a weird question In-Reply-To: <42C1062A.7070304@...282...> References: <1119854611.771.5.camel@...37...> <200506271113.01357.sourceforge-raindog2@...94...> <42C1062A.7070304@...282...> Message-ID: <42C111D2.6060609@...988...> Daniel Campos napisa?(a): > The fake problem of the interpreter availability > ----------------------------------------------------------------- > > Often, some people says: Hey, Gambas programs should be compiled, if not, > we need the interpreter installed in the machine! We can not distribute it! > > Let me tell you just one thing: > > 1) can you run any KDE program without all its dependencies installed? > 2) Can you do it with a Gnome program? > 3) May be just a QT or GTK program? > 6) Any graphical program without all X libraries? > 4) Can you use Mplayer without a lot of libraries for codecs? > 5) Can you install a Apache to serve CGI applications without Perl or > Python (or Gambas)? > 6) Can you run any perl, python or bash program without their interpreters? > > > Where's then the problem? The problem is that Gambas gbx is a program > and not a library? It is > strange. > > Currenly almost all programs doing anything interesting have > dependencies, and this is not > a problem as Linux distributions install these dependencies, or you can > download them from > internet. > > The only real problem I can see is that Gambas is recent software and > not all the distributions > include that runtime. This is not a problem, for example for > Linex/Ubuntu/Debian users as > they have official packages for Gambas at linex.org. But if the program > were compiled, you'd > have the same problem: you'd need the libgambas.so and all the rest of > libraries installed > (recent version of QT/GTK, may be SDL, may be libxml, may be libcurl and > of course glibc) > > And as Rob says, there would be not a big difference in performance, as > the major part of the > work is done internally in the gbx program or in the linked libraries, > written in C or C++. > Ok. I agree but it would be nice that i can say my user: this is a package of my program and this is a package of interpreter witch my program require. And now i must tell: this is a package of my program and you must install also a gambas program to run it (all IDE program). Arek. My English is rather not good so i don't know that i clearly express. From danielcampos at ...282... Tue Jun 28 11:04:32 2005 From: danielcampos at ...282... (Daniel Campos) Date: Tue, 28 Jun 2005 11:04:32 +0200 Subject: [Gambas-user] Maybe a weird question In-Reply-To: References: <1119854611.771.5.camel@...37...> <200506271113.01357.sourceforge-raindog2@...94...> <42C1062A.7070304@...282...> Message-ID: <42C112A0.5090507@...282...> In that case, you can look at some projects that can help you in this task, for example: http://www.bitrock.com/ https://www.plaasoft.de/?mod=content&id=Installer There are some installers (some of them free, look at sourceforge or freshmeat), in which you can mark all dependencies, and the installer can contain these packages for some distributions, or have links to download them from internet, or compile them if necessary. Hope it helps, D. Campos From heinz.sporn at ...1017... Tue Jun 28 12:23:35 2005 From: heinz.sporn at ...1017... (Heinz Sporn) Date: Tue, 28 Jun 2005 12:23:35 +0200 Subject: [Gambas-user] Maybe a weird question In-Reply-To: References: <1119854611.771.5.camel@...37...> <200506271113.01357.sourceforge-raindog2@...94...> <42C1062A.7070304@...282...> Message-ID: <1119954215.10411.22.camel@...1019...> Hi! Sorry Maurizio, but I believe you immersed a little too much into Windoze-like software deployment. There's a reason why no Python, Perl or let's say PHP application is distributed in a bundle with the regarding interpreter. There's simply too much flavours of Linux out there. And here comes the beauty with all the reusable libraries, application frameworks and interpreters: your application does not have to bother wether or not this or that library is installed at all or carries a specific version number. The only thing you have to say is: I don't care what type of Linux you're using or what libraries are installed - just get Gambas running on your fancy machine and you're fine. Anyway pre-compiled packages would set too much limits. An example: I'm a happy Gentoo user. Why should I bother with rpms and debs? I would need the Gambas sources anyway to compile them against may running environment. A pre-compiled package would propably not even execute on my machines and if it would run like a lame duck ;-) Regards spox Am Dienstag, den 28.06.2005, 09:36 +0100 schrieb Maurizio Pozzobon: > 2005/6/28, Daniel Campos : > The fake problem of the interpreter availability > ----------------------------------------------------------------- > > Often, some people says: Hey, Gambas programs should be > compiled, if not, > we need the interpreter installed in the machine! We can not > distribute it! > > Let me tell you just one thing: > > 1) can you run any KDE program without all its dependencies > installed? > 2) Can you do it with a Gnome program? > 3) May be just a QT or GTK program? > 6) Any graphical program without all X libraries? > 4) Can you use Mplayer without a lot of libraries for codecs? > 5) Can you install a Apache to serve CGI applications without > Perl or > Python (or Gambas)? > 6) Can you run any perl, python or bash program without their > interpreters? > > Where's then the problem? > > The problem is that to all yours questions the answer is "No". As you > can see in my previous mail I'd like to be able to create an > All-in-One package (rpm or deb) easy to install so that the user could > be able to choose between the normal pack for those who alredy have > the dep installed, or like to install them form source, and the big > one for those who like the easy way. > I think that no one would care if it is interpretable if it is easy to > distribute and ofcourse to use > > -- > Maurizio -- Mit freundlichen Gr??en Heinz Sporn SPORN it-freelancing Mobile: ++43 (0)699 / 127 827 07 Email: heinz.sporn at ...1017... heinz.sporn at ...1018... Snail: Steyrer Str. 20 A-4540 Bad Hall Austria / Europe From mauriziopz at ...626... Tue Jun 28 14:12:40 2005 From: mauriziopz at ...626... (Maurizio Pozzobon) Date: Tue, 28 Jun 2005 13:12:40 +0100 Subject: [Gambas-user] Maybe a weird question In-Reply-To: <1119954215.10411.22.camel@...1019...> References: <1119854611.771.5.camel@...37...> <200506271113.01357.sourceforge-raindog2@...94...> <42C1062A.7070304@...282...> <1119954215.10411.22.camel@...1019...> Message-ID: > > Anyway pre-compiled packages would set too much limits. An example: I'm > a happy Gentoo user. Why should I bother with rpms and debs? I would > need the Gambas sources anyway to compile them against may running > environment. A pre-compiled package would propably not even execute on > my machines and if it would run like a lame duck ;-) The fact is that I would release both the source and the All-in-One pack so that you could use the source and those who like the easytoinstall-lame-duck could use it. It's all about choice. Thanks to Daniel I've found a prog which could be what I need, actually I haven't tried it yet because in this period I'm quite busy (exams) so if someone wanna give it a try here is the link: http://installbase.sourceforge.net/main.shtml -- Maurizio -------------- next part -------------- An HTML attachment was scrubbed... URL: From j.m.curl at ...17... Tue Jun 28 20:31:27 2005 From: j.m.curl at ...17... (Jason Curl) Date: Tue, 28 Jun 2005 20:31:27 +0200 Subject: [Gambas-user] RE:Re: [Gambas-user] Licence program writed in Gambas. In-Reply-To: <42BF225A.8030603@...282...> Message-ID: Hello Daniel, Proprietary software has its place along with Free Software and both have their advantages and disadvantages. As passionate as this topic is, there are some things you've said that aren't quite right and much is open to interpretation. I'm not going to mention them here (some comments are below), but just highlight the important points related to Gambas: GPL'd software doesn't restrict your right to earn money, but you must offer your software, and derivative works must also be GPL'd. There are problems with this also, leading to the LGPL and driving other licenses such as the MIT, Berkely license (and many others on the Internet also, such as the Boost license for C++ libraries). New works doesn't appear to have the need to be GPL'd (but if you modify Gambas yourself to include new functions, you must then provide your new software as GPL'd if you want to distribute it) Trolltech on their site state specifically if you want to develop software that is not for GPL, you must pay for the commercial license *before* development. MySQL have something similar also. It gives them the advantage that there is a larger developer base that increases the chances a company might use their software in a proprietary manner (Trolltech state this on their site). There is so much information on the Internet about this topic, it really doesn't make much sense to discuss the advantages/disadvantages here as it will be inevitably biased. You'll learn about them as you need to apply the different licenses. You also have the freedom to choose software based on the license as Daniel has already pointed out. I don't want to discourage free software, I'd also like to promote it. I like the idea of the GPL as if I write software and somebody else uses it then I would also expect it to be free software (why should they get the benefit of my hard work?) -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Daniel Campos Sent: Sunday, 26 June 2005 23:47 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] RE:Re: [Gambas-user] Licence program writed in Gambas. Hi: Note that Gambas is just an interpreter, so your Gambas code can have any licence, you have not to contribute to the community, you have not to licence your program under GPL, if you want. But if you use the gb.qt component (and I think the gb.db.mysql component), you are using functions from a GPL library, so your program must be free software, or you must pay to Trolltech or MySQL.org if you want to write propietary software. Apart from this, I do not know where's the problem: the free software concept (and specially the GPL licence), offers you freedom to earn money with your project (may be selling CDs, packaging for different distributions, giving support, writting and selling documentation, receiving money for writting an application...), but anyone has the freedom to copy, modify it and may be earn money with it too :-) . Without the second point, there's not freedom at all: You say "free software means you can do anything you want with the software, even selling it...". OK, you can, but if you were the only person allowed to modify the code, or sell it, there's no freedom at all: Your program would be just propietary software (and yes, you are allowed to do it with Gambas). At the end, the free software code is just helping, it does not restrict you nor any programmer: by now, you have here a free Basic interpreter, you can write propietary software with it, you can install a complete operating system (GNU/Linux, FreeBSD) and develope any application with it, or look for resources and documentation in the internet using Mozilla, or talk about the GPL using the Evolution or Thunderbird mail clients. You can offer to your costumers a complete operating system with your application, OpenOffice, The Gimp, Chat programs, two big graphical Desktops, Database applications, and more, all for FREE (as in beer). And you can use all LGPL and probably MIT licenced programs and libraries for FREE (as in beer). But if you just want to use the QT libraries for FREE (as in beer), to write a propietary program, you can't do it. They've licenced the library as GPL, and they offer the possibility of writting propietary programs if you just pay some money back for their effort (I think this is right, this is this is respectable). Can you compare this with the propietary world? Where's the help in propietary software? Can you modify VB if you find a bug that breaks your program? Can you have VB for free? Can you call MS for free if you have a problem? What will you do if VB6 stops working in future Win versions? ** Much "free" software has little support, and usually the answer is to "fix it yourself". This is prohibitive to most people. Most systems are so complex, it's difficult to know where to start (e.g. Cygwin). There's no defined support contract for free software generally, and this goes because there is no payment. So Free Software isn't also without it's problems. Not everybody is a highly skilled programmer. You have to pay it all (operating system, RAD environment, updates) and after that, read the EULA, you have not bought anything: you have not the right to use it as you want. Can you use MS propietary soft to write a program for a GNU/Linux costumer? No, they are modifying licences and code so wine is detected and prohibited. Can you write your own drivers for free for hardware developed by your company? No, you have to pay the Driver SDK (and it is not cheap). ** Actually it's about the cost of postage and handling if you buy the latest. WinNT4 might be a different matter though. Can you freely use the propietary file formats for MS? No, they're adding hardware protections to detect and filter "author rights". ** This is called a "secure" platform and can be a method to restrict what software is usable. I can see real legitimate uses even for Linux especially in embedded systems. Of course it can be used to their advantage too and I see your point. Will you be able to be a programmer in the future if you do not pay a expensive MS programming licence? NO, it is sure, it is a BIG business. ** Depends on what expensive means. If it's a small investment for a large return for creating a monopoly, then it might be considered cheap. This is how businesses operate, most of it is gain from investment and risk analysis. These are restrictions. Regards, Daniel Campos From sourceforge-raindog2 at ...94... Tue Jun 28 20:59:52 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 28 Jun 2005 14:59:52 -0400 Subject: [Gambas-user] RE:Re: [Gambas-user] Licence program writed in Gambas. In-Reply-To: References: Message-ID: <200506281459.52445.sourceforge-raindog2@...94...> On Tuesday 28 June 2005 14:31, Jason Curl wrote: > There is so much information on the Internet about this topic, it > really doesn't make much sense to discuss the > advantages/disadvantages here as it will be inevitably biased. My feeling is that developers who use proprietary tools have their own places to advocate those proprietary tools and their non-free licenses; Gambas is free software, and I think it's reasonable to expect Gambas developers to point out the benefits when users of Gambas choose to license their stuff as free software, even if it's not required to do so. Rob From sbungay at ...981... Tue Jun 28 21:51:12 2005 From: sbungay at ...981... (sbungay) Date: Tue, 28 Jun 2005 15:51:12 -0400 Subject: [Gambas-user] Tableview seems to not accept data Message-ID: <42C1AA30.2080103@...981...> I must be missing something... but it should work. The field names appear at the top of the columns... but no data ever appears in the cells. This is pretty rough code... sorry... I'm just hacking around to see what can be done and what kinds of difficulties I'll run into. ' Gambas class file PUBLIC DBConnection AS NEW Connection ' Button 1 executes some SQL and returns the result in a recordset. PUBLIC SUB Button1_Click() DIM Recordset AS Result WITH DBConnection .Type="mysql" .Host="localhost" .Login="testuser" .Password="test" .Name="testtable" TRY .Open IF ERROR THEN PRINT "Cannot Open Database. Error=" & Error.Text & "." ELSE Recordset=.Exec("SELECT * FROM Company;") IF Recordset <> NULL THEN TextBox1.Text = Recordset.Count & " Records returned." 'PopulateGrid(Recordset) 'PopulateTableView(Recordset) $Recordset = Recordset PopulateTableView1 ELSE TextBox1.Text = "Record set returned NULL." END IF END IF END WITH END PUBLIC SUB Form_Open() DBConnection=NEW Connection END PRIVATE SUB PopulateTableView (Recordset AS Result) DIM X AS Integer DIM Y AS Integer DIM Rows AS Integer DIM Columns AS Integer Columns = Recordset.Fields.Count Rows = Recordset.Count TableView1.Columns.Count = Columns ' Put up the titles Y = 1 FOR X = 0 TO Columns - 1 WITH TableView1 .Rows.Count=Y .Row = Y .Column = X .Columns[X].Text = Recordset.fields[X].Name END WITH NEXT ' Now put in the values ' Recordset starts a row 0. FOR Y = 1 TO Rows TableView1.Rows.Count = Rows + 1 TableView1.Row = Y Recordset.MoveTo(Y-1) FOR X = 1 TO Columns - 1 WITH TableView1 .Columns = X .Data.Text = Recordset[Recordset.fields[X].Name] END WITH NEXT NEXT END PUBLIC SUB Form_Resize () WITH TableView1 .Height = Form1.Height - (Gridview1.Top + 8) .Width = Form1.Width - (Gridview1.left * 2) END WITH END From neil at ...233... Tue Jun 28 22:10:08 2005 From: neil at ...233... (neil lewis) Date: Tue, 28 Jun 2005 21:10:08 +0100 Subject: [Gambas-user] Problems with DB access Message-ID: <42C1AEA0.5020207@...233...> Hello everyone, I've just started experimenting with using Gambas to access a MySQL database, so please excuse me if this has already been covered. I've not been able to find any mention of it in the lists. As a first experiment, I built a form which connects to a remote database on my lan. I have no problems querying the database and displaying the results, so long as I use a query in the form roResult = hConnection.Exec(query) However, this only gives me read only access. For read/write access, I have trying to use a query in the form rwResult = hConnection.Edit(table, query) But so far, with no success. The help info only shows an example which it says doesn't work and asks for a working example to be submitted. This I will be happy to do, as soon as I have one! The relevant portion of my code is below. I'd very much appreciate some suggestions on how to resolve this. Thanks in anticipation! Neil Lewis. --------------------------------------------------------------------------------------------------------------------- 'Global variable decalarations server AS String 'server URL database AS String 'name of database on server client_table AS String 'name of clients table order_table AS String 'name of orders table hConnection AS Connection 'connection handle for database roResult AS Result 'result array of read-only query PUBLIC SUB _new() hConnection = NEW Connection server = "fileserver" database = "gibsons" client_table = "clients" order_table = "orders" WITH hConnection .Type = "mysql" .Host = server .Login = "" .Password = "" .Name = database END WITH hConnection.Open CATCH Message.Error(Error.Text) END PUBLIC SUB ButtonQuery_Click() DIM query AS String IF TextBoxSearch.Text = "" THEN RETURN query = "select id, firstname, lastname, building, street, area, city, postcode from " & client_table & " where lastname = \"" & TextBoxSearch.Text & "\"" roResult = hConnection.Exec(query) IF roResult.Available = FALSE THEN Message("No matching records found") RETURN ENDIF ShowRecord END PUBLIC SUB ShowRecord() DIM new_address AS String LCDNumberIndex.Value = roResult.index + 1 LCDNumberCount.Value = roResult.Count TextBoxFirstName.Text = roResult ["firstname"] TextBoxLastName.Text = roResult ["lastname"] TextAreaAddress.Text = roResult["building"] & "\n" & roResult["street"] & "\n" & roResult["area"] & "\n" & roResult["city"] TextBoxPostcode.Text = roResult ["postcode"] END PUBLIC SUB ButtonUpdate_Click() DIM rwResult AS Result DIM query AS String DIM table AS String DIM field AS String table = "clients" field = "address" query = "select address where id = " & roResult["id"] hConnection.Begin() rwResult = hConnection.Edit(table, query) IF NOT (rwResult.Available) THEN Message.Warning("No result available") RETURN ENDIF rwResult!address = TextAreaAddress.Text rwResult.Update hConnection.Commit() END PUBLIC SUB ButtonBack_Click() IF NOT (roResult.MovePrevious()) THEN RETURN ShowRecord END PUBLIC SUB Next_Click() IF NOT (roResult.MoveNext()) THEN RETURN ShowRecord END PUBLIC SUB ButtonStop_Click() ME.Close END From gambasfr at ...11... Tue Jun 28 22:29:54 2005 From: gambasfr at ...11... (fabien) Date: Tue, 28 Jun 2005 22:29:54 +0200 Subject: [Gambas-user] Tableview seems to not accept data In-Reply-To: <42C1AA30.2080103@...981...> References: <42C1AA30.2080103@...981...> Message-ID: <200506282229.54214.gambasfr@...11...> Le Mardi 28 Juin 2005 21:51, sbungay a ?crit?: > I must be missing something... but it should work. The field names > appear at the top of the columns... but no data ever appears in the > cells. This is pretty rough code... sorry... I'm just hacking around to > see what can be done and what kinds of difficulties I'll run into. > > ' Gambas class file > > PUBLIC DBConnection AS NEW Connection > > > ' Button 1 executes some SQL and returns the result in a recordset. PRIVATE Recordset AS Result PUBLIC SUB Button1_Click() Dim i as integer WITH DBConnection .Type="mysql" .Host="localhost" .Login="testuser" .Password="test" .Name="testtable" TRY .Open IF ERROR THEN PRINT "Cannot Open Database. Error=" & Error.Text & "." ELSE Recordset=.Exec("SELECT * FROM Company;") IF Recordset <> NULL THEN TextBox1.Text = Recordset.Count & " Records returned." 'PopulateGrid(Recordset) 'PopulateTableView(Recordset) 'PopulateTableView1 TableView1.Columns.Count = RecordSet.Count For i = 0 to RecordSet.Count -1 TableView1.Columns[X].Text = Recordset.fields[X].Name Next TableView1.Rows.Count = RecordSet.Count ELSE TextBox1.Text = "Record set returned NULL." END IF END IF END WITH END > > PUBLIC SUB Form_Open() > DBConnection=NEW Connection > END PUBLIC SUB TableView1_Data(Row, Column) RecordSet.Moveto(Row) TableView1.Data.Text = RecordSet[TableView1.Columns(column).text] END > PRIVATE SUB PopulateTableView (Recordset AS Result) > DIM X AS Integer > DIM Y AS Integer > > DIM Rows AS Integer > DIM Columns AS Integer > > Columns = Recordset.Fields.Count > Rows = Recordset.Count > > TableView1.Columns.Count = Columns > > ' Put up the titles > Y = 1 > FOR X = 0 TO Columns - 1 > WITH TableView1 > .Rows.Count=Y > .Row = Y > .Column = X > .Columns[X].Text = Recordset.fields[X].Name > END WITH > NEXT > > ' Now put in the values > ' Recordset starts a row 0. > FOR Y = 1 TO Rows > TableView1.Rows.Count = Rows + 1 > TableView1.Row = Y > Recordset.MoveTo(Y-1) > FOR X = 1 TO Columns - 1 > WITH TableView1 > .Columns = X > .Data.Text = Recordset[Recordset.fields[X].Name] > END WITH > NEXT > NEXT > > END > You know what ?, gambas have containers :) try to play with it ! in an empty form put 2 widget, set the form alignment property to horizontal, and then set the second widget expand property to true and try it ! it is magic! in fact for the most of time i never use the _resize event ! the containers have this property : Alignment - None (widjets are not aligned) - Horizontal (widgets height property automatiquely set with ClientHeigth when resize) - Vertical (same thing but for width) - Fill (the both) - leftRight - TopBottom The widjet have this property - Expand (the widget fill the empty place) Fabien > PUBLIC SUB Form_Resize () > > WITH TableView1 > .Height = Form1.Height - (Gridview1.Top + 8) > .Width = Form1.Width - (Gridview1.left * 2) > END WITH > > END > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From njmurphy1 at ...734... Tue Jun 28 23:02:18 2005 From: njmurphy1 at ...734... (Joseph Murphy) Date: Tue, 28 Jun 2005 14:02:18 -0700 Subject: [Gambas-user] Re: Maybe a weird question Message-ID: <200506281402.18982.njmurphy1@...734...> Hi All The problem is not that gbx needs to be installed but that to get any program to run that has been written with Gambas all of Gambas needs to be installed. There is a great picture that explains the architecture of Gambas. http://gambas.sourceforge.net/architecture.html It's clear that gbx is needed and components are also needed. But why do I need to install the IDE and the examples? None of that is shown in the architecture of the internals of Gambas. Everything is already compiled all that is needed is better documentation on what has been installed so that it can be packaged for distribution. To put it another way: All I want is the bananna but I am forced to take the gorilla along with it. This problem is really showing a weakness of Linux. The /usr/bin directory is like my junk drawer in my office, everthing gets thrown in there. Linux has 32 character file names and we have a thousand files in there with two or three character filenames. This is lazy. It's my opinion that the search path should be recursive. That way when I install a program I can have /usr/bin in my path but install gambas into /usr/bin/Gambas and not have to add that to my PATH. Maybe I should get my hammer out and pound on the bash source for awhile. Joseph From sourceforge-raindog2 at ...94... Tue Jun 28 23:25:43 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 28 Jun 2005 17:25:43 -0400 Subject: [Gambas-user] Re: Maybe a weird question In-Reply-To: <200506281402.18982.njmurphy1@...734...> References: <200506281402.18982.njmurphy1@...734...> Message-ID: <200506281720.18383.sourceforge-raindog2@...94...> On Tuesday 28 June 2005 17:02, Joseph Murphy wrote: > It's clear that gbx is needed and components are also needed. But > why do I need to install the IDE and the examples? None of that is You don't. Application packages created by Gambas should only require the interpreter (the gambas-runtime package, on Mandrake at least) and any components needed by your specific project. No IDE, unless your program is an extension to or hack of the IDE (like fakebas.) For example, the new Gambas documentation system Benoit is working on requires only gambas2-runtime, gambas2-gb-db, and gambas2-gb-db-mysql, and that's all I installed on the server. As for the examples, they were missing for 2 or 3 releases not too long ago until one of us noticed and complained about it, so clearly they're not required for anything. I continue to package "gambas-complete", which includes everything, simply because it's still smaller than a typical java, perl, python or mono installation and allows people who don't believe in package management (fie upon you all ;) ) to try Gambas. Rob From joe1962 at ...626... Wed Jun 29 00:18:52 2005 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Tue, 28 Jun 2005 18:18:52 -0400 Subject: [Gambas-user] Re: Maybe a weird question In-Reply-To: <200506281720.18383.sourceforge-raindog2@...94...> References: <200506281402.18982.njmurphy1@...734...> <200506281720.18383.sourceforge-raindog2@...94...> Message-ID: <6c208f9505062815184fb1fd94@...627...> How does one separate the runtime to install on a Slackware-based system? I've been meaning to ask this for a long time, but forgot because I haven't needed to install any apps on another PC yet. Joe1962 On 6/28/05, Rob wrote: > On Tuesday 28 June 2005 17:02, Joseph Murphy wrote: > > It's clear that gbx is needed and components are also needed. But > > why do I need to install the IDE and the examples? None of that is > > You don't. Application packages created by Gambas should only require > the > interpreter (the gambas-runtime package, on Mandrake at least) and > any components needed by your specific project. No IDE, unless your > program is an extension to or hack of the IDE (like fakebas.) > > For example, the new Gambas documentation system Benoit is working on > requires only gambas2-runtime, gambas2-gb-db, and > gambas2-gb-db-mysql, and that's all I installed on the server. > > As for the examples, they were missing for 2 or 3 releases not too > long ago until one of us noticed and complained about it, so clearly > they're not required for anything. > > I continue to package "gambas-complete", which includes everything, > simply because it's still smaller than a typical java, perl, python > or mono installation and allows people who don't believe in package > management (fie upon you all ;) ) to try Gambas. > > Rob > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From m_isaac at ...689... Wed Jun 29 04:22:03 2005 From: m_isaac at ...689... (Michael Isaac) Date: Tue, 28 Jun 2005 19:22:03 -0700 Subject: [Gambas-user] Maybe a weird question In-Reply-To: <42C1062A.7070304@...282...> References: <1119854611.771.5.camel@...37...> <200506271113.01357.sourceforge-raindog2@...94...> <42C1062A.7070304@...282...> Message-ID: <42C205CB.7040601@...689...> Daniel Campos wrote: > The fake problem of the interpreter availability > ----------------------------------------------------------------- > > Often, some people says: Hey, Gambas programs should be compiled, if not, > we need the interpreter installed in the machine! We can not > distribute it! > > Let me tell you just one thing: > > 1) can you run any KDE program without all its dependencies installed? > 2) Can you do it with a Gnome program? > 3) May be just a QT or GTK program? > 6) Any graphical program without all X libraries? > 4) Can you use Mplayer without a lot of libraries for codecs? > 5) Can you install a Apache to serve CGI applications without Perl or > Python (or Gambas)? > 6) Can you run any perl, python or bash program without their > interpreters? > > > Where's then the problem? The problem is that Gambas gbx is a program > and not a library? It is > strange. > > Currenly almost all programs doing anything interesting have > dependencies, and this is not > a problem as Linux distributions install these dependencies, or you > can download them from > internet. > > The only real problem I can see is that Gambas is recent software and > not all the distributions > include that runtime. This is not a problem, for example for > Linex/Ubuntu/Debian users as > they have official packages for Gambas at linex.org. But if the > program were compiled, you'd > have the same problem: you'd need the libgambas.so and all the rest of > libraries installed > (recent version of QT/GTK, may be SDL, may be libxml, may be libcurl > and of course glibc) > > And as Rob says, there would be not a big difference in performance, > as the major part of the > work is done internally in the gbx program or in the linked libraries, > written in C or C++. > > Regards, > > D. Campos > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > I have to say that I agree with Maurizio. KDE and Gnome are standard on almost every Linux distribution. Most people dont have to go search for Gnome or KDE. To make matters worse Gambas is in a state of constant development and it will be years before it becomes anyting close to that kind of standard. Since the Gambas software is constantly under development the runtime that the user is forced to seek out and download may not work with Maurizio's application. It would be much more convient if the runtime libraries specific to his software were easily bundled or statically linked with the application. This way the only thing that a developer has to worry about is weather his target user is using KDE or Gnome and the rest will fall into place. It may be a very windows like approach but thats because Gambas is by no means stable or a standard and it cannot be compared to the likes of Python or Perl in that reguard. -- Michael From rporticio at ...43... Wed Jun 29 04:50:58 2005 From: rporticio at ...43... (Ramon Orticio) Date: Tue, 28 Jun 2005 19:50:58 -0700 (PDT) Subject: [Gambas-user] error in compilation Message-ID: <20050629025058.82893.qmail@...1021...> benoit & daniel, when i installed the new libxml2-2.6.15 and at root i typed make there were errors as shown in the output.txt files. thanks for any help thanks ramon __________________________________ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: output.txt URL: From njmurphy1 at ...734... Wed Jun 29 08:36:55 2005 From: njmurphy1 at ...734... (Joseph Murphy) Date: Tue, 28 Jun 2005 23:36:55 -0700 Subject: [Gambas-user] Re: Maybe a weird question Message-ID: <200506282336.55445.njmurphy1@...734...> Hi Rob >For example, the new Gambas documentation system Benoit is working on >requires only gambas2-runtime, gambas2-gb-db, and >gambas2-gb-db-mysql, and that's all I installed on the server. I don't have a gambas2-gb-db or a gambas2-runtime or gambas2-gb-db-mysql. I do have a gambas2.gambas, gba, gba2, gbc2, gbi2, gbx2 in /usr/local/bin. I also have links to these files in /usr/bin. I compiled from source on Slackware 10.1. Slackware is not an RPM system so this might have something to do with it. Joseph From gindelhe at ...43... Wed Jun 29 08:53:05 2005 From: gindelhe at ...43... (Gindele Hal.) Date: Tue, 28 Jun 2005 23:53:05 -0700 (PDT) Subject: [Gambas-user] gb.net.curl 050626 In-Reply-To: <42BEC598.9020506@...282...> Message-ID: <20050629065305.58098.qmail@...692...> I tried to go to the url in the message and I get a timeout. I would like to try this so I can see if I can get GAMBAS compiled under Fedora core4. Is there an alternative web site that might have this? Thanks, Hal. --- Daniel Campos wrote: > Component gb.net.curl - Version 050626 > > Hi all: > > I've updated the gb.net.curl component, so it is > able to compile with > gcc-4.0. Users from the new version of Fedora and > Mandrake Cooker > will be able to compile this component now. > > You can find and download it at: > > http://gambas.gnulinex.org/net > > Regards, > > D. Campos > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux > Migration Strategies > from IBM. Find simple to follow Roadmaps, > straightforward articles, > informative Webcasts and more! Get everything you > need to get up to > speed, fast. > http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com From njmurphy1 at ...734... Wed Jun 29 08:58:56 2005 From: njmurphy1 at ...734... (Joseph Murphy) Date: Tue, 28 Jun 2005 23:58:56 -0700 Subject: [Gambas-user] Re: Maybe a weird question Message-ID: <200506282358.56978.njmurphy1@...734...> Found them. /usr/local/lib/gambas2 I guess I'm just tired. They don't have the same file names that Rob listed but there are text files that explain them. One thing that is interesting is I have every shared library is present in three different file names. For example I have gb.db.so, gb.db.so.0 and gb.db.so.0.0.0. Any idea why that would be? Joseph From eilert-sprachen at ...221... Wed Jun 29 09:26:08 2005 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 29 Jun 2005 09:26:08 +0200 Subject: [Gambas-user] OPEN,SHELL,EXEC In-Reply-To: <42BF2BDB.3070205@...282...> References: <42BF2BDB.3070205@...282...> Message-ID: <42C24D10.4080508@...221...> Hi Daniel, hi Benoit, just as a matter of curiosity: Why was the syntax of OPEN changed anyway? Does this make possible any special tricks, or does it have any advantage for later expansions? Rolf Daniel Campos schrieb: > Hi: > > I've updated my little program to convert a project from Gambas1 to > Gambas2. > Now it is able to change the EXEC and SHELL syntax if Gambas-1.9.9 is > detected, > and OPEN too is Gambas-1.9.10 or newer is detected. > > Here's the program: > > http://www.binara.com/gambas-wiki/bin/view/Gambas/ChangeProcessSyntax > > Regards, > > D. Campos > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From danielcampos at ...282... Wed Jun 29 11:17:05 2005 From: danielcampos at ...282... (Daniel Campos) Date: Wed, 29 Jun 2005 11:17:05 +0200 Subject: [Gambas-user] gb.net.curl 050626 In-Reply-To: <20050629065305.58098.qmail@...692...> References: <20050629065305.58098.qmail@...692...> Message-ID: <42C26711.2050309@...282...> Hi: We're trying to solve the problem. However, as the complete component sources is too big, I send here only a part of the files. Unpack the file, you will find a "src" folder. Overwrite the files placed at {gambas-sources-1.9.9}/gb.net.curl/src with the new ones, then go to gb.net.curl folder, and execute: ./reconf ./configure (--your--options) make (As root): make install gbi2 Regards, D. Campos Gindele Hal. escribi?: >I tried to go to the url in the message and I get a >timeout. I would like to try this so I can see if I >can get GAMBAS compiled under Fedora core4. Is there >an alternative web site that might have this? > >Thanks, >Hal. > >--- Daniel Campos >wrote: > > > >>Component gb.net.curl - Version 050626 >> >>Hi all: >> >>I've updated the gb.net.curl component, so it is >>able to compile with >>gcc-4.0. Users from the new version of Fedora and >>Mandrake Cooker >>will be able to compile this component now. >> >>You can find and download it at: >> >>http://gambas.gnulinex.org/net >> >>Regards, >> >>D. Campos >> >> >> >> >> >------------------------------------------------------- > > >>SF.Net email is sponsored by: Discover Easy Linux >>Migration Strategies >>from IBM. Find simple to follow Roadmaps, >>straightforward articles, >>informative Webcasts and more! Get everything you >>need to get up to >>speed, fast. >> >> >> >http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > > >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >> >> >> >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > >____________________________________________________ >Yahoo! Sports >Rekindle the Rivalries. Sign up for Fantasy Football >http://football.fantasysports.yahoo.com > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: src.tar.bz2 Type: application/x-bzip Size: 18028 bytes Desc: not available URL: From danielcampos at ...282... Wed Jun 29 11:24:59 2005 From: danielcampos at ...282... (Daniel Campos) Date: Wed, 29 Jun 2005 11:24:59 +0200 Subject: [Gambas-user] error in compilation In-Reply-To: <20050629025058.82893.qmail@...1021...> References: <20050629025058.82893.qmail@...1021...> Message-ID: <42C268EB.6060401@...282...> Hi: Try to do the following steps prior to make: -> CD to {?ambas-1.0.x} sources -> make clean -> ./reconf -> ./configure (--your-options) -> make Regards, D. Campos Ramon Orticio escribi?: >benoit & daniel, > >when i installed the new libxml2-2.6.15 and at root i >typed make there were errors as shown in the >output.txt files. > >thanks for any help > >thanks > >ramon > > > >__________________________________ >Yahoo! Mail Mobile >Take Yahoo! Mail with you! Check email on your mobile phone. >http://mobile.yahoo.com/learn/mail > >------------------------------------------------------------------------ > >checking whether to enable maintainer-specific portions of Makefiles... no >checking for a BSD-compatible install... /usr/bin/install -c >checking whether build environment is sane... yes >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking build system type... i686-pc-linux-gnu >checking host system type... i686-pc-linux-gnu >checking for gcc... gcc >checking for C compiler default output... a.out >checking whether the C compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether gcc accepts -g... yes >checking for gcc option to accept ANSI C... none needed >checking for style of include used by make... GNU >checking dependency style of gcc... gcc3 >checking how to run the C preprocessor... gcc -E >checking for g++... g++ >checking whether we are using the GNU C++ compiler... yes >checking whether g++ accepts -g... yes >checking dependency style of g++... gcc3 >checking for a BSD-compatible install... /usr/bin/install -c >checking whether ln -s works... yes >checking whether make sets $(MAKE)... (cached) yes >checking for dirent.h that defines DIR... yes >checking for library containing opendir... none required >checking for egrep... grep -E >checking for ANSI C header files... yes >checking for sys/wait.h that is POSIX.1 compatible... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking fcntl.h usability... yes >checking fcntl.h presence... yes >checking for fcntl.h... yes >checking limits.h usability... yes >checking limits.h presence... yes >checking for limits.h... yes >checking malloc.h usability... yes >checking malloc.h presence... yes >checking for malloc.h... yes >checking for strings.h... (cached) yes >checking sys/ioctl.h usability... yes >checking sys/ioctl.h presence... yes >checking for sys/ioctl.h... yes >checking sys/time.h usability... yes >checking sys/time.h presence... yes >checking for sys/time.h... yes >checking for unistd.h... (cached) yes >checking for an ANSI C-conforming const... yes >checking for pid_t... yes >checking for size_t... yes >checking whether time.h and sys/time.h may both be included... yes >checking whether struct tm is in sys/time.h or time.h... time.h >checking for working alloca.h... yes >checking for alloca... yes >checking whether gcc needs -traditional... no >checking return type of signal handlers... void >checking for working strcoll... yes >checking for strftime... yes >checking for vprintf... yes >checking for _doprnt... no >checking for wait3 that fills in rusage... yes >checking for getcwd... yes >checking for gettimeofday... yes >checking for mkdir... yes >checking for rmdir... yes >checking for select... yes >checking for socket... yes >checking for strdup... yes >checking for strerror... yes >checking for strtod... yes >checking for strtol... yes >checking for sysinfo... yes >checking for setenv... yes >checking for unsetenv... yes >checking for getdomainname... yes >checking for a sed that does not truncate output... /bin/sed >checking for ld used by gcc... /usr/bin/ld >checking if the linker (/usr/bin/ld) is GNU ld... yes >checking for /usr/bin/ld option to reload object files... -r >checking for BSD-compatible nm... /usr/bin/nm -B >checking how to recognise dependent libraries... pass_all >checking dlfcn.h usability... yes >checking dlfcn.h presence... yes >checking for dlfcn.h... yes >checking how to run the C++ preprocessor... g++ -E >checking for g77... g77 >checking whether we are using the GNU Fortran 77 compiler... yes >checking whether g77 accepts -g... yes >checking the maximum length of command line arguments... 32768 >checking command to parse /usr/bin/nm -B output from gcc object... ok >checking for objdir... .libs >checking for ar... ar >checking for ranlib... ranlib >checking for strip... strip >checking if gcc static flag works... yes >checking if gcc supports -fno-rtti -fno-exceptions... yes >checking for gcc option to produce PIC... -fPIC >checking if gcc PIC flag -fPIC works... yes >checking if gcc supports -c -o file.o... yes >checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking for shl_load... no >checking for shl_load in -ldld... no >checking for dlopen... no >checking for dlopen in -ldl... yes >checking whether a program can dlopen itself... yes >checking whether a statically linked program can dlopen itself... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... no >configure: creating libtool >appending configuration tag "CXX" to libtool >checking for ld used by g++... /usr/bin/ld >checking if the linker (/usr/bin/ld) is GNU ld... yes >checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes >checking for g++ option to produce PIC... -fPIC >checking if g++ PIC flag -fPIC works... yes >checking if g++ supports -c -o file.o... yes >checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking for shl_load... (cached) no >checking for shl_load in -ldld... (cached) no >checking for dlopen... (cached) no >checking for dlopen in -ldl... (cached) yes >checking whether a program can dlopen itself... (cached) yes >checking whether a statically linked program can dlopen itself... (cached) yes >appending configuration tag "F77" to libtool >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... no >checking for g77 option to produce PIC... -fPIC >checking if g77 PIC flag -fPIC works... yes >checking if g77 supports -c -o file.o... yes >checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking for main in -lm... yes >checking for main in -lz... yes >checking for main in -lgcc_s... yes >checking for main in -lstdc++... yes >checking which extension is used for shared libraries... .so >checking for threading compiler options... -D_REENTRANT >checking for threading linker options... -lpthread >checking for external internationalization library headers... /usr/include/ >checking for external internationalization library libraries... no >configure: WARNING: *** external internationalization library is disabled >checking for external charset conversion library headers... /usr/include/ >checking for external charset conversion library libraries... no >configure: WARNING: *** external charset conversion library is disabled >checking for external gettext library headers... >checking for external gettext library libraries... no >configure: WARNING: *** external gettext library is disabled >checking for QT component headers... /usr/lib/qt-3.1/include/ >checking for QT component libraries... /usr/lib/qt-3.1/lib/ >checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include >checking for gethostbyname... yes >checking for connect... yes >checking for remove... yes >checking for shmat... yes >checking for IceConnectionNumber in -lICE... yes >checking for XOpenDisplay in -lX11... yes >checking for XShmAttach in -lXext... yes >checking for QT meta-object compiler... /usr/lib/qt-3.1/bin/ >checking for KDE 3.x component headers... /usr/include/kde/ >checking for KDE 3.x component libraries... /usr/lib/ >checking for Networking component headers... >checking for Networking component libraries... >checking for Advanced networking component headers... /usr/include/curl/ >checking for Advanced networking component libraries... /usr/lib/ >checking for PostgreSQL driver headers... /usr/include/pgsql/server/ /usr/include/pgsql/server/catalog/ /usr/include/ >checking for PostgreSQL driver libraries... /usr/lib/ >checking for MySQL driver headers... /usr/include/mysql/ >checking for MySQL driver libraries... /usr/lib/mysql/ >checking for SQLite driver headers... no >checking for SQLite driver libraries... no >configure: WARNING: *** SQLite driver is disabled >checking for SDL component headers... /usr/include/SDL/ >checking for SDL component libraries... /usr/lib/ >checking for Visual Basic compatibility component headers... >checking for Visual Basic compatibility component libraries... >checking for zlib compression headers... /usr/include/ >checking for zlib compression libraries... /usr/lib/ >checking for bzlib2 compression headers... /usr/include/ >checking for bzlib2 compression libraries... /usr/lib/ >checking for XML parser component headers... /usr/local/include/libxml2/ >checking for XML parser component libraries... /usr/local/lib/ >checking for XSLT/XML parser component headers... /usr/include/ >checking for XSLT/XML parser component libraries... /usr/lib/ >configure: creating ./config.status >config.status: creating Makefile >config.status: creating src/Makefile >config.status: creating src/share/Makefile >config.status: creating src/comp/Makefile >config.status: creating src/exec/Makefile >config.status: creating src/lib/Makefile >config.status: creating src/lib/debug/Makefile >config.status: creating src/lib/eval/Makefile >config.status: creating src/lib/qt/Makefile >config.status: creating src/lib/qt/editor/Makefile >config.status: creating src/lib/qt/ext/Makefile >config.status: creating src/lib/qt/kde/Makefile >config.status: creating src/lib/qt/kde/html/Makefile >config.status: creating src/lib/db/Makefile >config.status: creating src/lib/db/mysql/Makefile >config.status: creating src/lib/db/postgresql/Makefile >config.status: creating src/lib/db/sqlite/Makefile >config.status: creating src/lib/sdl/Makefile >config.status: creating src/lib/net/Makefile >config.status: creating src/lib/net/curl/Makefile >config.status: creating src/lib/vb/Makefile >config.status: creating src/lib/compress/Makefile >config.status: creating src/lib/compress/zlib/Makefile >config.status: creating src/lib/compress/bzlib2/Makefile >config.status: creating src/lib/xml/Makefile >config.status: creating src/lib/xml/libxml/Makefile >config.status: creating src/lib/xml/libxml/xslt/Makefile >config.status: creating src/lib/xml/libxml/rpc/Makefile >config.status: creating config.h >config.status: config.h is unchanged >config.status: executing depfiles commands >configure: configuring in libltdl >configure: running /bin/sh './configure' --prefix=/opt/gambas --enable-ltdl-convenience --cache-file=/dev/null --srcdir=. >checking for a BSD-compatible install... /usr/bin/install -c >checking whether build environment is sane... yes >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking for gcc... gcc >checking for C compiler default output... a.out >checking whether the C compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether gcc accepts -g... yes >checking for gcc option to accept ANSI C... none needed >checking for style of include used by make... GNU >checking dependency style of gcc... none >checking for an ANSI C-conforming const... yes >checking for inline... inline >checking build system type... i686-pc-linux-gnu >checking host system type... i686-pc-linux-gnu >checking for a sed that does not truncate output... /bin/sed >checking for egrep... grep -E >checking for ld used by gcc... /usr/bin/ld >checking if the linker (/usr/bin/ld) is GNU ld... yes >checking for /usr/bin/ld option to reload object files... -r >checking for BSD-compatible nm... /usr/bin/nm -B >checking whether ln -s works... yes >checking how to recognise dependent libraries... pass_all >checking how to run the C preprocessor... gcc -E >checking for ANSI C header files... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking dlfcn.h usability... yes >checking dlfcn.h presence... yes >checking for dlfcn.h... yes >checking for g++... g++ >checking whether we are using the GNU C++ compiler... yes >checking whether g++ accepts -g... yes >checking dependency style of g++... none >checking how to run the C++ preprocessor... g++ -E >checking for g77... g77 >checking whether we are using the GNU Fortran 77 compiler... yes >checking whether g77 accepts -g... yes >checking the maximum length of command line arguments... 32768 >checking command to parse /usr/bin/nm -B output from gcc object... ok >checking for objdir... .libs >checking for ar... ar >checking for ranlib... ranlib >checking for strip... strip >checking if gcc static flag works... yes >checking if gcc supports -fno-rtti -fno-exceptions... yes >checking for gcc option to produce PIC... -fPIC >checking if gcc PIC flag -fPIC works... yes >checking if gcc supports -c -o file.o... yes >checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... yes >configure: creating libtool >appending configuration tag "CXX" to libtool >checking for ld used by g++... /usr/bin/ld >checking if the linker (/usr/bin/ld) is GNU ld... yes >checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes >checking for g++ option to produce PIC... -fPIC >checking if g++ PIC flag -fPIC works... yes >checking if g++ supports -c -o file.o... yes >checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >appending configuration tag "F77" to libtool >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... yes >checking for g77 option to produce PIC... -fPIC >checking if g77 PIC flag -fPIC works... yes >checking if g77 supports -c -o file.o... yes >checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking for dirent.h that defines DIR... yes >checking for library containing opendir... none required >checking which extension is used for loadable modules... .so >checking which variable specifies run-time library path... LD_LIBRARY_PATH >checking for the default library search path... /lib /usr/lib /usr/X11R6/lib /usr/kerberos/lib /usr/X11R6/lib /usr/lib/sane /usr/lib/qt-3.1/lib /usr/lib/mysql /usr/lib/qt2/lib >checking for objdir... .libs >checking whether libtool supports -dlopen/-dlpreopen... yes >checking for shl_load... no >checking for shl_load in -ldld... no >checking for dlopen in -ldl... yes >checking for dlerror... yes >checking for _ prefix in compiled symbols... no >checking whether deplibs are loaded by dlopen... yes >checking argz.h usability... yes >checking argz.h presence... yes >checking for argz.h... yes >checking for error_t... yes >checking for argz_append... yes >checking for argz_create_sep... yes >checking for argz_insert... yes >checking for argz_next... yes >checking for argz_stringify... yes >checking assert.h usability... yes >checking assert.h presence... yes >checking for assert.h... yes >checking ctype.h usability... yes >checking ctype.h presence... yes >checking for ctype.h... yes >checking errno.h usability... yes >checking errno.h presence... yes >checking for errno.h... yes >checking malloc.h usability... yes >checking malloc.h presence... yes >checking for malloc.h... yes >checking for memory.h... (cached) yes >checking for stdlib.h... (cached) yes >checking stdio.h usability... yes >checking stdio.h presence... yes >checking for stdio.h... yes >checking for unistd.h... (cached) yes >checking dl.h usability... no >checking dl.h presence... no >checking for dl.h... no >checking sys/dl.h usability... no >checking sys/dl.h presence... no >checking for sys/dl.h... no >checking dld.h usability... no >checking dld.h presence... no >checking for dld.h... no >checking mach-o/dyld.h usability... no >checking mach-o/dyld.h presence... no >checking for mach-o/dyld.h... no >checking for string.h... (cached) yes >checking for strchr... yes >checking for strrchr... yes >checking for memcpy... yes >checking for memmove... yes >checking for strcmp... yes >checking for closedir... yes >checking for opendir... yes >checking for readdir... yes >configure: creating ./config.status >config.status: creating Makefile >config.status: creating config.h >config.status: config.h is unchanged >config.status: executing depfiles commands >make all-recursive >make[1]: Entering directory `/home/LinuxBasic/gambas-1.0.6' >Making all in libltdl >make[2]: Entering directory `/home/LinuxBasic/gambas-1.0.6/libltdl' >make all-am >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/libltdl' >/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c -o ltdl.lo `test -f 'ltdl.c' || echo './'`ltdl.c > gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -fPIC -DPIC -o .libs/ltdl.o > gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1 >/bin/sh ./libtool --mode=link gcc -g -O2 -o libltdlc.la ltdl.lo -ldl >rm -fr .libs/libltdlc.a .libs/libltdlc.la >ar cru .libs/libltdlc.a .libs/ltdl.o >ranlib .libs/libltdlc.a >creating libltdlc.la >(cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la) >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/libltdl' >make[2]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/libltdl' >Making all in src >make[2]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src' >Making all in share >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/share' >make[3]: Nothing to be done for `all'. >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/share' >Making all in comp >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/comp' >make[3]: Nothing to be done for `all'. >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/comp' >Making all in exec >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/exec' >make[3]: Nothing to be done for `all'. >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/exec' >Making all in lib >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib' >Making all in debug >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/debug' >make[4]: Nothing to be done for `all'. >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/debug' >Making all in eval >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/eval' >make[4]: Nothing to be done for `all'. >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/eval' >Making all in db >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db' >Making all in mysql >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/mysql' >make[5]: Nothing to be done for `all'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/mysql' >Making all in postgresql >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/postgresql' >make[5]: Nothing to be done for `all'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/postgresql' >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db' >make[5]: Nothing to be done for `all-am'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db' >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db' >Making all in compress >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress' >Making all in zlib >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/zlib' >make[5]: Nothing to be done for `all'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/zlib' >Making all in bzlib2 >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/bzlib2' >make[5]: Nothing to be done for `all'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/bzlib2' >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress' >make[5]: Nothing to be done for `all-am'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress' >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress' >Making all in xml >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml' >Making all in libxml >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml' >Making all in include >make[6]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/include' >Making all in libxml >make[7]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/include/libxml' >make[7]: Nothing to be done for `all'. >make[7]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/include/libxml' >make[7]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/include' >make[7]: Nothing to be done for `all-am'. >make[7]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/include' >make[6]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/include' >Making all in . >make[6]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml' >make[6]: *** No rule to make target `../../../../libxml2.la', needed by `xmllint'. Stop. >make[6]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml' >make[5]: *** [all-recursive] Error 1 >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml' >make[4]: *** [all-recursive] Error 1 >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml' >make[3]: *** [all-recursive] Error 1 >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib' >make[2]: *** [all-recursive] Error 1 >make[2]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src' >make[1]: *** [all-recursive] Error 1 >make[1]: Leaving directory `/home/LinuxBasic/gambas-1.0.6' >make: *** [all] Error 2 >Making install in libltdl >make[1]: Entering directory `/home/LinuxBasic/gambas-1.0.6/libltdl' >make[2]: Entering directory `/home/LinuxBasic/gambas-1.0.6/libltdl' >/bin/sh ./mkinstalldirs /opt/gambas/lib >/bin/sh ./mkinstalldirs /opt/gambas/include >make[2]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/libltdl' >make[1]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/libltdl' >Making install in src >make[1]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src' >Making install in share >make[2]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/share' >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/share' >make[3]: Nothing to be done for `install-exec-am'. >make[3]: Nothing to be done for `install-data-am'. >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/share' >make[2]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/share' >Making install in comp >make[2]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/comp' >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/comp' >/bin/sh ../../mkinstalldirs /opt/gambas/bin > /bin/sh ../../libtool --mode=install /usr/bin/install -c gbc /opt/gambas/bin/gbc >/usr/bin/install -c gbc /opt/gambas/bin/gbc > /bin/sh ../../libtool --mode=install /usr/bin/install -c gba /opt/gambas/bin/gba >/usr/bin/install -c gba /opt/gambas/bin/gba > /bin/sh ../../libtool --mode=install /usr/bin/install -c gbi /opt/gambas/bin/gbi >/usr/bin/install -c gbi /opt/gambas/bin/gbi >make[3]: Nothing to be done for `install-data-am'. >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/comp' >make[2]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/comp' >Making install in exec >make[2]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/exec' >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/exec' >/bin/sh ../../mkinstalldirs /opt/gambas/bin > /bin/sh ../../libtool --mode=install /usr/bin/install -c gbx /opt/gambas/bin/gbx >/usr/bin/install -c gbx /opt/gambas/bin/gbx >/bin/sh ../../mkinstalldirs /opt/gambas/lib/gambas > /bin/sh ../../libtool --mode=install /usr/bin/install -c lib.gb.la /opt/gambas/lib/gambas/lib.gb.la >/usr/bin/install -c .libs/lib.gb.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.so.0.0.0 >(cd /opt/gambas/lib/gambas && rm -f lib.gb.so.0 && ln -s lib.gb.so.0.0.0 lib.gb.so.0) >(cd /opt/gambas/lib/gambas && rm -f lib.gb.so && ln -s lib.gb.so.0.0.0 lib.gb.so) >/usr/bin/install -c .libs/lib.gb.lai /opt/gambas/lib/gambas/lib.gb.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib/gambas > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[3]: Nothing to be done for `install-data-am'. >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/exec' >make[2]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/exec' >Making install in lib >make[2]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib' >Making install in debug >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/debug' >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/debug' >/bin/sh ../../../mkinstalldirs /opt/gambas/lib/gambas > /bin/sh ../../../libtool --mode=install /usr/bin/install -c lib.gb.debug.la /opt/gambas/lib/gambas/lib.gb.debug.la >/usr/bin/install -c .libs/lib.gb.debug.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.debug.so.0.0.0 >(cd /opt/gambas/lib/gambas && rm -f lib.gb.debug.so.0 && ln -s lib.gb.debug.so.0.0.0 lib.gb.debug.so.0) >(cd /opt/gambas/lib/gambas && rm -f lib.gb.debug.so && ln -s lib.gb.debug.so.0.0.0 lib.gb.debug.so) >/usr/bin/install -c .libs/lib.gb.debug.lai /opt/gambas/lib/gambas/lib.gb.debug.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib/gambas > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[4]: Nothing to be done for `install-data-am'. >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/debug' >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/debug' >Making install in eval >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/eval' >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/eval' >/bin/sh ../../../mkinstalldirs /opt/gambas/lib/gambas > /bin/sh ../../../libtool --mode=install /usr/bin/install -c lib.gb.eval.la /opt/gambas/lib/gambas/lib.gb.eval.la >/usr/bin/install -c .libs/lib.gb.eval.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.eval.so.0.0.0 >(cd /opt/gambas/lib/gambas && rm -f lib.gb.eval.so.0 && ln -s lib.gb.eval.so.0.0.0 lib.gb.eval.so.0) >(cd /opt/gambas/lib/gambas && rm -f lib.gb.eval.so && ln -s lib.gb.eval.so.0.0.0 lib.gb.eval.so) >/usr/bin/install -c .libs/lib.gb.eval.lai /opt/gambas/lib/gambas/lib.gb.eval.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib/gambas > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[4]: Nothing to be done for `install-data-am'. >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/eval' >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/eval' >Making install in db >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db' >Making install in mysql >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/mysql' >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/mysql' >/bin/sh ../../../../mkinstalldirs /opt/gambas/lib/gambas > /bin/sh ../../../../libtool --mode=install /usr/bin/install -c lib.gb.db.mysql.la /opt/gambas/lib/gambas/lib.gb.db.mysql.la >/usr/bin/install -c .libs/lib.gb.db.mysql.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.db.mysql.so.0.0.0 >(cd /opt/gambas/lib/gambas && rm -f lib.gb.db.mysql.so.0 && ln -s lib.gb.db.mysql.so.0.0.0 lib.gb.db.mysql.so.0) >(cd /opt/gambas/lib/gambas && rm -f lib.gb.db.mysql.so && ln -s lib.gb.db.mysql.so.0.0.0 lib.gb.db.mysql.so) >/usr/bin/install -c .libs/lib.gb.db.mysql.lai /opt/gambas/lib/gambas/lib.gb.db.mysql.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib/gambas > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[5]: Nothing to be done for `install-data-am'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/mysql' >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/mysql' >Making install in postgresql >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/postgresql' >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/postgresql' >/bin/sh ../../../../mkinstalldirs /opt/gambas/lib/gambas > /bin/sh ../../../../libtool --mode=install /usr/bin/install -c lib.gb.db.postgresql.la /opt/gambas/lib/gambas/lib.gb.db.postgresql.la >/usr/bin/install -c .libs/lib.gb.db.postgresql.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.db.postgresql.so.0.0.0 >(cd /opt/gambas/lib/gambas && rm -f lib.gb.db.postgresql.so.0 && ln -s lib.gb.db.postgresql.so.0.0.0 lib.gb.db.postgresql.so.0) >(cd /opt/gambas/lib/gambas && rm -f lib.gb.db.postgresql.so && ln -s lib.gb.db.postgresql.so.0.0.0 lib.gb.db.postgresql.so) >/usr/bin/install -c .libs/lib.gb.db.postgresql.lai /opt/gambas/lib/gambas/lib.gb.db.postgresql.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib/gambas > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[5]: Nothing to be done for `install-data-am'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/postgresql' >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db/postgresql' >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db' >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db' >/bin/sh ../../../mkinstalldirs /opt/gambas/lib/gambas > /bin/sh ../../../libtool --mode=install /usr/bin/install -c lib.gb.db.la /opt/gambas/lib/gambas/lib.gb.db.la >/usr/bin/install -c .libs/lib.gb.db.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.db.so.0.0.0 >(cd /opt/gambas/lib/gambas && rm -f lib.gb.db.so.0 && ln -s lib.gb.db.so.0.0.0 lib.gb.db.so.0) >(cd /opt/gambas/lib/gambas && rm -f lib.gb.db.so && ln -s lib.gb.db.so.0.0.0 lib.gb.db.so) >/usr/bin/install -c .libs/lib.gb.db.lai /opt/gambas/lib/gambas/lib.gb.db.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib/gambas > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[5]: Nothing to be done for `install-data-am'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db' >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db' >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/db' >Making install in compress >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress' >Making install in zlib >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/zlib' >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/zlib' >/bin/sh ../../../../mkinstalldirs /opt/gambas/lib/gambas > /bin/sh ../../../../libtool --mode=install /usr/bin/install -c lib.gb.compress.zlib.la /opt/gambas/lib/gambas/lib.gb.compress.zlib.la >/usr/bin/install -c .libs/lib.gb.compress.zlib.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.compress.zlib.so.0.0.0 >(cd /opt/gambas/lib/gambas && rm -f lib.gb.compress.zlib.so.0 && ln -s lib.gb.compress.zlib.so.0.0.0 lib.gb.compress.zlib.so.0) >(cd /opt/gambas/lib/gambas && rm -f lib.gb.compress.zlib.so && ln -s lib.gb.compress.zlib.so.0.0.0 lib.gb.compress.zlib.so) >/usr/bin/install -c .libs/lib.gb.compress.zlib.lai /opt/gambas/lib/gambas/lib.gb.compress.zlib.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib/gambas > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[5]: Nothing to be done for `install-data-am'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/zlib' >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/zlib' >Making install in bzlib2 >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/bzlib2' >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/bzlib2' >/bin/sh ../../../../mkinstalldirs /opt/gambas/lib/gambas > /bin/sh ../../../../libtool --mode=install /usr/bin/install -c lib.gb.compress.bzlib2.la /opt/gambas/lib/gambas/lib.gb.compress.bzlib2.la >/usr/bin/install -c .libs/lib.gb.compress.bzlib2.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.compress.bzlib2.so.0.0.0 >(cd /opt/gambas/lib/gambas && rm -f lib.gb.compress.bzlib2.so.0 && ln -s lib.gb.compress.bzlib2.so.0.0.0 lib.gb.compress.bzlib2.so.0) >(cd /opt/gambas/lib/gambas && rm -f lib.gb.compress.bzlib2.so && ln -s lib.gb.compress.bzlib2.so.0.0.0 lib.gb.compress.bzlib2.so) >/usr/bin/install -c .libs/lib.gb.compress.bzlib2.lai /opt/gambas/lib/gambas/lib.gb.compress.bzlib2.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib/gambas > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[5]: Nothing to be done for `install-data-am'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/bzlib2' >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress/bzlib2' >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress' >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress' >/bin/sh ../../../mkinstalldirs /opt/gambas/lib/gambas > /bin/sh ../../../libtool --mode=install /usr/bin/install -c lib.gb.compress.la /opt/gambas/lib/gambas/lib.gb.compress.la >/usr/bin/install -c .libs/lib.gb.compress.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.compress.so.0.0.0 >(cd /opt/gambas/lib/gambas && rm -f lib.gb.compress.so.0 && ln -s lib.gb.compress.so.0.0.0 lib.gb.compress.so.0) >(cd /opt/gambas/lib/gambas && rm -f lib.gb.compress.so && ln -s lib.gb.compress.so.0.0.0 lib.gb.compress.so) >/usr/bin/install -c .libs/lib.gb.compress.lai /opt/gambas/lib/gambas/lib.gb.compress.la >PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas >---------------------------------------------------------------------- >Libraries have been installed in: > /opt/gambas/lib/gambas > >If you ever happen to want to link against installed libraries >in a given directory, LIBDIR, you must either use libtool, and >specify the full pathname of the library, or use the `-LLIBDIR' >flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > >See any operating system documentation about shared libraries for >more information, such as the ld(1) and ld.so(8) manual pages. >---------------------------------------------------------------------- >make[5]: Nothing to be done for `install-data-am'. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress' >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress' >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/compress' >Making install in xml >make[3]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml' >Making install in libxml >make[4]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml' >Making install in include >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/include' >Making install in libxml >make[6]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/include/libxml' >make[7]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/include/libxml' >make install-exec-hook >make[8]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/include/libxml' >/bin/sh ../../mkinstalldirs /usr/local/include/libxml2/libxml >make[8]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/include/libxml' >mkdir -p -- . /usr/local/include/libxml2/libxml > /usr/bin/install -c -m 644 SAX.h /usr/local/include/libxml2/libxml/SAX.h > /usr/bin/install -c -m 644 entities.h /usr/local/include/libxml2/libxml/entities.h > /usr/bin/install -c -m 644 encoding.h /usr/local/include/libxml2/libxml/encoding.h > /usr/bin/install -c -m 644 parser.h /usr/local/include/libxml2/libxml/parser.h > /usr/bin/install -c -m 644 parserInternals.h /usr/local/include/libxml2/libxml/parserInternals.h > /usr/bin/install -c -m 644 xmlerror.h /usr/local/include/libxml2/libxml/xmlerror.h > /usr/bin/install -c -m 644 HTMLparser.h /usr/local/include/libxml2/libxml/HTMLparser.h > /usr/bin/install -c -m 644 HTMLtree.h /usr/local/include/libxml2/libxml/HTMLtree.h > /usr/bin/install -c -m 644 debugXML.h /usr/local/include/libxml2/libxml/debugXML.h > /usr/bin/install -c -m 644 tree.h /usr/local/include/libxml2/libxml/tree.h > /usr/bin/install -c -m 644 list.h /usr/local/include/libxml2/libxml/list.h > /usr/bin/install -c -m 644 hash.h /usr/local/include/libxml2/libxml/hash.h > /usr/bin/install -c -m 644 xpath.h /usr/local/include/libxml2/libxml/xpath.h > /usr/bin/install -c -m 644 xpathInternals.h /usr/local/include/libxml2/libxml/xpathInternals.h > /usr/bin/install -c -m 644 xpointer.h /usr/local/include/libxml2/libxml/xpointer.h > /usr/bin/install -c -m 644 xinclude.h /usr/local/include/libxml2/libxml/xinclude.h > /usr/bin/install -c -m 644 xmlIO.h /usr/local/include/libxml2/libxml/xmlIO.h > /usr/bin/install -c -m 644 xmlmemory.h /usr/local/include/libxml2/libxml/xmlmemory.h > /usr/bin/install -c -m 644 nanohttp.h /usr/local/include/libxml2/libxml/nanohttp.h > /usr/bin/install -c -m 644 nanoftp.h /usr/local/include/libxml2/libxml/nanoftp.h > /usr/bin/install -c -m 644 uri.h /usr/local/include/libxml2/libxml/uri.h > /usr/bin/install -c -m 644 valid.h /usr/local/include/libxml2/libxml/valid.h > /usr/bin/install -c -m 644 xlink.h /usr/local/include/libxml2/libxml/xlink.h > /usr/bin/install -c -m 644 xmlversion.h /usr/local/include/libxml2/libxml/xmlversion.h > /usr/bin/install -c -m 644 DOCBparser.h /usr/local/include/libxml2/libxml/DOCBparser.h > /usr/bin/install -c -m 644 catalog.h /usr/local/include/libxml2/libxml/catalog.h > /usr/bin/install -c -m 644 threads.h /usr/local/include/libxml2/libxml/threads.h > /usr/bin/install -c -m 644 globals.h /usr/local/include/libxml2/libxml/globals.h > /usr/bin/install -c -m 644 c14n.h /usr/local/include/libxml2/libxml/c14n.h > /usr/bin/install -c -m 644 xmlautomata.h /usr/local/include/libxml2/libxml/xmlautomata.h > /usr/bin/install -c -m 644 xmlregexp.h /usr/local/include/libxml2/libxml/xmlregexp.h > /usr/bin/install -c -m 644 xmlschemas.h /usr/local/include/libxml2/libxml/xmlschemas.h > /usr/bin/install -c -m 644 schemasInternals.h /usr/local/include/libxml2/libxml/schemasInternals.h > /usr/bin/install -c -m 644 xmlschemastypes.h /usr/local/include/libxml2/libxml/xmlschemastypes.h > /usr/bin/install -c -m 644 xmlstring.h /usr/local/include/libxml2/libxml/xmlstring.h > /usr/bin/install -c -m 644 xmlunicode.h /usr/local/include/libxml2/libxml/xmlunicode.h > /usr/bin/install -c -m 644 xmlreader.h /usr/local/include/libxml2/libxml/xmlreader.h > /usr/bin/install -c -m 644 relaxng.h /usr/local/include/libxml2/libxml/relaxng.h > /usr/bin/install -c -m 644 dict.h /usr/local/include/libxml2/libxml/dict.h > /usr/bin/install -c -m 644 SAX2.h /usr/local/include/libxml2/libxml/SAX2.h > /usr/bin/install -c -m 644 xmlexports.h /usr/local/include/libxml2/libxml/xmlexports.h > /usr/bin/install -c -m 644 xmlwriter.h /usr/local/include/libxml2/libxml/xmlwriter.h > /usr/bin/install -c -m 644 chvalid.h /usr/local/include/libxml2/libxml/chvalid.h > /usr/bin/install -c -m 644 pattern.h /usr/local/include/libxml2/libxml/pattern.h > /usr/bin/install -c -m 644 xmlsave.h /usr/local/include/libxml2/libxml/xmlsave.h >make[7]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/include/libxml' >make[6]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/include/libxml' >make[6]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/include' >make[7]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/include' >make[7]: Nothing to be done for `install-exec-am'. >make[7]: Nothing to be done for `install-data-am'. >make[7]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/include' >make[6]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/include' >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml/include' >Making install in . >make[5]: Entering directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml' >make[5]: *** No rule to make target `../../../../libxml2.la', needed by `xmllint'. Stop. >make[5]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml' >make[4]: *** [install-recursive] Error 1 >make[4]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml/libxml' >make[3]: *** [install-recursive] Error 1 >make[3]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib/xml' >make[2]: *** [install-recursive] Error 1 >make[2]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src/lib' >make[1]: *** [install-recursive] Error 1 >make[1]: Leaving directory `/home/LinuxBasic/gambas-1.0.6/src' >make: *** [install-recursive] Error 1 > > > From gambas-users at ...790... Wed Jun 29 11:34:09 2005 From: gambas-users at ...790... (Rob Kendrick) Date: Wed, 29 Jun 2005 10:34:09 +0100 Subject: [Gambas-user] Re: Maybe a weird question In-Reply-To: <200506281402.18982.njmurphy1@...734...> References: <200506281402.18982.njmurphy1@...734...> Message-ID: <1120037649.8255.20.camel@...37...> On Tue, 2005-06-28 at 14:02 -0700, Joseph Murphy wrote: > This problem is really showing a weakness of Linux. The /usr/bin directory > is like my junk drawer in my office, everthing gets thrown in there. Linux > has 32 character file names and we have a thousand files in there with two > or three character filenames. I think you'll find they can be a great deal longer than that. > This is lazy. It's my opinion that the > search path should be recursive. That way when I install a program I can > have /usr/bin in my path but install gambas into /usr/bin/Gambas and not > have to add that to my PATH. Maybe I should get my hammer out and pound on > the bash source for awhile. I've always thought that gbx should be a shared library, and the files gambas's compiler produced were executables, just with a small stub of code that passed a pointer to the data to the gbx shared library. It's much cleaner that way for numerous reasons, as you get all the version handling for free, and you have the option of statically linking. And all for not a lot of effort at all. -- Rob Kendrick PGP signed or encrypted mail welcome (Key ID: 3651D17A) From danielcampos at ...282... Wed Jun 29 11:53:15 2005 From: danielcampos at ...282... (Daniel Campos) Date: Wed, 29 Jun 2005 11:53:15 +0200 Subject: [Gambas-user] DNS gnulinex.org Message-ID: <42C26F8B.7070805@...282...> Hi: For those interested in the new versions of gb.net.curl, gb.gtk or gb.v4l, gnulinex DNS is working again. It will take a few hours to be accesible from everywhere. Regards, D. Campos From danielcampos at ...282... Wed Jun 29 11:58:53 2005 From: danielcampos at ...282... (Daniel Campos) Date: Wed, 29 Jun 2005 11:58:53 +0200 Subject: [Gambas-user] OPEN,SHELL,EXEC In-Reply-To: <42C24D10.4080508@...221...> References: <42BF2BDB.3070205@...282...> <42C24D10.4080508@...221...> Message-ID: <42C270DD.1070205@...282...> Hi: I really don't know, I'm just translating :-). However the Variable=[method] syntax seems to be more coherent with the rest of the language. I really never understood why VB took this strange syntax, and in fact it changed with VB.NET. I suppose Beno?t wants to change it due to the same reason. Regards, D. Campos Eilert escribi?: > Hi Daniel, > hi Benoit, > > just as a matter of curiosity: Why was the syntax of OPEN changed > anyway? Does this make possible any special tricks, or does it have > any advantage for later expansions? > > Rolf > > > Daniel Campos schrieb: > >> Hi: >> >> I've updated my little program to convert a project from Gambas1 to >> Gambas2. >> Now it is able to change the EXEC and SHELL syntax if Gambas-1.9.9 is >> detected, >> and OPEN too is Gambas-1.9.10 or newer is detected. >> >> Here's the program: >> >> http://www.binara.com/gambas-wiki/bin/view/Gambas/ChangeProcessSyntax >> >> Regards, >> >> D. Campos >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >> from IBM. Find simple to follow Roadmaps, straightforward articles, >> informative Webcasts and more! Get everything you need to get up to >> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gindelhe at ...43... Wed Jun 29 12:58:13 2005 From: gindelhe at ...43... (Gindele Hal.) Date: Wed, 29 Jun 2005 03:58:13 -0700 (PDT) Subject: [Gambas-user] gb.net.curl 050626 In-Reply-To: <42C26711.2050309@...282...> Message-ID: <20050629105814.81852.qmail@...603...> Hello, I ran into another problem which leads to another silly question on gbi2. What is gbi2 and where do I get it. I tried to do a google search for gbi2 linux with no luck. Here is what i get after a make install: Creating the library info files... make[3]: gbi2: Command not found make[3]: *** [install-exec-local] Error 127 make[3]: Leaving directory `/home/gindelhe/source/gambas2-1.9.9/gb.clanlib' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/gindelhe/source/gambas2-1.9.9/gb.clanlib' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/gindelhe/source/gambas2-1.9.9/gb.clanlib' make: *** [install-recursive] Error 1 Thanks, Hal. --- Daniel Campos wrote: > Hi: > > We're trying to solve the problem. However, as the > complete component > sources is too big, I send here only a part of the > files. Unpack the file, > you will find a "src" folder. Overwrite the files > placed at > {gambas-sources-1.9.9}/gb.net.curl/src > with the new ones, then go to gb.net.curl folder, > and execute: > > ./reconf > ./configure (--your--options) > make > > (As root): > > make install > gbi2 > > Regards, > > D. Campos > > > > > > Gindele Hal. escribi?: > > >I tried to go to the url in the message and I get a > >timeout. I would like to try this so I can see if I > >can get GAMBAS compiled under Fedora core4. Is > there > >an alternative web site that might have this? > > > >Thanks, > >Hal. > > > >--- Daniel Campos > >wrote: > > > > > > > >>Component gb.net.curl - Version 050626 > >> > >>Hi all: > >> > >>I've updated the gb.net.curl component, so it is > >>able to compile with > >>gcc-4.0. Users from the new version of Fedora and > >>Mandrake Cooker > >>will be able to compile this component now. > >> > >>You can find and download it at: > >> > >>http://gambas.gnulinex.org/net > >> > >>Regards, > >> > >>D. Campos > >> > >> > >> > >> > >> > >------------------------------------------------------- > > > > > >>SF.Net email is sponsored by: Discover Easy Linux > >>Migration Strategies > >>from IBM. Find simple to follow Roadmaps, > >>straightforward articles, > >>informative Webcasts and more! Get everything you > >>need to get up to > >>speed, fast. > >> > >> > >> > >http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > > > > > >>_______________________________________________ > >>Gambas-user mailing list > >>Gambas-user at lists.sourceforge.net > >> > >> > >> > >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > >____________________________________________________ > > >Yahoo! Sports > >Rekindle the Rivalries. Sign up for Fantasy > Football > >http://football.fantasysports.yahoo.com > > > > > >------------------------------------------------------- > >SF.Net email is sponsored by: Discover Easy Linux > Migration Strategies > >from IBM. Find simple to follow Roadmaps, > straightforward articles, > >informative Webcasts and more! Get everything you > need to get up to > >speed, fast. > http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > >_______________________________________________ > >Gambas-user mailing list > >Gambas-user at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > __________________________________ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail From danielcampos at ...282... Wed Jun 29 13:16:17 2005 From: danielcampos at ...282... (Daniel Campos) Date: Wed, 29 Jun 2005 13:16:17 +0200 Subject: [Gambas-user] gb.net.curl 050626 In-Reply-To: <20050629105814.81852.qmail@...603...> References: <20050629105814.81852.qmail@...603...> Message-ID: <42C28301.2080305@...282...> Mmmhh... I had the same problem when compiling 1.9.9 but I though I had done something wrong. Anyway gbi2 is part of Gambas2, prior to perform the general "make install", follow these steps: 1) Go to {gambas-sources-1.9.9}/main 2) "make", and as root, "make install" 3) Then go to {gambas-sources-1.9.9} and "make install" Then all should work fine. Regards, D. Campos Gindele Hal. escribi?: >Hello, > >I ran into another problem which leads to another >silly question on gbi2. What is gbi2 and where do I >get it. I tried to do a google search for gbi2 linux >with no luck. Here is what i get after a make install: > >Creating the library info files... >make[3]: gbi2: Command not found >make[3]: *** [install-exec-local] Error 127 >make[3]: Leaving directory >`/home/gindelhe/source/gambas2-1.9.9/gb.clanlib' >make[2]: *** [install-am] Error 2 >make[2]: Leaving directory >`/home/gindelhe/source/gambas2-1.9.9/gb.clanlib' >make[1]: *** [install-recursive] Error 1 >make[1]: Leaving directory >`/home/gindelhe/source/gambas2-1.9.9/gb.clanlib' >make: *** [install-recursive] Error 1 > >Thanks, >Hal. > >--- Daniel Campos >wrote: > > > >>Hi: >> >>We're trying to solve the problem. However, as the >>complete component >>sources is too big, I send here only a part of the >>files. Unpack the file, >>you will find a "src" folder. Overwrite the files >>placed at >>{gambas-sources-1.9.9}/gb.net.curl/src >>with the new ones, then go to gb.net.curl folder, >>and execute: >> >>./reconf >>./configure (--your--options) >>make >> >>(As root): >> >>make install >>gbi2 >> >>Regards, >> >>D. Campos >> >> >> >> >> >>Gindele Hal. escribi?: >> >> >> >>>I tried to go to the url in the message and I get a >>>timeout. I would like to try this so I can see if I >>>can get GAMBAS compiled under Fedora core4. Is >>> >>> >>there >> >> >>>an alternative web site that might have this? >>> >>>Thanks, >>>Hal. >>> >>>--- Daniel Campos >>>wrote: >>> >>> >>> >>> >>> >>>>Component gb.net.curl - Version 050626 >>>> >>>>Hi all: >>>> >>>>I've updated the gb.net.curl component, so it is >>>>able to compile with >>>>gcc-4.0. Users from the new version of Fedora and >>>>Mandrake Cooker >>>>will be able to compile this component now. >>>> >>>>You can find and download it at: >>>> >>>>http://gambas.gnulinex.org/net >>>> >>>>Regards, >>>> >>>>D. Campos >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>------------------------------------------------------- >> >> >>> >>> >>> >>> >>>>SF.Net email is sponsored by: Discover Easy Linux >>>>Migration Strategies >>>> >>>> >>>>from IBM. Find simple to follow Roadmaps, >>> >>> >>>>straightforward articles, >>>>informative Webcasts and more! Get everything you >>>>need to get up to >>>>speed, fast. >>>> >>>> >>>> >>>> >>>> >>http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >> >> >>> >>> >>> >>> >>>>_______________________________________________ >>>>Gambas-user mailing list >>>>Gambas-user at lists.sourceforge.net >>>> >>>> >>>> >>>> >>>> >>https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >>> >>> >>> >>> >>> >>> >>> >>> >>____________________________________________________ >> >> >> >>>Yahoo! Sports >>>Rekindle the Rivalries. Sign up for Fantasy >>> >>> >>Football >> >> >>>http://football.fantasysports.yahoo.com >>> >>> >>> >>> >>------------------------------------------------------- >> >> >>>SF.Net email is sponsored by: Discover Easy Linux >>> >>> >>Migration Strategies >>>from IBM. Find simple to follow Roadmaps, >>straightforward articles, >> >> >>>informative Webcasts and more! Get everything you >>> >>> >>need to get up to >> >> >>>speed, fast. >>> >>> >http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > > >>>_______________________________________________ >>>Gambas-user mailing list >>>Gambas-user at lists.sourceforge.net >>> >>> >>https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >>> >>> >>> >>> >> >> > > > > >__________________________________ >Yahoo! Mail Mobile >Take Yahoo! Mail with you! Check email on your mobile phone. >http://mobile.yahoo.com/learn/mail > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From lordheavy at ...512... Wed Jun 29 13:20:28 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 29 Jun 2005 13:20:28 +0200 Subject: [Gambas-user] gb.net.curl 050626 In-Reply-To: <20050629105814.81852.qmail@...603...> References: <20050629105814.81852.qmail@...603...> Message-ID: <42C283FC.1070304@...512...> Gindele Hal. a ?crit : > Hello, > > I ran into another problem which leads to another > silly question on gbi2. What is gbi2 and where do I > get it. I tried to do a google search for gbi2 linux > with no luck. Here is what i get after a make install: > > Creating the library info files... > make[3]: gbi2: Command not found > make[3]: *** [install-exec-local] Error 127 > make[3]: Leaving directory > `/home/gindelhe/source/gambas2-1.9.9/gb.clanlib' > make[2]: *** [install-am] Error 2 > make[2]: Leaving directory > `/home/gindelhe/source/gambas2-1.9.9/gb.clanlib' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory > `/home/gindelhe/source/gambas2-1.9.9/gb.clanlib' > make: *** [install-recursive] Error 1 > It's a known problem, upgrade to the lastest release (1.9.10) http://prdownloads.sourceforge.net/gambas/gambas2-1.9.10.tar.bz2?download Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From gindelhe at ...43... Wed Jun 29 14:34:10 2005 From: gindelhe at ...43... (Gindele Hal.) Date: Wed, 29 Jun 2005 05:34:10 -0700 (PDT) Subject: [Gambas-user] gb.net.curl 050626 In-Reply-To: <42C283FC.1070304@...512...> Message-ID: <20050629123410.3151.qmail@...1022...> Will this version work with gcc4 or am I going to need to go around stuff like I did for 1.9.09? Thanks, Hal. --- Laurent Carlier wrote: > Gindele Hal. a ?crit : > > Hello, > > > > I ran into another problem which leads to another > > silly question on gbi2. What is gbi2 and where do > I > > get it. I tried to do a google search for gbi2 > linux > > with no luck. Here is what i get after a make > install: > > > > Creating the library info files... > > make[3]: gbi2: Command not found > > make[3]: *** [install-exec-local] Error 127 > > make[3]: Leaving directory > > `/home/gindelhe/source/gambas2-1.9.9/gb.clanlib' > > make[2]: *** [install-am] Error 2 > > make[2]: Leaving directory > > `/home/gindelhe/source/gambas2-1.9.9/gb.clanlib' > > make[1]: *** [install-recursive] Error 1 > > make[1]: Leaving directory > > `/home/gindelhe/source/gambas2-1.9.9/gb.clanlib' > > make: *** [install-recursive] Error 1 > > > > It's a known problem, upgrade to the lastest release > (1.9.10) > > http://prdownloads.sourceforge.net/gambas/gambas2-1.9.10.tar.bz2?download > > Regards, > > -- > > Laurent Carlier > jabber : LordHeavy at ...943... > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux > Migration Strategies > from IBM. Find simple to follow Roadmaps, > straightforward articles, > informative Webcasts and more! Get everything you > need to get up to > speed, fast. > http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com From danielcampos at ...282... Wed Jun 29 14:46:27 2005 From: danielcampos at ...282... (Daniel Campos) Date: Wed, 29 Jun 2005 14:46:27 +0200 Subject: [Gambas-user] gb.net.curl 050626 In-Reply-To: <20050629123410.3151.qmail@...1022...> References: <20050629123410.3151.qmail@...1022...> Message-ID: <42C29823.6090308@...282...> Yes, you'll still need the gb.net.curl patch, I suppose in the next release it will be fixed. Regards, D. Campos Gindele Hal. escribi?: >Will this version work with gcc4 or am I going to need >to go around stuff like I did for 1.9.09? > >Thanks, >Hal. > >--- Laurent Carlier wrote: > > > >>Gindele Hal. a ?crit : >> >> >>>Hello, >>> >>>I ran into another problem which leads to another >>>silly question on gbi2. What is gbi2 and where do >>> >>> >>I >> >> >>>get it. I tried to do a google search for gbi2 >>> >>> >>linux >> >> >>>with no luck. Here is what i get after a make >>> >>> >>install: >> >> >>>Creating the library info files... >>>make[3]: gbi2: Command not found >>>make[3]: *** [install-exec-local] Error 127 >>>make[3]: Leaving directory >>>`/home/gindelhe/source/gambas2-1.9.9/gb.clanlib' >>>make[2]: *** [install-am] Error 2 >>>make[2]: Leaving directory >>>`/home/gindelhe/source/gambas2-1.9.9/gb.clanlib' >>>make[1]: *** [install-recursive] Error 1 >>>make[1]: Leaving directory >>>`/home/gindelhe/source/gambas2-1.9.9/gb.clanlib' >>>make: *** [install-recursive] Error 1 >>> >>> >>> >>It's a known problem, upgrade to the lastest release >>(1.9.10) >> >> >> >> >http://prdownloads.sourceforge.net/gambas/gambas2-1.9.10.tar.bz2?download > > >>Regards, >> >>-- >> >>Laurent Carlier >>jabber : LordHeavy at ...943... >> >> >> >> >> >------------------------------------------------------- > > >>SF.Net email is sponsored by: Discover Easy Linux >>Migration Strategies >>from IBM. Find simple to follow Roadmaps, >>straightforward articles, >>informative Webcasts and more! Get everything you >>need to get up to >>speed, fast. >>http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >> >> >> >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > >____________________________________________________ >Yahoo! Sports >Rekindle the Rivalries. Sign up for Fantasy Football >http://football.fantasysports.yahoo.com > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From sbungay at ...981... Wed Jun 29 15:02:48 2005 From: sbungay at ...981... (sbungay) Date: Wed, 29 Jun 2005 09:02:48 -0400 Subject: [Gambas-user] Tableview seems to not accept data In-Reply-To: <200506282229.54214.gambasfr@...11...> References: <42C1AA30.2080103@...981...> <200506282229.54214.gambasfr@...11...> Message-ID: <42C29BF8.3050509@...981...> Thanks fabien! That pointed me in the right direction. Whats causing the firing of the TableView1_Data event? Were the events queued up when we populated the column titles? Steve. From kztyrvlq at ...966... Wed Jun 29 16:12:16 2005 From: kztyrvlq at ...966... (A Person) Date: Wed, 29 Jun 2005 11:42:16 -0230 Subject: [Gambas-user] Ampersands (&) Message-ID: <42C2AC40.9040000@...966...> Wednesday, 29 June 2005 Good Day All . . . Help Again. My command button text has by default an ampersand. Instead of me inserting an ampersand in the text such as "T&ext," I get them by default. I have been independently coding in Basic for over thirty years starting with AtariBasic. I would change to a label but I must DblClick a label for action but this is not a realistic choice. My current project uses twenty-five command buttons that change text when clicked that are a combination of letters and numbers. The underscores are sprinkled throughout on about 1/4 of them and they keep changing. It looks terrible. Previously a member of the list suggested that it was a KDE feature. A KDE user told me that it may be a QT feature. A tech at Trolltech told me that it was a Gambas feature. It shows also in GNOME as well as KDE. I am back here again. Question: Can anyone tell me how to disable this feature? Bug: I can not turn this off. I want to. Wishlist: I want to be able to turn this feature off. Thanks folks. Paul From danielcampos at ...282... Wed Jun 29 16:35:58 2005 From: danielcampos at ...282... (Daniel Campos) Date: Wed, 29 Jun 2005 16:35:58 +0200 Subject: [Gambas-user] Ampersands (&) In-Reply-To: <42C2AC40.9040000@...966...> References: <42C2AC40.9040000@...966...> Message-ID: <42C2B1CE.6000608@...282...> Hi: Sorry, I do not understad your message very well, but if you want to print an ampersand instead of telling the program that you want a shortcut, you have to write it twice, that is: T&ext --> Will print a button with an underscore in the "e", which is the shortcut T&&ext --> Will print T&ext Regards, D. Campos A Person escribi?: > Wednesday, 29 June 2005 > > Good Day All . . . > > Help Again. My command button text has by default an ampersand. > Instead of me inserting an ampersand in the text such as "T&ext," I > get them by default. I have been independently coding in Basic for > over thirty years starting with AtariBasic. I would change to a label > but I must DblClick a label for action but this is not a realistic > choice. My current project uses twenty-five command buttons that > change text when clicked that are a combination of letters and > numbers. The underscores are sprinkled throughout on about 1/4 of them > and they keep changing. It looks terrible. > > Previously a member of the list suggested that it was a KDE feature. A > KDE user told me that it may be a QT feature. A tech at Trolltech told > me that it was a Gambas feature. It shows also in GNOME as well as KDE. > > I am back here again. > > Question: Can anyone tell me how to disable this feature? > > Bug: I can not turn this off. I want to. > > Wishlist: I want to be able to turn this feature off. > > Thanks folks. > > Paul > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From sourceforge-raindog2 at ...94... Wed Jun 29 16:56:40 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 29 Jun 2005 10:56:40 -0400 Subject: [Gambas-user] Re: Maybe a weird question In-Reply-To: <200506282336.55445.njmurphy1@...734...> References: <200506282336.55445.njmurphy1@...734...> Message-ID: <200506291056.40743.sourceforge-raindog2@...94...> On Wednesday 29 June 2005 02:36, Joseph Murphy wrote: > I don't have a gambas2-gb-db or a gambas2-runtime or > gambas2-gb-db-mysql. I do have a gambas2.gambas, gba, gba2, gbc2, The names I posted are names of packages, not filenames. Rob From sourceforge-raindog2 at ...94... Wed Jun 29 16:54:13 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 29 Jun 2005 10:54:13 -0400 Subject: [Gambas-user] Re: Maybe a weird question In-Reply-To: <200506282358.56978.njmurphy1@...734...> References: <200506282358.56978.njmurphy1@...734...> Message-ID: <200506291054.13175.sourceforge-raindog2@...94...> On Wednesday 29 June 2005 02:58, Joseph Murphy wrote: > Found them. /usr/local/lib/gambas2 I guess I'm just tired. They > don't have the same file names that Rob listed but there are text > files that explain them. One thing that is interesting is I have > every shared library is present in three different file names. For > example I have gb.db.so, gb.db.so.0 and gb.db.so.0.0.0. Any idea > why that would be? I really don't mean this as an insult, but I'm going to say it anyway. You don't know why .so files get links with a version number and you're running Slackware, the least user friendly (by design) of the major Linux distributions? I think a lot of the end-user weaknesses you say you've found with Linux to date might actually be weaknesses of Slackware, which was never meant for end users. The rest of the world has package management, automatically updating app shortcut and menu systems, etc. Slackware.... has tarballs. If you really like the "building everything from source" thing I'd suggest you at least try Gentoo, which goes halfway to package management with its "portage" system while still allowing you to go source-only. I have no idea whether Gambas works on it, but I'm pretty sure you'll be able to strip it down as much as you like. Rob From sourceforge-raindog2 at ...94... Wed Jun 29 16:58:48 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 29 Jun 2005 10:58:48 -0400 Subject: [Gambas-user] OPEN,SHELL,EXEC In-Reply-To: <42C24D10.4080508@...221...> References: <42BF2BDB.3070205@...282...> <42C24D10.4080508@...221...> Message-ID: <200506291058.48983.sourceforge-raindog2@...94...> On Wednesday 29 June 2005 03:26, Eilert wrote: > just as a matter of curiosity: Why was the syntax of OPEN changed > anyway? Does this make possible any special tricks, or does it have > any advantage for later expansions? I bet it's part of his sinister plan to get rid of annoying BASIC syntax from the 60's. The next thing will be to get rid of the "#" in "PRINT #". ;) Rob From danielcampos at ...282... Wed Jun 29 17:18:41 2005 From: danielcampos at ...282... (Daniel Campos) Date: Wed, 29 Jun 2005 17:18:41 +0200 Subject: [Gambas-user] OPEN,SHELL,EXEC In-Reply-To: <200506291058.48983.sourceforge-raindog2@...94...> References: <42BF2BDB.3070205@...282...> <42C24D10.4080508@...221...> <200506291058.48983.sourceforge-raindog2@...94...> Message-ID: <42C2BBD1.3080207@...282...> > >I bet it's part of his sinister plan to get rid of annoying BASIC >syntax from the 60's. The next thing will be to get rid of the "#" >in "PRINT #". ;) > > Yes: I think we should adopt the intuitive Commodore 64 BASIC: peek, poke,print and nothing more :-))) >Rob > > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From danielcampos at ...282... Wed Jun 29 17:27:33 2005 From: danielcampos at ...282... (Daniel Campos) Date: Wed, 29 Jun 2005 17:27:33 +0200 Subject: [Gambas-user] gb.v4l update Message-ID: <42C2BDE5.9080608@...282...> Hi: I've finished all that I wanted for the v4l component: capture support, and support for a Tuner, so you can select the frequency on a TV card. So I've placed the stable release at: http://gambas.gnulinex.org/v4l (gnulinex DNS is already up and running, so if you can not enter today, please wait a few hours). I changed some names to be more generic. The main class now is "VideoDev" instead of "WebCam". There are two virtual classes: - VideoDevTuner : to manage to frequencies - VideoDevFeatures: to get video device capabilities. Note that this component is just intended for capture, do not expect to show images at 1024x768 over a remote desktop and things like this :-)). However, one of the properties, "id", gives you the possibility of using the new API-Call capabilities of Gambas, if you want to perform special actions. I've updated the example, too. Beno?t: even if this component is just for Linux (it is sure Windows has not a v4l interface, and I don't know about FreeBSD), it can be useful for a lot of people: some market applications, for example, use to allow to connect to a webcam so the owner of the store can view remotely if somebody is stealing (or sleeping :-)), and it is useful to show images on a web page, using a CGI, too. Do you plan to include it in the main sources? Regards, D. Campos From kztyrvlq at ...966... Wed Jun 29 17:46:37 2005 From: kztyrvlq at ...966... (A Person) Date: Wed, 29 Jun 2005 13:16:37 -0230 Subject: [Gambas-user] Am I doing something wrong? Message-ID: <42C2C25D.6000007@...966...> Wednesday, 29 June 2005 Good Day All . . . I created a random character generator for passwords using Randomize and Rnd but I am getting some strange returns. It is not unusual to get double (almost every result) and triple (occasionally) returns in the randomly generated password. Returns such as (for example) "nn", "FF", "44", and "LLL". A password may look like "5HH7cmmU". To combat this I created a loop that says loop until this character is different from the last with a Randomize in the loop. This solves the problem but it takes away from the randomised aspect of the program. My guess is that the speed of my machine loops through Gambas's random generator so fast that double hits may occur. My guess only. Any better work arounds? Thanks. Paul From kztyrvlq at ...966... Wed Jun 29 18:54:43 2005 From: kztyrvlq at ...966... (A Person) Date: Wed, 29 Jun 2005 14:24:43 -0230 Subject: [Gambas-user] Re: Ampersands (&) Message-ID: <42C2D253.5020408@...966...> Wednesday, 29 June 2005 Thanks for the quick reply. No, my code for the buttons contain no ampersands yet the underscore shows up. Paul From gambasfr at ...11... Wed Jun 29 19:28:24 2005 From: gambasfr at ...11... (fabien) Date: Wed, 29 Jun 2005 19:28:24 +0200 Subject: [Gambas-user] Am I doing something wrong? In-Reply-To: <42C2C25D.6000007@...966...> References: <42C2C25D.6000007@...966...> Message-ID: <200506291928.24619.gambasfr@...11...> Le Mercredi 29 Juin 2005 17:46, A Person a ?crit?: > Wednesday, 29 June 2005 > > Good Day All . . . > > I created a random character generator for passwords using Randomize and > Rnd but I am getting some strange returns. > > It is not unusual to get double (almost every result) and triple > (occasionally) returns in the randomly generated password. Returns such > as (for example) "nn", "FF", "44", and "LLL". A password may look like > "5HH7cmmU". > > To combat this I created a loop that says loop until this character is > different from the last with a Randomize in the loop. > > This solves the problem but it takes away from the randomised aspect of > the program. > > My guess is that the speed of my machine loops through Gambas's random > generator so fast that double hits may occur. My guess only. > > Any better work arounds? > > Thanks. > > Paul > have you set the key Randomize timer ? > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Wed Jun 29 20:08:07 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 29 Jun 2005 14:08:07 -0400 Subject: [Gambas-user] Re: Ampersands (&) In-Reply-To: <42C2D253.5020408@...966...> References: <42C2D253.5020408@...966...> Message-ID: <200506291408.07266.sourceforge-raindog2@...94...> On Wednesday 29 June 2005 12:54, A Person wrote: > No, my code for the buttons contain no ampersands yet the > underscore shows up. Could you post the offending project? Rob From gambasfr at ...11... Wed Jun 29 20:20:14 2005 From: gambasfr at ...11... (fabien) Date: Wed, 29 Jun 2005 20:20:14 +0200 Subject: [Gambas-user] Tableview seems to not accept data In-Reply-To: <42C29BF8.3050509@...981...> References: <42C1AA30.2080103@...981...> <200506282229.54214.gambasfr@...11...> <42C29BF8.3050509@...981...> Message-ID: <200506292020.14945.gambasfr@...11...> Le Mercredi 29 Juin 2005 15:02, sbungay a ?crit?: > Thanks fabien! That pointed me in the right direction. Whats causing > the firing of the TableView1_Data event? Were the events queued up when > we populated the column titles? > > Steve. > Tableview _data event is fired when the tableview is drawed and each time you move scroller and new cells are chown. So at each time it walk on the result array. Or another global array. In fact, the TableView is just a viewer for table it don't strore the data anymore. So it peek the data in an existing array and chow it by row and column ! in a first try it's difficult to understand and manage but with experience... i think it's a good widget and easy to use :). The better exemple is the database manager. antoher exemple on standart array : http://www.gambasforge.net/code.php?id=31 Fabien From kztyrvlq at ...966... Wed Jun 29 21:39:15 2005 From: kztyrvlq at ...966... (A Person) Date: Wed, 29 Jun 2005 17:09:15 -0230 Subject: [Gambas-user] Re: Re: Am I doing something wrong? Message-ID: <42C2F8E3.2030908@...966...> Wednesday, 29 June 2005 Thank You for the reply. I tried about every possible combination of randomize timer but it generated error messages. I tried "Randomize Timer", "Randomize() Timer" and "Randomize Timer()" to name a few but nothing worked. I found this on a web site, "Notes: The number argument can be any permissible numeric expression. The random-number generator is initialised by number, as a new initial value is assigned to it. If you omit number, as new initial value the value spent of the timer function is used. Thus the instruction Randomize timer is actually redundant." So I am using "Randomize()" before each Rnd. My recent workaround is to create a timer with a 1050 delay so that each random number generation is at least one second later than the previous. It appears to work but it is not a good solution. From kztyrvlq at ...966... Wed Jun 29 21:53:22 2005 From: kztyrvlq at ...966... (A Person) Date: Wed, 29 Jun 2005 17:23:22 -0230 Subject: [Gambas-user] Re: Re: Ampersands (&) Message-ID: <42C2FC32.2000401@...966...> Wednesday, 29 June 2005 Merci / Thanks for the reply. I have found the offender but now I don't know what to do with it!!!! All my projects have the same problem with the ampersands. So I decided to create a bare bones project from scratch to send in. Guess what? No ampersands. I began debugging. I added all the tools to the form but still no ampersands. I went into the project properties and I added all the components. Guess what? The ampersands returned. I began at the bottom of the component list and unchecked one by one and I ran the program after each modification. The ampersands disappeared when I unchecked gb.qt.kde. I went back to my project with twenty-five command buttons and I unchecked the gb.qt.kde component and voila - no ampersands. Now what do I do? I know how to disable this feature but I am sure that this a bug or something. Can you suggest something? KDE and Trolltech tell me it is not their feature. Any suggestions? Thanks. Paul From sourceforge-raindog2 at ...94... Wed Jun 29 22:10:18 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 29 Jun 2005 16:10:18 -0400 Subject: [Gambas-user] Re: Re: Ampersands (&) In-Reply-To: <42C2FC32.2000401@...966...> References: <42C2FC32.2000401@...966...> Message-ID: <200506291610.18487.sourceforge-raindog2@...94...> On Wednesday 29 June 2005 15:53, A Person wrote: > I went back to my project with twenty-five command buttons and I > unchecked the gb.qt.kde component and voila - no ampersands. >... > Can you suggest something? KDE and Trolltech tell me it is not > their feature. Any suggestions? It could still be a bug in the Gambas gb.qt.kde component, but trying to reproduce it just now using KDE 3.1 and Gambas 0.99.RC4 (yes, I'm on an ancient machine today) did nothing for me. Rob From sourceforge-raindog2 at ...94... Wed Jun 29 22:08:14 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 29 Jun 2005 16:08:14 -0400 Subject: [Gambas-user] Re: Re: Am I doing something wrong? In-Reply-To: <42C2F8E3.2030908@...966...> References: <42C2F8E3.2030908@...966...> Message-ID: <200506291608.14470.sourceforge-raindog2@...94...> On Wednesday 29 June 2005 15:39, A Person wrote: > My recent workaround is to create a timer with a 1050 delay so that > each random number generation is at least one second later than the > previous. If you REALLY want randomness, you could go outside the box a bit: public function genpw() as string dim pw as string dim c as string do while true c = backtick("head -c 1 /dev/random") if asc(c) > 31 and asc(c) < 127 then pw = pw & c if len(pw) >= 8 then return pw endif loop end /dev/random will block until another random number has been generated. You can find backtick() in the Gambas documentation by searching for backtick; it does in earlier versions of Gambas what c = shell("head -c 1 /dev/random") would do in 1.9.10. If dropping all the characters below 31 and above 127 proves to be too slow for your purposes, put this before the if statement: (actually, you should be able to remove the if... and endif lines entirely if you do this) c = chr(asc(c) mod 96) + 32 or to restrict it to alphanumeric only: c = mid("abcdefghijklmnopqrstuvwxyz0123456789", (asc(c) mod 36) + 1, 1) Rob From sbungay at ...981... Thu Jun 30 03:28:41 2005 From: sbungay at ...981... (sbungay) Date: Wed, 29 Jun 2005 21:28:41 -0400 Subject: [Gambas-user] Tableview seems to not accept data In-Reply-To: <200506292020.14945.gambasfr@...11...> References: <42C1AA30.2080103@...981...> <200506282229.54214.gambasfr@...11...> <42C29BF8.3050509@...981...> <200506292020.14945.gambasfr@...11...> Message-ID: <42C34AC9.4000500@...981...> Hmmm.. interesting. I'm looking forward to hacking around with it to get a good feel for what it dies and how it works. I can't really use it in my application though.. I need an editable grid and I don't see one anywhere. Got any suggestions? Thanks again for pointing me in the right direction. Steve. fabien wrote: > Le Mercredi 29 Juin 2005 15:02, sbungay a ?crit : > >> Thanks fabien! That pointed me in the right direction. Whats causing >>the firing of the TableView1_Data event? Were the events queued up when >>we populated the column titles? >> >>Steve. >> > > Tableview _data event is fired when the tableview is drawed and each time you > move scroller and new cells are chown. So at each time it walk on the result > array. Or another global array. In fact, the TableView is just a viewer for > table it don't strore the data anymore. So it peek the data in an existing > array and chow it by row and column ! > > in a first try it's difficult to understand and manage but with experience... > i think it's a good widget and easy to use :). The better exemple is the > database manager. > > antoher exemple on standart array : > http://www.gambasforge.net/code.php?id=31 > > > Fabien > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rporticio at ...43... Thu Jun 30 04:43:02 2005 From: rporticio at ...43... (Ramon Orticio) Date: Wed, 29 Jun 2005 19:43:02 -0700 (PDT) Subject: [Gambas-user] make clean output.txt Message-ID: <20050630024303.26001.qmail@...1025...> daniel, attached is the output.txt after i type make clean do you think i did not properly installed libxml2-2.6.15. how could i do it right. please help. thanks again. ramon __________________________________ Discover Yahoo! Use Yahoo! to plan a weekend, have fun online and more. Check it out! http://discover.yahoo.com/ -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: output.txt URL: From eilert-sprachen at ...221... Thu Jun 30 08:24:38 2005 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 30 Jun 2005 08:24:38 +0200 Subject: [Gambas-user] Tableview seems to not accept data In-Reply-To: <42C34AC9.4000500@...981...> References: <42C1AA30.2080103@...981...> <200506282229.54214.gambasfr@...11...> <42C29BF8.3050509@...981...> <200506292020.14945.gambasfr@...11...> <42C34AC9.4000500@...981...> Message-ID: <42C39026.5040705@...221...> You could provide a hidden text input box and make it visible when the user doubleclicks on the Tableview. Just adapt its size to the cell the user clicked on and place it right there. When the user presses Tab or Enter or Esc, you react accordingly: store the value in the array for the Tableview, hide or replace the input box and call refresh for the Tableview. That's what I've done in my current project. Works quite nice! Rolf sbungay schrieb: > Hmmm.. interesting. I'm looking forward to hacking around with it to > get a good feel for what it dies and how it works. I can't really use it > in my application though.. I need an editable grid and I don't see one > anywhere. Got any suggestions? > Thanks again for pointing me in the right direction. > > Steve. > > fabien wrote: > >> Le Mercredi 29 Juin 2005 15:02, sbungay a ?crit : >> >>> Thanks fabien! That pointed me in the right direction. Whats causing >>> the firing of the TableView1_Data event? Were the events queued up when >>> we populated the column titles? >>> >>> Steve. >>> >> >> Tableview _data event is fired when the tableview is drawed and each >> time you move scroller and new cells are chown. So at each time it >> walk on the result array. Or another global array. In fact, the >> TableView is just a viewer for table it don't strore the data anymore. >> So it peek the data in an existing array and chow it by row and column ! >> >> in a first try it's difficult to understand and manage but with >> experience... i think it's a good widget and easy to use :). The >> better exemple is the database manager. >> >> antoher exemple on standart array : >> http://www.gambasforge.net/code.php?id=31 >> >> >> Fabien >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >> from IBM. Find simple to follow Roadmaps, straightforward articles, >> informative Webcasts and more! Get everything you need to get up to >> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sbungay at ...981... Thu Jun 30 17:48:23 2005 From: sbungay at ...981... (sbungay) Date: Thu, 30 Jun 2005 11:48:23 -0400 Subject: [Gambas-user] Tableview seems to not accept data In-Reply-To: <42C39026.5040705@...221...> References: <42C1AA30.2080103@...981...> <200506282229.54214.gambasfr@...11...> <42C29BF8.3050509@...981...> <200506292020.14945.gambasfr@...11...> <42C34AC9.4000500@...981...> <42C39026.5040705@...221...> Message-ID: <42C41447.8030102@...981...> Hi Eilert. Yeah that would work but it's kinda kludgy and simply should not have to be done that way. Still, if there is no alternative then I'll either have to do it that way or start coding in C (QT Designer) or Java. *sigh*. I really like GAMBAS, it has alot of potential. Eilert wrote: > You could provide a hidden text input box and make it visible when the > user doubleclicks on the Tableview. Just adapt its size to the cell the > user clicked on and place it right there. When the user presses Tab or > Enter or Esc, you react accordingly: store the value in the array for > the Tableview, hide or replace the input box and call refresh for the > Tableview. > > That's what I've done in my current project. Works quite nice! > > Rolf > > > sbungay schrieb: > >> Hmmm.. interesting. I'm looking forward to hacking around with it to >> get a good feel for what it dies and how it works. I can't really use >> it in my application though.. I need an editable grid and I don't see >> one anywhere. Got any suggestions? >> Thanks again for pointing me in the right direction. >> >> Steve. >> >> fabien wrote: >> >>> Le Mercredi 29 Juin 2005 15:02, sbungay a ?crit : >>> >>>> Thanks fabien! That pointed me in the right direction. Whats causing >>>> the firing of the TableView1_Data event? Were the events queued up when >>>> we populated the column titles? >>>> >>>> Steve. >>>> >>> >>> Tableview _data event is fired when the tableview is drawed and each >>> time you move scroller and new cells are chown. So at each time it >>> walk on the result array. Or another global array. In fact, the >>> TableView is just a viewer for table it don't strore the data >>> anymore. So it peek the data in an existing array and chow it by row >>> and column ! >>> >>> in a first try it's difficult to understand and manage but with >>> experience... i think it's a good widget and easy to use :). The >>> better exemple is the database manager. >>> >>> antoher exemple on standart array : >>> http://www.gambasforge.net/code.php?id=31 >>> >>> >>> Fabien >>> >>> >>> >>> ------------------------------------------------------- >>> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >>> from IBM. Find simple to follow Roadmaps, straightforward articles, >>> informative Webcasts and more! Get everything you need to get up to >>> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >> from IBM. Find simple to follow Roadmaps, straightforward articles, >> informative Webcasts and more! Get everything you need to get up to >> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From njmurphy1 at ...734... Thu Jun 30 21:31:50 2005 From: njmurphy1 at ...734... (Joseph Murphy) Date: Thu, 30 Jun 2005 12:31:50 -0700 Subject: [Gambas-user] Re: Maybe a weird question Message-ID: <200506301231.50790.njmurphy1@...734...> >I really don't mean this as an insult, but I'm going to say it anyway. ? >You don't know why .so files get links with a version number and >you're running Slackware, the least user friendly (by design) of the >major Linux distributions? >I think a lot of the end-user weaknesses you say you've found with >Linux to date might actually be weaknesses of Slackware, which was >never meant for end users. ?The rest of the world has package >management, automatically updating app shortcut and menu systems, >etc. ?Slackware.... has tarballs. >If you really like the "building everything from source" thing I'd >suggest you at least try Gentoo, which goes halfway to package >management with its "portage" system while still allowing you to go >source-only. ?I have no idea whether Gambas works on it, but I'm >pretty sure you'll be able to strip it down as much as you like. Rob I find this, not to be insulting either, brain dead. I have tried mandrake, redhat, suse and gentoo. The first time I tried Linux I had to install from a hand full of floppies. I think RPM sucks the big one. And slackware does have a package management system that is far superior then RPM. They don't call it RPM Hell for no reason. Don't believe the BS you read in Linux Format or any other Linux mag that says that Slackware doesn't have a package management system. It has the best package management system. There are at lest three programs for automatic updating of slackware packages. If you are interested go to www.linuxpackages.net and checkout packages for slackware. I find the branding that is going on with mandrake, redhat and suse very distasteful. Of the distros you mentioned I liked gentoo the best but I wasn't happy with the way they handled run levels. And as for mandrake, how lack of functionality equates to ease of use I have no idea. I think mandrake is the worst of all the major distros. But if all you can do is click with the mouse you can get mandrake up and running. I think this is the reason that some people think slackware is not user friendly. It doesn't have useless eye candy and you might need to actually type something sometimes. But as an end user system Slackware is the best. I have no idea where you get the idea that it was never intended to be an end user system. Don't believe the BS put out by idiots that write in magazines. All they know are RPM systems. So for them if it's not RPM it is too hard for them to use because they might actually have to do something other then click with the mouse. You don't understand what I said about the .so files. They are three different variants of zero. I don't understand why someone would have the exact same file linked under three different variants of zero. The value of having a .so.3 or .so.3.1 is obvious. But having file names like gb.so, gb.so.0 and gb.so.0.0.0 is brain dead. A dot zero is the same version as a dot zero dot zero. I see no purpose for this at all. The weakness of Linux is in how programmers install their programs. Take a look at /usr/bin. It has thousands of files with no order to them at all. Gambas dumped most of it's programs in there with names like gbx, etc. Take a look at a windows box in C:\windows\system and you will see exactly the same kind of crap. This is because of the search path problem. What needs to be done is have recursive search from the PATH declaration. This would allow installing all program files in a more thought out fashion, such as /usr/bin/gambas/gbx . If this became the standard of how linux used the PATH I wouldn't have two thousand plus files, most with meaningless names, in /usr/bin. You can get a recursive PATH by adding a little scripting to profile like this. DIRS=( $(echo /usr/bin/*/) ) DIRS=( ${DIRS[@]%/} ) D=$( IFS=: ; echo "${DIRS[*]}" ) {provided by Chet Ramey} You can then replace /usr/bin in the PATH declaration with $D and then when looking for gbx it can be found in /usr/bin/gambas. But this is not done on any distro. Then you have the problem of getting people that write their install scripts to put their stuff in a directory under /usr/bin. And while I'm ranting they can use more meaningful names then gbx. And this is where compiling from source works nicely. You can set prefix to a value such as /usr/bin/gambas and then make a package of the compiled code to be installed with pkgtool, slackware's package management tool. This is a much simpler process then making an RPM. Joseph