Re: [Gambas-user] More Problems turning up

2010-02-06 Thread Dag Jarle Johansen
Hi, TabsStrip is good, still have the curoius error with user.home, but it is not so urgent while programming, give it a fixed path meanwhile. Regards Dag -- The Planet: dedicated and managed hosting, cloud storage,

Re: [Gambas-user] More Problems turning up

2010-02-06 Thread Dag Jarle Johansen
Thanks Benoît and Jussi, I'll make an update at once. Regards, Dag Am Sonntag, den 07.02.2010, 03:06 +0100 schrieb Benoît Minisini: > > hi, > > > > I still have the problem, that I can't draw a TabStrip in the IDE. I > > solved it temporarily editing the .form file, then it works when loading

Re: [Gambas-user] More Problems turning up

2010-02-06 Thread Benoît Minisini
> hi, > > I still have the problem, that I can't draw a TabStrip in the IDE. I > solved it temporarily editing the .form file, then it works when loading > it to the gambas IDE. > The TabStrip problem has been fixed in revision #2666. Regards, -- Benoît Minisini -

Re: [Gambas-user] More Problems turning up

2010-02-06 Thread Jussi Lahtinen
> The User.Home problem is rather curious, because I have checked ALL > files belonging to both projects, and they are identical (not the > formnames off course). In the older app it works fine, in the app > created yesterday - nada. I can't imagine that a lib is cached in a > project, so both shou

Re: [Gambas-user] Databases, please help me!

2010-02-06 Thread Benoît Minisini
> I'm almost there. Still I have a big problem and a possible bug: > When I do a querry: > querry="SELEC * FROM Thumbs WHERE fajl='b1.jpg' AND volume='ALPHA';" > > I'm getting 0 hits, although when I do the same querry in terminal, I have > exactly 1 shot, as it has to be. > > Structure of table:

Re: [Gambas-user] Databases, please help me!

2010-02-06 Thread Dag Jarle Johansen
Hi, a BLOB is defined as a field for binary data, which only means, every character is stored as is, this may be letters or the codes you get from an image. So far clear. In MySQL one has to increase the max_allowed_packet, because by default max. 1MB can be written in one line (field). looking fo

Re: [Gambas-user] Databases, please help me!

2010-02-06 Thread M. Cs.
This error was just typographic. Of course I was using SELECT in the program. But letting out the semicolon doesn't changes the situation. Is it possible, that SELECT cannot handle records which are containing BLOBS? -- The

Re: [Gambas-user] Anyone userd .Grab()?

2010-02-06 Thread richard terry
On Sunday 07 February 2010 03:13:56 you wrote: > > I wanted to grab the contents of a HBox as picture (it contains other > > controls), put the code under a button: > > > > Public Sub Button1_Click() > > Dim pic As Picture > > pic = HBox1.Grab() > > > > End > > > > This gives an error message

Re: [Gambas-user] More Problems turning up

2010-02-06 Thread Dag Jarle Johansen
Hi Jussi, I can handle the TabStrip-problem pretty easy, just using the editor until the IDE works as usual again. The User.Home problem is rather curious, because I have checked ALL files belonging to both projects, and they are identical (not the formnames off course). In the older app it works

Re: [Gambas-user] More Problems turning up

2010-02-06 Thread Jussi Lahtinen
> I still have the problem, that I can't draw a TabStrip in the IDE. I > solved it temporarily editing the .form file, then it works when loading > it to the gambas IDE. Confirmed. TabStrip made with older Gambas revision works as expected, but not new ones. Maybe just empty tabstrips are not s

Re: [Gambas-user] Databases, please help me!

2010-02-06 Thread Dag Jarle Johansen
Hi, depends on if you have copied your query-text from the source or wrote it here: querry="SELEC * FROM Thumbs WHERE fajl='b1.jpg' AND volume='ALPHA';" SELECT rather than SELEC and I am not so sure if it good to have the ";" at the end, in MySQL Editor f. eks you should, using the same stateme

[Gambas-user] More Problems turning up

2010-02-06 Thread Dag Jarle Johansen
hi, I still have the problem, that I can't draw a TabStrip in the IDE. I solved it temporarily editing the .form file, then it works when loading it to the gambas IDE. now I have an additional problem with User.Home. I have two apps, with identical libs loaded. In both I use User.home as a part o

Re: [Gambas-user] Databases, please help me!

2010-02-06 Thread M. Cs.
I'm almost there. Still I have a big problem and a possible bug: When I do a querry: querry="SELEC * FROM Thumbs WHERE fajl='b1.jpg' AND volume='ALPHA';" I'm getting 0 hits, although when I do the same querry in terminal, I have exactly 1 shot, as it has to be. Structure of table: Thumbs(fajl TE

Re: [Gambas-user] Anyone userd .Grab()?

2010-02-06 Thread Benoît Minisini
> I wanted to grab the contents of a HBox as picture (it contains other > controls), put the code under a button: > > Public Sub Button1_Click() > Dim pic As Picture > pic = HBox1.Grab() > > End > > This gives an error message 'wanted picture, got void instead'. > > Any one got any ideas?

Re: [Gambas-user] Databases, please help me!

2010-02-06 Thread Steven revimmo
Maybe this helps (it's part of a project i did) ' Gambas class file rsD AS Result rsK AS Result rfield AS ResultField ctrl AS Control MColl AS NEW Collection FHand AS File p AS picture Mandat AS String PaTag AS String[] Id AS Integer PRIVATE CONST thumbSize AS Integer = 90 bigone AS Integer = 4

Re: [Gambas-user] Databases, please help me!

2010-02-06 Thread richard terry
On Saturday 06 February 2010 21:02:57 M. Cs. wrote: > I'm repeating my question, since the documentation is quite obsolete in > this topic: > > How can I open a picture with Gambas2 ("/home/me/pic.jpg"), and put it into > a sqlite database table as a blob? > How can I use the picture stored in th

[Gambas-user] Databases, please help me!

2010-02-06 Thread M. Cs.
I'm repeating my question, since the documentation is quite obsolete in this topic: How can I open a picture with Gambas2 ("/home/me/pic.jpg"), and put it into a sqlite database table as a blob? How can I use the picture stored in the blob to display as a Picture? Is this solvable at all? Csaba

Re: [Gambas-user] Anyone userd .Grab()?

2010-02-06 Thread Werner
On 06/02/10 15:26, richard terry wrote: > I wanted to grab the contents of a HBox as picture (it contains other > controls), put the code under a button: > > Public Sub Button1_Click() > Dim pic As Picture > pic = HBox1.Grab() > > End > > This gives an error message 'wanted picture, got void