[Gambas-user] base64 encoding/decoding

2009-11-24 Thread Jean-Yves F. Barbier
Hi, I saw that gb.xml has base64 but there's no docs, does somebody have written encoding/decoding routines for strings? -- Really?? What a coincidence, I'm shallow too!! -- Let Crystal Reports handle the reporting -

Re: [Gambas-user] Frame where the first item is not Enabled - focus problem

2009-11-24 Thread bbb888
bbb888 wrote: > > In this form I have > - several misc controls > - a textarea > - a frame (with several checkboxes and buttons) > - a listview > in that order in the heirarchy. > > In certain conditions, the first item in the frame has it's Enabled > property set to false. > When this happen

Re: [Gambas-user] Gambas as firefox plugin !!!

2009-11-24 Thread nospam.nospam.nospam
Steven revimmo wrote: > You are a funny guy ;-) > I do read what Benoit has to say, it's much more interesting as your > post, but not so funny. I'm glad I made you smile. >> They are questions, not assertions. >> >>> that would give us >>> an excellent platform with gambas to make cloud applica

[Gambas-user] Frame where the first item is not Enabled - focus problem

2009-11-24 Thread bbb888
In this form I have - several misc controls - a textarea - a frame (with several checkboxes and buttons) - a listview in that order in the heirarchy. In certain conditions, the first item in the frame has it's Enabled property set to false. When this happens and I tab from the textarea to the fr

Re: [Gambas-user] escape a picture

2009-11-24 Thread Benoît Minisini
> Benoît Minisini a écrit : > >> Benoît Minisini a écrit : > Hi, > > How can I escape a picture in order to insert it into a BYTEA > postgresql data field? > >>> > >>> Normally, if the postgresql field datatype is BYTEA, the gb.db > >>> component will see it as a blob. > >>> > >

Re: [Gambas-user] escape a picture

2009-11-24 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : >> Benoît Minisini a écrit : Hi, How can I escape a picture in order to insert it into a BYTEA postgresql data field? >>> Normally, if the postgresql field datatype is BYTEA, the gb.db component >>> will see it as a blob. >>> >>> Let's suppose the field

Re: [Gambas-user] escape a picture

2009-11-24 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : >> Benoît Minisini a écrit : Hi, How can I escape a picture in order to insert it into a BYTEA postgresql data field? >>> Normally, if the postgresql field datatype is BYTEA, the gb.db component >>> will see it as a blob. >>> >>> Let's suppose the field

Re: [Gambas-user] escape a picture

2009-11-24 Thread Benoît Minisini
> Benoît Minisini a écrit : > >> Hi, > >> > >> How can I escape a picture in order to insert it into a BYTEA > >> postgresql data field? > > > > Normally, if the postgresql field datatype is BYTEA, the gb.db component > > will see it as a blob. > > > > Let's suppose the field name is "Picture". You

Re: [Gambas-user] escape a picture

2009-11-24 Thread Jean-Yves F. Barbier
Charlie Reinl a écrit : ... > http://www.ms-office-forum.net/forum/sitemap/index.php?t-243720.html > > - encode the binary file using base64 and store as TEXT > - is using ADODB.Stream (are there something like that in gambas ) Thanks Charlie -- Q: What does it say on the bottom of Coke ca

Re: [Gambas-user] escape a picture

2009-11-24 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : >> Hi, >> >> How can I escape a picture in order to insert it into a BYTEA >> postgresql data field? >> > > Normally, if the postgresql field datatype is BYTEA, the gb.db component will > see it as a blob. > > Let's suppose the field name is "Picture". You will do: > >

Re: [Gambas-user] escape a picture

2009-11-24 Thread Benoît Minisini
> Hi, > > How can I escape a picture in order to insert it into a BYTEA > postgresql data field? > Normally, if the postgresql field datatype is BYTEA, the gb.db component will see it as a blob. Let's suppose the field name is "Picture". You will do: MyResult!Picture = File.Load("/path/to/pic

Re: [Gambas-user] escape a picture

2009-11-24 Thread Charlie Reinl
Am Dienstag, den 24.11.2009, 19:30 +0100 schrieb Jean-Yves F. Barbier: > Hi, > > How can I escape a picture in order to insert it into a BYTEA > postgresql data field? > Salut, no idea whats a BYTEA, I looked in the I-net, and found something in german. http://www.ms-office-forum.net/forum/si

Re: [Gambas-user] escape a picture PS

2009-11-24 Thread Jean-Yves F. Barbier
richard terry a écrit : ... > Note also with gambas. I've raised this with the list/devel/benoit and had no > replies Ducking is never a good answer... -- The proof of the pudding is in the eating. -- Miguel de Cervantes

