[Gambas-user] Auto Backup Application @ command QUIT

2011-09-08 Thread Andrea Bertini
Is it possible? Can i use component gb.compress? Please explain me how to. thx Andrea B -- Why Cloud-Based Security and Archiving Make Sense Osterman Research conducted this study that outlines how and why cloud computi

[Gambas-user] [Gambas 2.21] Read data from usb port.

2011-09-08 Thread l k
Hi, I'm writing a program to support GPSa logger. The program correctly handles reading data from the GPS device via bluetooth. But when I try to read data through USB is unfortunately the program does not receive anything. And here I am in the place because I do not know if it's my fault configura

Re: [Gambas-user] why, Import CSV file into Sqlite3 database is too slow, very very slow en Gambas2 :(

2011-09-08 Thread Benoît Minisini
> > It's not a Gambas thing, it is a basic database management system thing. > Please look at "database transaction" in Wikipedia. > See especially the "autocommit" link on that page, and you will understand what happens in your code. Regards, -- Benoît Minisini

Re: [Gambas-user] why, Import CSV file into Sqlite3 database is too slow, very very slow en Gambas2 :(

2011-09-08 Thread Benoît Minisini
> Tanks, I'm sorry, I'm newer in gambas, but how I do this, how I do a > transaction?? > > . It's not a Gambas thing, it is a basic database management system thing. Please look at "database transaction" in Wikipedia. To begin a transaction : Connection.Begin() method. To commit a transaction :

Re: [Gambas-user] why, Import CSV file into Sqlite3 database is too slow, very very slow en Gambas2 :(

2011-09-08 Thread César Augusto Muñoz Palominos
Tanks, I'm sorry, I'm newer in gambas, but how I do this, how I do a transaction?? . -Mensaje original- De: Benoît Minisini [mailto:gam...@users.sourceforge.net] Enviado el: jueves, 08 de septiembre de 2011 02:37 p.m. Para: mailing list for gambas users Asunto: [?? Probable Spam] Re:

Re: [Gambas-user] To wish list; optional compiler warning

2011-09-08 Thread Fabián Flores Vadell
2011/9/8 Jussi Lahtinen > > > > By having to specify ByRef in the caller, you can't forget that the > > function > > will modify your variable (forgetting that leads to hard-to-fix bugs) and > > it > > help readers of your code. > > > > Sorry, I don't understand what you mean, can you elaborate?

Re: [Gambas-user] To wish list; optional compiler warning

2011-09-08 Thread Jussi Lahtinen
> > By having to specify ByRef in the caller, you can't forget that the > function > will modify your variable (forgetting that leads to hard-to-fix bugs) and > it > help readers of your code. > Sorry, I don't understand what you mean, can you elaborate? I mean I forgot to write Test(Byref i), ins

Re: [Gambas-user] To wish list; optional compiler warning

2011-09-08 Thread Benoît Minisini
> Hi! > Quick thought; it would be nice to have compiler warning if "byref" is > missing from function/sub call. > I know using byref is optional, but so far I have only forgot to add it. > > Example: > > Private Sub Test(Byref x As Integer) > ... > > And you can call it; > Test(i) > Or; > Test(

Re: [Gambas-user] why, Import CSV file into Sqlite3 database is too slow, very very slow en Gambas2 :(

2011-09-08 Thread Benoît Minisini
> Hello: > > I want to import CSV file into Sqlite3 db in gambas2, but it's Working > too slow, the process takes 2 - 3 hours or more. I used ".import > csv_file.csv prov" sqlite3 command and works very fast, one minute or > less. > > The CSV file has 35,657 records and 4 data per record.

[Gambas-user] To wish list; optional compiler warning

2011-09-08 Thread Jussi Lahtinen
Hi! Quick thought; it would be nice to have compiler warning if "byref" is missing from function/sub call. I know using byref is optional, but so far I have only forgot to add it. Example: Private Sub Test(Byref x As Integer) ... And you can call it; Test(i) Or; Test(Byref i) Jussi ---

[Gambas-user] why, Import CSV file into Sqlite3 database is too slow, very very slow en Gambas2 :(

2011-09-08 Thread César Augusto Muñoz Palominos
Hello: I want to import CSV file into Sqlite3 db in gambas2, but it's Working too slow, the process takes 2 - 3 hours or more. I used ".import csv_file.csv prov" sqlite3 command and works very fast, one minute or less. The CSV file has 35,657 records and 4 data per record. The databas

Re: [Gambas-user] Does really nobody have an idea?

2011-09-08 Thread Benoît Minisini
> > > > I had another idea : you can create a timer that checks the mouse > > absolute coordinates every 10 seconds (for example). If the mouse does > > not move during six timer ticks (so one minute), you can assume that the > > user is not doing anything. > > > > Of course he may use the keyboa

Re: [Gambas-user] Does really nobody have an idea?

2011-09-08 Thread Rolf-Werner Eilert
Am 08.09.2011 17:33, schrieb Benoît Minisini: >> Aah sure - because of the containers... >> >> I tried it, and it runs well, but I cannot catch action on the scroll >> bars of the treeview - and nothing comes from the menu and from the >> program window as well. >> >> But it wouldn't disturb so muc

Re: [Gambas-user] Does really nobody have an idea?

2011-09-08 Thread Rolf-Werner Eilert
Am 08.09.2011 17:33, schrieb Benoît Minisini: >> Aah sure - because of the containers... >> >> I tried it, and it runs well, but I cannot catch action on the scroll >> bars of the treeview - and nothing comes from the menu and from the >> program window as well. >> >> But it wouldn't disturb so muc

Re: [Gambas-user] Does really nobody have an idea?

2011-09-08 Thread Rolf-Werner Eilert
I just saw that I cannot make full use of this because in my program, there is a tabstrip, and on one of the tab's pages I have some kind of input mask consisting of a varying number of "sub" tabs and a varying number of textboxes, comboboxes etc. which is generated dynamically after each click

Re: [Gambas-user] Does really nobody have an idea?

2011-09-08 Thread Benoît Minisini
> Aah sure - because of the containers... > > I tried it, and it runs well, but I cannot catch action on the scroll > bars of the treeview - and nothing comes from the menu and from the > program window as well. > > But it wouldn't disturb so much, so I think, this is a pretty good > solution, th

Re: [Gambas-user] gambas3 and the hidden .src

2011-09-08 Thread Charlie Reinl
Am Mittwoch, den 07.09.2011, 03:59 +0200 schrieb Benoît Minisini: > > Am Mittwoch, den 07.09.2011, 08:14 +1000 schrieb richard terry: > > > On Wednesday 07 September 2011 06:37:46 Karl Reinl wrote: > > > > Salut, > > > > > > > > now I work more and more with gambas3, and I found out, in daily work

Re: [Gambas-user] ARM debugging - where to start?

2011-09-08 Thread Joe Michael
On Tue, 2011-09-06 at 13:12 +0200, Benoît Minisini wrote: > > Hi, > > > > I have an ARM based Genesi Smarttop unit which runs Ubuntu 10.10 and it > > has Gambas version 2. When Gambas starts up gbx2 runs, consumes all > > resources > > in a big loop. If I start with it in command line, I get no o