[Gambas-user] Getting a picture back from postgres

2008-09-03 Thread richard terry
Now that I've finally inserted the picture, are there any tricks for getting it back and re-viewing it - someone I think it wont be just a simple query, I used the code in Picture database I can extract the blob, but now trying to write to a file it complains about 'getting blob' and wanting a

Re: [Gambas-user] Q:how to save a file.png into Postgresql [solved]

2008-09-03 Thread richard terry
On Wed, 3 Sep 2008 07:51:03 pm Ron_1st wrote: Finally solved. I did try and try inserting the E in the hint, but put in inside the qotes and not outside it so this works: insert into Insert into clin_consult.temp_image(piccie) values (E'\\211PNG\\015\\012\\032\\012\\') Thanks to everyone

Re: [Gambas-user] Nice book of Gambas

2008-09-03 Thread Benoit Minisini
On mercredi 03 septembre 2008, Ron_1st wrote: > > > > Who will host this wiki? Should it be part of the existing Gambas-wiki? > > Btw. I noticed there is mention that Gambas wiki is written in Gambas. Is > > it's source code available under GPL? > > The presentation is a la wiki. > The gambas engin

Re: [Gambas-user] Is it possible to command OpenOffic.org

2008-09-03 Thread Benoit Minisini
On mercredi 03 septembre 2008, Kari Laine wrote: > Hi, > > in the VB times I made use of the possibility to create Excel sheets > from VB. Is it possible to make same for OOo from Gambas? > > Best Regards > Kari > You don't really need specific feature in Gambas for that. OpenOffice are text file

Re: [Gambas-user] Nice book of Gambas

2008-09-03 Thread Jason Hackney
Looks like Ron_1st already covered most of my thoughts :-) - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand priz

Re: [Gambas-user] Nice book of Gambas

2008-09-03 Thread Jason Hackney
I'm not certain how much the publisher cares. Feel free to let me know if this has already been hashed over. Excerpt from page 2 of the book: "All rights reserved. Personal use of this material is permitted. However, permission to reprint/republish this material for advertising or promotional pur

Re: [Gambas-user] Is it possible to command OpenOffic.org

2008-09-03 Thread David Villalobos Cambronero
Hi, at the moment it can't. You have to wirte all the code, time ago I was trying to make it, but I'm working in a mysql related project and do not have time to make it. Saludos -- David - Original Message From: Kari Laine <[EMAIL PROTECTED]> To: gambas-user@lists.sourceforge.net

[Gambas-user] Is it possible to command OpenOffic.org

2008-09-03 Thread Kari Laine
Hi, in the VB times I made use of the possibility to create Excel sheets from VB. Is it possible to make same for OOo from Gambas? Best Regards Kari - This SF.Net email is sponsored by the Moblin Your Move Developer's chal

Re: [Gambas-user] Nice book of Gambas

2008-09-03 Thread Kari Laine
On Wed, Sep 3, 2008 at 3:43 PM, Rob <[EMAIL PROTECTED]> wrote: > On Wednesday 03 September 2008 07:57, Ron_1st wrote: > > The publisher wil not make it GPL if they can have financial profit > > of it when they sell the book. > > Does the publisher even own the copyright in this case? Rittinghouse

Re: [Gambas-user] Nice book of Gambas

2008-09-03 Thread Ron_1st
On Wednesday 03 September 2008, Kari Laine wrote: > On Wed, Sep 3, 2008 at 1:39 PM, <[EMAIL PROTECTED]> wrote: > > > Am Mittwoch, 3. September 2008 12:25:37 schrieb Ron_1st: > > > > The community works on a Wiki, which rights and permissions lay by one > > person/institution? Best way would be, wh

Re: [Gambas-user] Nice book of Gambas

2008-09-03 Thread Rob
On Wednesday 03 September 2008 07:57, Ron_1st wrote: > The publisher wil not make it GPL if they can have financial profit > of it when they sell the book. Does the publisher even own the copyright in this case? Rittinghouse used a vanity press, by the looks of the book a print-on-demand one, an

Re: [Gambas-user] Nice book of Gambas

2008-09-03 Thread Ron_1st
On Wednesday 03 September 2008, [EMAIL PROTECTED] wrote: > Am Mittwoch, 3. September 2008 12:25:37 schrieb Ron_1st: > > Not sure it was his idea but he is as holder/hoster/republisher > > of the wiki who needs the permission for the Dutch law. > > > > When he is a ISP and a customer of that ISP is

[Gambas-user] Problem fixed in gb.db.sqlite3