Re: [Gambas-user] escape a picture PS

2009-11-24 Thread Jean-Yves F. Barbier
richard terry a écrit : ... > Don't forget to commit your transaction > > > sample table: > > CREATE TABLE all_images > ( > pk serial NOT NULL, > image bytea, > deleted boolean, > CONSTRAINT all_images_pkey PRIMARY KEY (pk) > ) > WITH ( > OIDS=FALSE > ); > ALTER TABLE all_images OWNER

Re: [Gambas-user] escape a picture

2009-11-24 Thread Jean-Yves F. Barbier
richard terry a écrit : No Richard, I can't do that for: * I already have a connection, and I wanna keep connection number as low as possible, * I do things as they should be done, so not any direct user permission on any DB schema/table/index/sequence/etc; So I can't insert anything

Re: [Gambas-user] escape a picture PS

2009-11-24 Thread richard terry
On Wednesday 25 November 2009 07:46:31 you wrote: > On Wednesday 25 November 2009 05:30:52 Jean-Yves F. Barbier wrote: > > Hi, > > > > How can I escape a picture in order to insert it into a BYTEA > > postgresql data field? > > Having mucked around with this interminably looking at different ways,

Re: [Gambas-user] escape a picture

2009-11-24 Thread richard terry
On Wednesday 25 November 2009 05:30:52 Jean-Yves F. Barbier wrote: > Hi, > > How can I escape a picture in order to insert it into a BYTEA > postgresql data field? > Having mucked around with this interminably looking at different ways, the solution is in the picture database sample file, but ba

[Gambas-user] escape a picture

2009-11-24 Thread Jean-Yves F. Barbier
Hi, How can I escape a picture in order to insert it into a BYTEA postgresql data field? -- Cocaine: using tomorrow's energy today. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial.

Re: [Gambas-user] Gambas as firefox plugin !!!

2009-11-24 Thread Rob
On Tuesday 24 November 2009 11:23 am, José Luis Redrejo Rodríguez wrote: > That's the idea behind of GWT [1] or Pyjama [2], and I can assure you > that both are good project, and GWT is very succesfully and is making > me thinking of migrate some of my gambas applications to a web > interface, e

Re: [Gambas-user] gb.db.mysql not in .project

2009-11-24 Thread Benoît Minisini
> Ok, something weird. > > My project uses mysql db from day one. > > And today I wanted to uncheck gb.v4l because it doesn't work with v4l2, > so i ditched it in favor of embedded mplayer, so I went to my project > properties and noticed gb.db.mysql was not checked! Huh, it wasn't in my > .proje

Re: [Gambas-user] Gambas as firefox plugin !!!

2009-11-24 Thread José Luis Redrejo
2009/11/23 Rob > On Monday 23 November 2009 05:07 pm, Vackoy wrote: > > I think is an excellent idea but i don't know if it is possible. > > Sorry my ignorance but what is an ecma-script code?? > > ECMAscript is the language used in web browsers as "Javascript" and in > Flash applets as "Actionsc

Re: [Gambas-user] Gambas as firefox plugin !!!

2009-11-24 Thread José Luis Redrejo Rodríguez
2009/11/23 Rob > On Monday 23 November 2009 05:07 pm, Vackoy wrote: > > I think is an excellent idea but i don't know if it is possible. > > Sorry my ignorance but what is an ecma-script code?? > > ECMAscript is the language used in web browsers as "Javascript" and in > Flash applets as "Actionsc

Re: [Gambas-user] keep forms into a form

2009-11-24 Thread Rob
On Tuesday 24 November 2009 05:23 am, nospam.nospam.nos...@gmail.com wrote: > Look, I cut my teeth on DOS before Windows was even dreamt of. The win3 > MDI interface was the best anyone could come up with two full decades > ago. And the "vomiting little windows all over the desktop" approach was

Re: [Gambas-user] keep forms into a form

2009-11-24 Thread Jean-Yves F. Barbier
Fabien Bodard a écrit : > 2009/11/24 : ... > So, i think you can try to construct your interface around this idea NO: It don't fit my needs & I don't like the appearance. So, now tell me how I can recover the focus on hidden children-forms (SkipTaskbar = TRUE) I guess users won't use my pr

Re: [Gambas-user] Gambas as firefox plugin !!!

2009-11-24 Thread Steven revimmo
You are a funny guy ;-) Le mardi 24 novembre 2009 à 21:57 +1100, nospam.nospam.nos...@gmail.com a écrit : > Steven revimmo wrote: > > > So, for me it boils down to a question of widgets, a surmountable > > problem, > > You don't read much of what Benoit has to say? Nor do you know much about >

