Re: [Gambas-user] Gambas 3 Ubuntu ARMv7

2012-08-09 Thread Emil Lenngren
It worked without problems on Raspbian, as all the auto* tools are available through apt-get. /Emil 2012/8/9 John Spikowski supp...@scriptbasic.org On Wed, 2012-08-08 at 22:10 -0700, John Spikowski wrote: On Wed, 2012-08-08 at 21:29 -0700, John Spikowski wrote: Is there a Gambas 3 ARM

Re: [Gambas-user] Gambas 3 Ubuntu ARMv7

2012-08-09 Thread John Spikowski
On Thu, 2012-08-09 at 11:55 +0200, Emil Lenngren wrote: It worked without problems on Raspbian, as all the auto* tools are available through apt-get. Translation: NO, there isn't a binary Ubuntu ARMv7 Gambas3 available so you need to build it from svn. Thanks for the conformation.

Re: [Gambas-user] Updated Spanish translation

2012-08-09 Thread Benoît Minisini
Le 09/08/2012 03:41, Sebastian Kulesz a écrit : Updated translation, 100% complete!!! Thanks. Do you have a sourceforge account so that I can grant you a write access to the subversion repository? That way you will be able to commit your translation directly. I think the translation form

Re: [Gambas-user] Gambas 3 Ubuntu ARMv7

2012-08-09 Thread Christer Johansson
On Wed, 2012-08-08 at 22:10 -0700, John Spikowski wrote: Has anyone tried to build Gambas3 native on an ARM Linux before? Yes, I sucessfully built 3.2.1 past weekend on the Raspberry Pi runnig Debian Squeeze, took quite a few hours but worked. /CJ

Re: [Gambas-user] Raspberry Pi

2012-08-09 Thread Christer Johansson
It would be nice if you could also make available the compiled package under armel so others can test it ;) Maybe just a typo and you mean armhf since this is available for armel... http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb Not the latest stable but something to get

[Gambas-user] Test

2012-08-09 Thread Mike Crean
Pardon me -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security,

[Gambas-user] Pardon its a test

2012-08-09 Thread Mike Crean
Test msg -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security,

Re: [Gambas-user] Test

2012-08-09 Thread GMail
On Thu, 2012-08-09 at 05:53 -0700, Mike Crean wrote: Pardon me Pax vobiscum. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT

Re: [Gambas-user] Gambas on Mac OS X/MacPorts

2012-08-09 Thread Patrik Karlsson
2012/8/7 François Gallo basic.gam...@gmail.com Gambas is not in the MacPorts tree and i think it will be never because the qt4-x11 port doesn't work. Indeed, this one isn't up to date. While macports will not provide an update to this port, Gambas cannot go into the macports tree. To make

Re: [Gambas-user] My Raspberry Pi has arrived!

