It doesn't work, the file is saved emty.
Benoit, any idea?
Regards
--
David
- Original Message
From: Werner wd...@netfront.net
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Thursday, June 25, 2009 9:39:52 PM
Subject: Re: [Gambas-user] Blob management
Minisini gam...@users.sourceforge.net
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Friday, June 26, 2009 8:21:41 AM
Subject: Re: [Gambas-user] Blob management
It doesn't work, the file is saved emty.
Benoit, any idea?
Regards
--
David
What happens if you
David Villalobos Cambronero wrote:
I do this:
DIM hResultado AS Result
DIM sImagen AS String
IF NOT Exist(/tmp/mas) THEN MKDIR /tmp/mas
hResultado = $hConn.Exec(SELECT * FROM `Imagenes`)
sImagen = hResultado[Imagen].Data --- Fails here
Not an object
I do this:
DIM hResultado AS Result
DIM sImagen AS String
IF NOT Exist(/tmp/mas) THEN MKDIR /tmp/mas
hResultado = $hConn.Exec(SELECT * FROM `Imagenes`)
sImagen = hResultado[Imagen].Data --- Fails here
Not an object
Well, that means that hResultado[Imagen]
gambas-user@lists.sourceforge.net
Sent: Friday, June 26, 2009 9:15:43 AM
Subject: Re: [Gambas-user] Blob management
I do this:
DIM hResultado AS Result
DIM sImagen AS String
IF NOT Exist(/tmp/mas) THEN MKDIR /tmp/mas
hResultado = $hConn.Exec(SELECT * FROM `Imagenes`)
sImagen
Hi, first of all thanks to Benoit, Ron and Wener for help me.
Just to be clear if someone reads this in the future, these statementst are
correct:
DIM hResultado AS Result
IF NOT Exist(/tmp/mas) THEN MKDIR /tmp/mas
hResultado = $hConn.Exec(SELECT * FROM `Imagenes`)
, 2009 10:04:27 AM
Subject: Re: [Gambas-user] Blob management
Hi, first of all thanks to Benoit, Ron and Wener for help me.
Just to be clear if someone reads this in the future, these statementst are
correct:
DIM hResultado AS Result
IF NOT Exist(/tmp/mas) THEN MKDIR /tmp/mas
Hi, is there a problem with this instuction?
hResultado = $hConn.Exec(SELECT Pic FROM Pics)
File.Save(/tmp/1.jpg, hResultado[Pic].Data)
I can't get them work!
Regards
--
David
--
Hi, is there a problem with this instuction?
hResultado = $hConn.Exec(SELECT Pic FROM Pics)
File.Save(/tmp/1.jpg, hResultado[Pic].Data)
I can't get them work!
Regards
--
David
Can you give more details? (versions, database driver)...
Does the PictureDatabase example work?
--
?
Regards
--
David
- Original Message
From: Benoît Minisini gam...@users.sourceforge.net
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Thursday, June 25, 2009 3:29:20 PM
Subject: Re: [Gambas-user] Blob management
Hi, is there a problem with this instuction
10 matches
Mail list logo