Re: [Gambas-user] gb.db.mysql not in .project

2009-11-24 Thread Charlie Reinl
Am Dienstag, den 24.11.2009, 14:27 +0100 schrieb Ron: > Ok, something weird. > > My project uses mysql db from day one. > > And today I wanted to uncheck gb.v4l because it doesn't work with v4l2, > so i ditched it in favor of embedded mplayer, so I went to my project > properties and noticed gb

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread Matteo Lisi
Could the problem be some other typing error? Perhaps ! A dog ate my hands and I'm typing with two little wood rod... I tried to replace the return line with the one who you suggest me: RETURN cVal!MemTotal - cVal!MemFree - cVal!Buffers - cVal!Cached + cVal!SwapTot al - cVal!SwapFree - cVal

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread Charlie Reinl
Am Mittwoch, den 25.11.2009, 00:27 +1100 schrieb nospam.nospam.nos...@gmail.com: > Matteo Lisi wrote: > > Hi ! > > > > The first line: > > #!/usr/bin/ gbs2 > > > > it's a typing error > > the right line is: > > #!/usr/bin/gbs2 > > > > Thanks Charlie , but the problem , unfortunatly is

[Gambas-user] gb.db.mysql not in .project

2009-11-24 Thread Ron
Ok, something weird. My project uses mysql db from day one. And today I wanted to uncheck gb.v4l because it doesn't work with v4l2, so i ditched it in favor of embedded mplayer, so I went to my project properties and noticed gb.db.mysql was not checked! Huh, it wasn't in my .project file eith

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread nospam.nospam.nospam
Matteo Lisi wrote: > Hi ! > it's not a binding problem if I write a simple script like: > PRINT "Hi from Gambas" Correct, but what about this.. > RETURN cVal!MemTotal - cVal!MemFree - cVal!Buffers - cVal!Cached + > cVal!SwapTotal - cVal!SwapFree - cVal!SwapCached > > What happens if you us

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread nospam.nospam.nospam
Matteo Lisi wrote: > Hi ! > > The first line: > #!/usr/bin/ gbs2 > > it's a typing error > the right line is: > #!/usr/bin/gbs2 > > Thanks Charlie , but the problem , unfortunatly is not the space ! Could the problem be some other typing error? ---

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread Matteo Lisi
Hi ! it's not a binding problem if I write a simple script like: PRINT "Hi from Gambas" the execution of script return me OK yet ... [1]nospam.nospam.nos...@gmail.com ha scritto: Matteo Lisi wrote: Hi ! thanks for your reply I create an empty .project file on the director

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread Matteo Lisi
Hi ! The first line: #!/usr/bin/ gbs2 it's a typing error the right line is: #!/usr/bin/gbs2 Thanks Charlie , but the problem , unfortunatly is not the space ! Charlie Reinl ha scritto: Am Dienstag, den 24.11.2009, 11:54 +0100 schrieb Matteo Lisi: Hi ! Finally I crosscom

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread nospam.nospam.nospam
Charlie Reinl wrote: > Am Dienstag, den 24.11.2009, 11:54 +0100 schrieb Matteo Lisi: >> >> Hi ! >> >> Finally I crosscompiled the gambas for ARM, and I have on my arm >> system the "gbc2" file >> >> I tried to execute the following script: >> >> /

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread nospam.nospam.nospam
Matteo Lisi wrote: > Hi ! > thanks for your reply > I create an empty .project file on the directory , and the > execution of script give me an "OK", but if I create a lock loop > in my script the execution still return me OK ... >> RETURN cVal!MemTotal - cVal!MemFree - cVal!Buffers -

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread Charlie Reinl
Am Dienstag, den 24.11.2009, 11:54 +0100 schrieb Matteo Lisi: > > Hi ! > > Finally I crosscompiled the gambas for ARM, and I have on my arm system > the "gbc2" file > > I tried to execute the following script: > > /**/ > #!/us

Re: [Gambas-user] keep forms into a form

2009-11-24 Thread nospam.nospam.nospam
Doriano Blengino wrote: > nospam.nospam.nos...@gmail.com ha scritto: >> Fabien Bodard wrote: >> >>> 2009/11/24 : >>> Jean-Yves F. Barbier wrote: > Hi, > > Is there a manner to keep my forms into my main form? > other than using a workspace that apparently force children >

Re: [Gambas-user] Serial ports in Gambas