2012-08-09 Thread Fabien Bodard
CMake ? Le 8 août 2012 21:45, Benoît Minisini gam...@users.sourceforge.net a écrit : Le 08/08/2012 21:13, Emil Lenngren a écrit : I finally managed to compile the main components (compiler/interpreter) and run the benchmark primes (takes 430 seconds, compared to 20 seconds for standard

Re: [Gambas-user] Adding values to fields in SQLite table??

2012-08-09 Thread Fabien Bodard
Normally it can work with private if it is declared in the form that use it Le 8 août 2012 21:00, Olivier Cruilles linu...@club-internet.fr a écrit : So to be exact, it's the same mecanism for all other database. If you declare a variable (as $hConn) in a PUBLIC SUB, the variable is local of

[Gambas-user] Issue 300 in gambas: When using XmlReader, the memory isn't released after subroutine ends

2012-08-09 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 300 by uale...@gmail.com: When using XmlReader, the memory isn't released after subroutine ends http://code.google.com/p/gambas/issues/detail?id=300 1) Describe the

[Gambas-user] Issue 301 in gambas: property handle of all the objects are getting equal prawns in 3.2.1.

2012-08-09 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 301 by linuxfx@gmail.com: property handle of all the objects are getting equal prawns in 3.2.1. http://code.google.com/p/gambas/issues/detail?id=301 property handle

Re: [Gambas-user] mp3 do not play

2012-08-09 Thread gonzalo1163
Here, no mp3 file at all is played. The bitrate of all my files is 44100. The error Module format not recognized is raised already at Music.Load(file.mp3) 2012/3/7 M. Cs.mohareve at gmail.com The problem is in the SDL.sound library. I don't know whether this can be solved in

Re: [Gambas-user] Inputbox

2012-08-09 Thread Cogier
Thanks again Matti-4. I took your advice regarding Gambas3 and I love the new collapsible SUBs and the way that changing a button name automatically changes the code. BUT I have installed it on 2 machines one with Mint 13 and the other with Ubuntu 12.04 and in both cases the program will run

[Gambas-user] Second Form not reading Public variable from first form

2012-08-09 Thread rocko
If I declare a Public variable is it available across all Forms and Modules?? I ask because I'm having difficulty with a $hConn variable I have a FMain form that connects to an sqlite database when the form is opened. Public Sub Form_Open() $hConn = New Connection With $hConn

Re: [Gambas-user] Raspberry Pi

2012-08-09 Thread John Spikowski
On Thu, 2012-08-09 at 06:18 -0700, Mike Crean wrote: Does or will Gambas3 support Rpi foundation's raspbian (wheezy) floating point and is anyone maintaining a current download install for Gambas to run on Rpi raspbian. The Gambas3 install for Rpi raspbian seems to be broken, may be some

Re: [Gambas-user] Raspberry Pi

2012-08-09 Thread John Spikowski
On Thu, 2012-08-09 at 06:18 -0700, Mike Crean wrote: Does or will Gambas3 support Rpi foundation's raspbian (wheezy) floating point and is anyone maintaining a current download install for Gambas to run on Rpi raspbian. The Gambas3 install for Rpi raspbian seems to be broken, may be some

Re: [Gambas-user] Second Form not reading Public variable from first form

2012-08-09 Thread Olivier Cruilles
Hello, When you declare a variable as PUBLIC in a Form (Ex: FMain) and if you want to access to this variable from another Form you need to rewrite the first Form like that: In the second Form use this: FMain.$hConn(But only if the variable is declared as PUBLIC, not PRIVATE)

Re: [Gambas-user] Second Form not reading Public variable from first form

2012-08-09 Thread rocko
Ok I see, I've added FMain. but now I'm getting Driver name missing at FMain.Open On Thu, 2012-08-09 at 21:08 +0200, Olivier Cruilles wrote: Hello, When you declare a variable as PUBLIC in a Form (Ex: FMain) and if you want to access to this variable from another Form you need to

Re: [Gambas-user] Second Form not reading Public variable from first form

2012-08-09 Thread Olivier Cruilles
Can you put the code that you obtain now in a main Form and in the second Form please ? Cordialement, Olivier Cruilles Mail: linu...@club-internet.fr Le 9 août 2012 à 21:22, rocko sunblast...@gmail.com a écrit : Ok I see, I've added FMain. but now I'm getting Driver name missing at

Re: [Gambas-user] Raspberry Pi

2012-08-09 Thread John Spikowski
On Thu, 2012-08-09 at 11:40 -0700, John Spikowski wrote: Hi Mike, I tried to install Gambas 3 on my Ubuntu ARM chroot instance from the .deb and having issues with libffi5 libffi5 = 3.0.9-3 apt-get install libffi5 libffi5 is already the newest version. Please advise! libffi.so.5

Re: [Gambas-user] Second Form not reading Public variable from first form

2012-08-09 Thread rocko
Sure can. FMain CODE: ' Gambas class file Public $hConn As Connection Public Sub _new() End Public Sub Form_Open() $hConn = New Connection With $hConn .Host = /home/rocko/DataBases .Name = my_test.sqlite .Type = sqlite End With Try $hConn.Open If Error Then Print Database cannot be

Re: [Gambas-user] Second Form not reading Public variable from first form

2012-08-09 Thread Olivier Cruilles
You repeat the same problem than yesterday. Cordialement, Olivier Cruilles Mail: linu...@club-internet.fr Le 9 août 2012 à 21:37, rocko sunblast...@gmail.com a écrit : FNew CODE: ' Gambas class file ' Private rTable As Result Public Sub btnCommit_Click() FMain.$hConn = New

Re: [Gambas-user] Second Form not reading Public variable from first form

2012-08-09 Thread rocko
DOH!! Originally I was getting an error on rTable and $hConn variable Null Object or something like that. Think thats why I added the $hConn statements, it got rid of the null error but then other error's popped up. Must remember only open sqlite once!!! Thanks Oliver. On Thu, 2012-08-09 at

Re: [Gambas-user] Inputbox

2012-08-09 Thread Matti
Better open a new thread about gb3 and Mint and Ubuntu, because I don't know anything about that! Am 09.08.2012 20:20, schrieb Cogier: Thanks again Matti-4. I took your advice regarding Gambas3 and I love the new collapsible SUBs and the way that changing a button name automatically changes

[Gambas-user] Adding a date to a number

2012-08-09 Thread rocko
I have a date box that I want to use for adding a number of days to. EX: say user picks date 9/10/12(American style date format) and enters 30 days in a value box to add to the date and then display that in another text box. But I'm not sure what the formula in Gambas is for adding dates. I want

Re: [Gambas-user] Adding a date to a number

2012-08-09 Thread acidblue
I tried this and it works fine. Dim $date As Date $date = DateBox1.Value + vbxFlwrTime.Value txtFin.Text = $date acidblue wrote: I have a date box that I want to use for adding a number of days to. EX: say user picks date 9/10/12(American style date format) and enters 30 days in a

Re: [Gambas-user] Raspberry Pi

2012-08-09 Thread jason349
What's the make and model of the machine you've got? It looks interesting. -Original Message- From: John Spikowski supp...@scriptbasic.org Date: Thu, 09 Aug 2012 14:12:55 To: mailing list for gambas usersgambas-user@lists.sourceforge.net Reply-To: mailing list for gambas users

Re: [Gambas-user] Raspberry Pi

2012-08-09 Thread John Spikowski
On Thu, 2012-08-09 at 21:30 +, jason...@gmail.com wrote: What's the make and model of the machine you've got? It looks interesting. It's a Samsung Galaxy Tab 2 10.1 with a Logitech Bluetooth keyboard and a MS USB wireless mouse. When I finish extending the USB plug-in adapter, it's going

Re: [Gambas-user] JIT bug 7

2012-08-09 Thread Jussi Lahtinen
Again at home... Everything seems to work! Jussi On 4 August 2012 15:09, Emil Lenngren emil.lenng...@gmail.com wrote: OK, it should work now. 2012/7/28 Emil Lenngren emil.lenng...@gmail.com Can't really do anything right now. I am in Venice now on Vacation :) I come home in 8 days or

Re: [Gambas-user] Raspberry Pi

2012-08-09 Thread Benoît Minisini
Le 09/08/2012 23:41, John Spikowski a écrit : On Thu, 2012-08-09 at 21:30 +, jason...@gmail.com wrote: What's the make and model of the machine you've got? It looks interesting. It's a Samsung Galaxy Tab 2 10.1 with a Logitech Bluetooth keyboard and a MS USB wireless mouse. When I

Re: [Gambas-user] Raspberry Pi -- SGT2_10.1 Ubuntu ARM

2012-08-09 Thread Benoît Minisini
Le 10/08/2012 00:07, John Spikowski a écrit : On Thu, 2012-08-09 at 23:53 +0200, Benoît Minisini wrote: Le 09/08/2012 23:41, John Spikowski a écrit : On Thu, 2012-08-09 at 21:30 +, jason...@gmail.com wrote: What's the make and model of the machine you've got? It looks interesting.

Re: [Gambas-user] Raspberry Pi -- SGT2_10.1 Ubuntu ARM

2012-08-09 Thread John Spikowski
On Fri, 2012-08-10 at 00:38 +0200, Benoît Minisini wrote: Do you think that will get me by the libffi5 issue? No idea. I don't have any ARM device, and I don't make the binary packages you tried to install. I got ScriptBasic, BaCon and BCX Basic ported to Android Linux so far, getting

Re: [Gambas-user] Raspberry Pi -- SGT2_10.1 Ubuntu ARM

2012-08-09 Thread Benoît Minisini
Le 10/08/2012 00:49, John Spikowski a écrit : On Fri, 2012-08-10 at 00:38 +0200, Benoît Minisini wrote: Do you think that will get me by the libffi5 issue? No idea. I don't have any ARM device, and I don't make the binary packages you tried to install. I got ScriptBasic, BaCon and BCX

Re: [Gambas-user] Adding a date to a number

2012-08-09 Thread Jussi Lahtinen
http://gambasdoc.org/help/lang/dateadd?show Jussi On 9 August 2012 23:33, rocko sunblast...@gmail.com wrote: I have a date box that I want to use for adding a number of days to. EX: say user picks date 9/10/12(American style date format) and enters 30 days in a value box to add to the date

Re: [Gambas-user] Raspberry Pi -- SGT2_10.1 Ubuntu ARM

2012-08-09 Thread John Spikowski
On Fri, 2012-08-10 at 00:52 +0200, Benoît Minisini wrote: Le 10/08/2012 00:49, John Spikowski a écrit : Gambas cannot run on Android. It requires a GNU operating system at the moment. Gambas will be running on an ARM version of Ubuntu as a Android chroot image on my SGT2_10.1. (hopefully)

[Gambas-user] Questions about SQLIte and Data Objects

2012-08-09 Thread acidblue
I noticed when i use 'datetime' as a type in sqlite it also adds a time at the end the date: 8/9/2012 00:00:00 when displayed in a dataview box. Is there a way to NOT display the time, just the date? I have to re-adjust the column widths every time program loads,(using dataview),this is

Re: [Gambas-user] Reading pen pressure from wacom tablets

2012-08-09 Thread Benoît Minisini
Le 25/07/2012 08:15, Ricardo Díaz Martín a écrit : Hi, I wonder if there is some way to read the pen pressure from wacom like tablets in gambas. I have read some documentations for java and looks like wacon tablets works like a normal mouse with some extra properties you can get: pressure,

[Gambas-user] Check if a form is opened/show

2012-08-09 Thread rocko
Is there a way to check if a form is opened?? If Fmain.Open = True Then do...something endif I tries .Show but got an error. -- Live Security Virtual Conference Exclusive live event will cover all the ways

[Gambas-user] Getting data from table

2012-08-09 Thread rocko
I've read the help files and seen a lot of examples on how to add data to a table but I can' find any examples on how to get data from a table. I need to get total number of fields from a table. I've looked at: 'Property Read Count As Integer' in the Help file. Can i simply put this at the top