2008-09-03 Thread Benoit Minisini
Hi, I fixed an important bug in the Sqlite3 Gambas driver in revision 1536. The driver sometimes truncated the value of fields in query results. This bug appears recently for the following reason: There is a missing feature in the function that run SQL queries (sqlite3_exec) in the sqlite3 lib

Re: [Gambas-user] Nice book of Gambas

2008-09-03 Thread Kari Laine
On Wed, Sep 3, 2008 at 1:39 PM, <[EMAIL PROTECTED]> wrote: > Am Mittwoch, 3. September 2008 12:25:37 schrieb Ron_1st: > > The community works on a Wiki, which rights and permissions lay by one > person/institution? Best way would be, when the publisher makes the book > GPL. > > I am not very knowl

Re: [Gambas-user] Nice book of Gambas

2008-09-03 Thread gambas
Am Mittwoch, 3. September 2008 12:25:37 schrieb Ron_1st: > Not sure it was his idea but he is as holder/hoster/republisher > of the wiki who needs the permission for the Dutch law. > > When he is a ISP and a customer of that ISP is the owner of the wiki > then the customer need the permission and t

Re: [Gambas-user] Nice book of Gambas

2008-09-03 Thread Ron_1st
On Wednesday 03 September 2008, Kari Laine wrote: > > > > > Was it him who originated the wiki-idea? I think it is a good idea but now > it is his turn to comment and maybe tell his real name... > > Best Regards > Kari Laine > Not sure it was his idea but he is as holder/hoster/republisher of t

Re: [Gambas-user] Q:how to save a file.png into Postgresql

2008-09-03 Thread Ron_1st
On Wednesday 03 September 2008, richard terry wrote: > On Tue, 2 Sep 2008 09:48:55 pm you wrote: > Ok, that got me a bit further: This is the resultant (failed) insert query . > First try using $$ as the delimiters as per my code gives this and fails: > > insert into > clin_consult.temp_image(pic

Re: [Gambas-user] Nice book of Gambas

2008-09-03 Thread Kari Laine
On Wed, Sep 3, 2008 at 12:17 PM, Ron Onstenk <[EMAIL PROTECTED]> wrote: > On Wednesday 03 September 2008, Kari Laine wrote: > > Hi, > > > Looks not to bad but don't forget to add to write which book. > > > > > > Product Details > > > > > > - ISBN: 0741429489 > > > - IS

Re: [Gambas-user] Nice book of Gambas

2008-09-03 Thread Ron Onstenk
On Wednesday 03 September 2008, Kari Laine wrote: > Hi, > > as nobody has volunteered I try to write this proposal for publisher. > > -- > Dear Sir, > > You are the publisher for a book from John W. Rittinghouse titled as > Beginner's Guide to Gambas. > It is very fine book b

Re: [Gambas-user] Creating a library

2008-09-03 Thread Laurent Carlier
Le Wednesday 03 September 2008 10:56:37 [EMAIL PROTECTED], vous avez écrit : > Hi List! > > I've written a kind of library, where I droped my standard routines. At the > moment, I have to compile this class every time with my projects. > > Is there someone on this list, who can tell me, what I have

[Gambas-user] Creating a library

2008-09-03 Thread gambas
Hi List! I've written a kind of library, where I droped my standard routines. At the moment, I have to compile this class every time with my projects. Is there someone on this list, who can tell me, what I have to do, to compile the library separately and how I can get access to the methods in

Re: [Gambas-user] Books about compilers and interpreters

2008-09-03 Thread Benoit Minisini
On mercredi 03 septembre 2008, Kari Laine wrote: > > Could you tell me what you need libffi for? > > 'ffi' stand for "foreign function interface". It is a library that allows you to dynamically forge a function call at runtime for any function, any CPU (almost) and whatever how arguments are pus

Re: [Gambas-user] Books about compilers and interpreters

2008-09-03 Thread Kari Laine
On Wed, Sep 3, 2008 at 10:08 AM, Benoit Minisini < [EMAIL PROTECTED]> wrote: > > And all depends on your own skills and technical background. You are the > better people to find the better book that suits your need. Thanks for answering. I have programmed on and of - simple things with different

Re: [Gambas-user] Books about compilers and interpreters

2008-09-03 Thread Benoit Minisini
On mercredi 03 septembre 2008, Kari Laine wrote: > Hi, > > Could we collect to this thread list of books which are good about > compiler and interpreter design. > > I have one old book but it is pretty tough read. It is Compilers > Principles, Techniques and Tools by Alfred V.Aho, Ravi Sethi, Jeffr