2009-11-24 Thread nando
Serial Port support in Gambas is 100% I've been using it 100% uptime for almost 5 years. Look at the NETWORKING Serial Port Example. -Fernando -- Original Message --- From: Kari Laine To: Gambas-user@lists.sourceforge.net Sent: Mon, 23 Nov 2009 05:50:24 +0200 Subject: [Gambas-use

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread Matteo Lisi
Hi ! thanks for your reply I create an empty .project file on the directory , and the execution of script give me an "OK", but if I create a lock loop in my script the execution still return me OK ... I think that the gbc2 didn't process the file like a script... Regards

Re: [Gambas-user] Gambas script execution

2009-11-24 Thread nospam.nospam.nospam
Matteo Lisi wrote: > Hi ! > > Finally I crosscompiled the gambas for ARM, and I have on my arm > system > the "gbc2" file > > I tried to execute the following script: > > /**/ > #!/usr/bin/ gbs2 > > ' This script returns the m

Re: [Gambas-user] keep forms into a form

2009-11-24 Thread Doriano Blengino
nospam.nospam.nos...@gmail.com ha scritto: > Fabien Bodard wrote: > >> 2009/11/24 : >> >>> Jean-Yves F. Barbier wrote: >>> Hi, Is there a manner to keep my forms into my main form? other than using a workspace that apparently force children to appear as tabs

Re: [Gambas-user] Gambas as firefox plugin !!!

2009-11-24 Thread nospam.nospam.nospam
Steven revimmo wrote: > So, for me it boils down to a question of widgets, a surmountable > problem, You don't read much of what Benoit has to say? Nor do you know much about Microsoft? They are questions, not assertions. > that would give us > an excellent platform with gambas to make cloud a

[Gambas-user] Gambas script execution

2009-11-24 Thread Matteo Lisi
Hi ! Finally I crosscompiled the gambas for ARM, and I have on my arm system the "gbc2" file I tried to execute the following script: /**/ #!/usr/bin/ gbs2 ' This script returns the memory really used by the system, the cach

Re: [Gambas-user] keep forms into a form

2009-11-24 Thread nospam.nospam.nospam
Fabien Bodard wrote: > 2009/11/24 : >> Jean-Yves F. Barbier wrote: >>> Hi, >>> >>> Is there a manner to keep my forms into my main form? >>> other than using a workspace that apparently force children >>> to appear as tabs. >>> And to have them as icons (or anything else) into this main >>> form w

Re: [Gambas-user] Pesky Minimize Button on TitleBar

2009-11-24 Thread nospam.nospam.nospam
Fabien Bodard wrote: > gambas version ? The latest, of course. 2.17. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and foc

Re: [Gambas-user] keep forms into a form

2009-11-24 Thread nospam.nospam.nospam
Jorge Carrión wrote: > Perhaps you can create your forms an store then in a array of > variant[] in the Tag property of the main form. Perhaps he can, but is that going to give him what he wants? > I can't see why it doesn't work... by I've do not try it. [CENSORED] --

Re: [Gambas-user] Pesky Minimize Button on TitleBar

2009-11-24 Thread Fabien Bodard
gambas version ? 2009/11/24 : > I can't find an answer to this problem, except for an old post on this list > in French. My French is rustier than the wreck of the Titanic but I got the > impression that the building of window title bars is under the control of > the WM. > > Anyway, I have a wind

Re: [Gambas-user] Gambas as firefox plugin !!!

2009-11-24 Thread Fabien Bodard
the google team idea seem to be the same ... cloud systems ... that's why gambas need to be a server side language that have some componants to design java/css2 widgets... for broswer interfaces... That's the idea of Benoit too i think... 2009/11/24 Steven revimmo : > Hi, > > I think it would be t

Re: [Gambas-user] Gambas as firefox plugin !!!

2009-11-24 Thread Steven revimmo
Hi, I think it would be the best thing ever. I did a lot of gambas development for one of my companies. The problem came with installation. We have sites all over France and all kinds of systems (Linux, Max, Windoze, ... whatever) I just could not maintain all that, it was to much work, to much t

Re: [Gambas-user] keep forms into a form

2009-11-24 Thread Fabien Bodard
2009/11/24 : > Jean-Yves F. Barbier wrote: >> Hi, >> >> Is there a manner to keep my forms into my main form? >> other than using a workspace that apparently force children >> to appear as tabs. >> And to have them as icons (or anything else) into this main >> form when minimized? > > Rob wrote on

Re: [Gambas-user] keep forms into a form

2009-11-24 Thread Jorge Carrión
Perhaps you can create your forms an store then in a array of variant[] in the Tag property of the main form. I can't see why it doesn't work... by I've do not try it. Regards 2009/11/24 > Jean-Yves F. Barbier wrote: > > Hi, > > > > Is there a manner to keep my forms into my main form? > > other