Re: [Gambas-user] How to convert unix timestamp into gambas date and time

2012-02-02 Thread Rolf-Werner Eilert
Am 02.02.2012 19:41, schrieb Rolf Schmidt: > Hi everybody out there > > is there a function which allows to convert an unix timestamp into the > appropriated date/time in Gambas3? > > If, how is it called and how to use. > > Many thanks > Rolf Take a look at this one: http://gambasdoc.org/help/la

Re: [Gambas-user] how to insert hImage into table sqlite base

2012-02-02 Thread Алексей Беспалов
Thank you. My code: Dim sql As String Dim ImageBlob As String Dim ResultImg As Result ImageBlob = File.Load(sFile) Conn = Connections["Connection1"] This code works: ResultImg = Conn.Create("images_test") ResultImg["dirname"] = sFile ResultImg["image"] = ImageBlob ResultIm

[Gambas-user] gb.GeneralDate formatting is inconsistent

2012-02-02 Thread Zach Smith
The gb.GeneralDate formatting appears to be inconsistent in the handling of time 00:00:00.. Dim d1 As Date, d2 As Date, d3 As Date d1 = CDate("1/1/2003 00:00:00") d2 = CDate("1/1/2003") d3 = CDate("00:00:00") Print Format(d1, gb.GeneralDate) Print Format(d2, gb.GeneralDate) Print Format(d3, gb.

[Gambas-user] SelectDirectory does not use Dialog.Path correctly

2012-02-02 Thread John Rose
I confirm that this 'bug' has been fixed in version #4445 of Gambas3. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual

[Gambas-user] Issue 206 in gambas: Can't compile Gambas3

2012-02-02 Thread John Rose
Uninstalling kendek's Gambas3 packages has solved the problem. It also removed all the Gambas3 stuff from /usr/bin. I deleted the stuff in trunk, downloaded revision #4445 using subversion (at end of download, subversion displays that number) as instructed on the Gambas Ubuntu webpage and recompile

[Gambas-user] Database table row update

2012-02-02 Thread John Rose
I've solved this. I was using the Exec method (invoking a select statement) to obtain ResultSite: the documentation says that this is therefore read-only i.e. as the run-time error says. So I've changed the Exec to Edit with the appropriate changes to its parameters. It now works OK. I've just not

[Gambas-user] How to convert unix timestamp into gambas date and time

2012-02-02 Thread Rolf Schmidt
Hi everybody out there is there a function which allows to convert an unix timestamp into the appropriated date/time in Gambas3? If, how is it called and how to use. Many thanks Rolf -- Keep Your Developer Skills Curre

Re: [Gambas-user] how to insert hImage into table sqlite base

2012-02-02 Thread Johny Provoost
you could look in the examples: PictureDatabase I tried it in version 2 and it worked very well. Hope this is what you search for Johny Op 02-02-12 14:51, áÌÅËÓÅÊ âÅÓÐÁÌÏ× schreef: > Hi! > Tell me please, how to insert hImage into table sqlite base, into BLOB > field? > > ---

Re: [Gambas-user] Issue 206 in gambas: Can't compile Gambas3

2012-02-02 Thread Jesus
El 02/02/12 13:29, John Rose escribió: > When I try to install the trunk version of Gambas3 using subversion > (i.e. the command stated on Gambas's Documentation Subversion page), it > installs to /usr/local/bin. I've emailed kendek to try& clarify the > situation. I think that my system gets conf

Re: [Gambas-user] Is Image.Balance() uses some library or your algorithm? (to Benoît)

2012-02-02 Thread Emil Lenngren
You can check out the algorithm in the source code: http://gambas.svn.sourceforge.net/viewvc/gambas/gambas/trunk/main/lib/image.effect/effect.cpp?view=markup /Emil 2012/2/2 Алексей Беспалов

[Gambas-user] how to insert hImage into table sqlite base

2012-02-02 Thread Алексей Беспалов
Hi! Tell me please, how to insert hImage into table sqlite base, into BLOB field? -- С уважением Алексей. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Mi

Re: [Gambas-user] Database table row update

2012-02-02 Thread Randall Morgan
I would check the permissions on all your database tables. Also check and make sure the table files are writable. I know I've seen this kind of error on MySQL DBs when someone copies files from one machine or user to another. On Thu, Feb 2, 2012 at 4:01 AM, Shane Powell wrote: > On 02/02/12 2

[Gambas-user] Issue 206 in gambas: Can't compile Gambas3

2012-02-02 Thread John Rose
I got the stable Gambas3 (i.e. 3.0) from kendek's Launchpad ppa for Ubuntu Lucid: using Synaptic (i.e. apt-get) to download those packages. As I previously said, that version of Gambas3 (e.g. gambas3.gambas) has installed to /usr/bin (which happens to also be the place where Gambas2 (e.g. gambas2.g

Re: [Gambas-user] Database table row update

2012-02-02 Thread Shane Powell
On 02/02/12 22:49, John Rose wrote: > I think that I've narrowed down this problem on the attached Test > project. The run time error on the starred line below is an error > message stating "Update database site table record error"& "Error: > Result is read-only": > Public Sub ButtonSave_Click() >

[Gambas-user] Database table row update

2012-02-02 Thread John Rose
I think that I've narrowed down this problem on the attached Test project. The run time error on the starred line below is an error message stating "Update database site table record error" & "Error: Result is read-only": Public Sub ButtonSave_Click() Dim latitude As Float Inc Application.Busy

Re: [Gambas-user] Issue 123

2012-02-02 Thread Bruce Bruen
Hi Benoît, This is driving the 3 of us crazy. Hint, hint. :-) Bruce -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual St