Re: [Gambas-user] [slightly OT] No Problem with Gambas or MySql!

2013-10-05 Thread Caveat
Thanks for the great horse story Bruce. Willy asked me once whether I preferred MySQL or postgreSQL and I couldn't really come up with a very smart answer! Perhaps that helps :-) The only thing I find odd is why you don't just use the microchip ID as the primary key... then a name change would

[Gambas-user] "wrapping" function based on recent Mod thread

2013-10-05 Thread Kevin Fishburne
Jesus Guardon said in the recent thread "Modulo operator returns wrong results ": Hi Paul et all When working with some video games, there are a feature called wraparound or screen wrap. It consists on objects leaving one side of the screen that immediately reappear on the opposi

[Gambas-user] A minor thing re IDE "System informations..."

2013-10-05 Thread Bruce
I just clicked on "?|System Informations..." in the IDE. It popped up the normal form with the following: [System] OperatingSystem=Linux Kernel=3.4.59-pclos1 Architecture=x86 Distribution=PCLinuxOS Desktop=LXDE Theme=QWindows Language

Re: [Gambas-user] [slightly OT] No Problem with Gambas or MySql!

2013-10-05 Thread Bruce
On Sun, 2013-10-06 at 00:58 +0200, Willy Raets wrote: > On Sun, 2013-10-06 at 00:05 +0200, Caveat wrote: > > > If you wanted to delete one row with values 347 200, then which row would > > > it be? > > > > It *doesn't matter*! The rows are the same, so pick a row, ANY row! > > That is exactly w

Re: [Gambas-user] How to bring forward Gambas server pages? (gbw3 related files who to expose in http)

2013-10-05 Thread Willy Raets
On Mon, 2013-08-19 at 20:28 +0200, Benoît Minisini wrote: > > - When I have time (after my holidays in two weeks?) I will write an > example project of how to make a web site with Gambas. Surely some sort > of little wiki or blog. > > Regards, > Hi Benoît, Just wondering if this example proj

Re: [Gambas-user] [slightly OT] No Problem with Gambas or MySql!

2013-10-05 Thread Willy Raets
On Sun, 2013-10-06 at 00:05 +0200, Caveat wrote: > > If you wanted to delete one row with values 347 200, then which row would > > it be? > > It *doesn't matter*! The rows are the same, so pick a row, ANY row! That is exactly what I have been doing for the last 10 years. In VB code I just looke

Re: [Gambas-user] [slightly OT] No Problem with Gambas or MySql!

2013-10-05 Thread Fernando Martins
On 10/06/2013 12:05 AM, Caveat wrote: >>> "duplicate rows are and always were a mistake in SQL", C.J.Date > The guy has obviously never read William Kent's "Data and Reality". It's > a book I'd still recommend to anyone working with data and particularly > databases, even though it was written 35 y

Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread Willy Raets
On Sat, 2013-10-05 at 17:23 +0200, Fernando Martins wrote: > On 10/05/2013 02:08 PM, Willy Raets wrote: > > > > Then adding a primary key should solve that problem. > > > Indeed, that is the practical solution, but it is an artificial solution > because in _theory_ each tuple should represent a un

Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread Fernando Martins
On 10/05/2013 11:44 PM, Willy Raets wrote: > On Sat, 2013-10-05 at 10:33 -0400, nando wrote: >> This isn't really a Gambas issue. >> The table is poorly created without a primary key with auto-increment. >> If you wanted to delete one row with values 347 200, then which row would it >> be? >> With

Re: [Gambas-user] can't install my home-made-package, due to the dependencies

2013-10-05 Thread Jussi Lahtinen
> Distribution called Winbuntu does not exist... > It looks like distribution, but maybe it's something else. I don't know and I'm not interested of such. http://sourceforge.net/projects/winbuntuiso/ > PPA is a Ubuntu specific thing (nothing similarity with Microsoft > Windows), and this reposi

Re: [Gambas-user] [slightly OT] No Problem with Gambas or MySql!

2013-10-05 Thread Caveat
> If you wanted to delete one row with values 347 200, then which row would it > be? It *doesn't matter*! The rows are the same, so pick a row, ANY row! > Without the primary key, you're asking MySQL to guess, and it wont. Yes it will, if you use LIMIT (see my previous two mails). Otherwise,

Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread Willy Raets
On Sat, 2013-10-05 at 10:33 -0400, nando wrote: > This isn't really a Gambas issue. > The table is poorly created without a primary key with auto-increment. > If you wanted to delete one row with values 347 200, then which row would it > be? > Without the primary key, you're asking MySQL to guess,

Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread Willy Raets
On Sat, 2013-10-05 at 23:11 +0200, Caveat wrote: > MySQL itself doesn't mind about having no primary key: > > mysql> desc test_table; > +---+-+--+-+-+---+ > | Field| Type| Null | Key | Default | Extra | > +---+-+--+--

Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread Caveat
MySQL itself doesn't mind about having no primary key: mysql> desc test_table; +---+-+--+-+-+---+ | Field| Type| Null | Key | Default | Extra | +---+-+--+-+-+---+ | Actual ID | varchar(20) | YES |

Re: [Gambas-user] Ftp Client. Uploading status bar

2013-10-05 Thread Jorge Carrión
Ok. I understand. Thanks Tobi and Kendek Regard 2013/10/5 Kende Krisztián > Sat, 5 Oct 2013 19:55:29 +0200 -n > Jorge Carrión írta: > > > Well... gbr3 --version gives me 3.4.2... But clearly this version > > doesn't contains gb.net actualized code with that issue. > > I've searching in mailin

Re: [Gambas-user] can't install my home-made-package, due to the dependencies

2013-10-05 Thread Kende Krisztián
> Jussi; the ppa support are only in Winbuntu related, a user's > facility in MS style.. jeje lest see a example in my wheeze > instalation: > > oot@massenkoh:/etc# add-apt-repository ppa:nemh/gambas3 > bash: add-apt-repository: no se encontró la orden > root@massenkoh:/etc# > > do u see? > anoth

[Gambas-user] taskbar and alt+tab

2013-10-05 Thread herberth guzman
hello, I have a question, I have a form that does not want to display on the taskbar panel, change the skiptaskbar property to true, but pressing (alt + tab) still appears in the task manager of windows manager. How do I NOT display in the taskbar (lxpanel) and pressing Alt-Tab is desactivate.

Re: [Gambas-user] can't install my home-made-package, due to the dependencies

2013-10-05 Thread PICCORO McKAY Lenz
From: Jussi Lahtinen > > > sudo add-apt-repository ppa:nemh/gambas3 It's not winbuntu specific. That command *makes* entry to /etc/apt/sources.list.d directory. So this should be fine with every distro that uses apt. Jussi; the ppa support are only in Winbuntu related, a user's facility in MS sty

Re: [Gambas-user] Ftp Client. Uploading status bar

2013-10-05 Thread Tobias Boege
On Sat, 05 Oct 2013, Kende Kriszti??n wrote: > Sat, 5 Oct 2013 19:55:29 +0200 -n > Jorge Carri??n ??rta: > > > Well... gbr3 --version gives me 3.4.2... But clearly this version > > doesn't contains gb.net actualized code with that issue. > > I've searching in mailing list and what Benoit said was

Re: [Gambas-user] How do I add a script to a Deb file

2013-10-05 Thread PICCORO McKAY Lenz
> Best solution would still be to get 3.4.2 into official repo. > This means getting it into the Debain repo first as Ubuntu takes his > Gambas package from Debain upstream. > See: http://packages.qa.debian.org/g/gambas3.html > Currently debian package quality of gambas are very low > All it take

Re: [Gambas-user] Ftp Client. Uploading status bar

2013-10-05 Thread Kende Krisztián
Sat, 5 Oct 2013 19:55:29 +0200 -n Jorge Carrión írta: > Well... gbr3 --version gives me 3.4.2... But clearly this version > doesn't contains gb.net actualized code with that issue. > I've searching in mailing list and what Benoit said was: > > " In revision #5663, I have added a Progress event t

Re: [Gambas-user] Ftp Client. Uploading status bar

2013-10-05 Thread Tobias Boege
On Sat, 05 Oct 2013, Jorge Carri?n wrote: > Well... gbr3 --version gives me 3.4.2... But clearly this version doesn't > contains gb.net actualized code with that issue. > I've searching in mailing list and what Benoit said was: > > " In revision #5663, I have added a Progress event to the FtpClien

Re: [Gambas-user] Ftp Client. Uploading status bar

2013-10-05 Thread Jorge Carrión
Well... gbr3 --version gives me 3.4.2... But clearly this version doesn't contains gb.net actualized code with that issue. I've searching in mailing list and what Benoit said was: " In revision #5663, I have added a Progress event to the FtpClient class, > that is raised regularly while something

Re: [Gambas-user] can't install my home-made-package, due to the dependencies

2013-10-05 Thread Jussi Lahtinen
> > > sudo add-apt-repository ppa:nemh/gambas3 > > > this is a winbuntu specific, more standar are made a entry file in > /etc/apt/sources.list.d directory > It's not winbuntu specific. That command *makes* entry to /etc/apt/sources.list.d directory. So this should be fine with every distro that u

Re: [Gambas-user] How do I add a script to a Deb file

2013-10-05 Thread PICCORO McKAY Lenz
From: Kende Kriszti?n > > The repository address file can be placed in /etc/apt/sources.list.d > directory. But dependent packages must be > available before install the application. > squeeze need two dependents updated: gstreamer base and ext and lvm in 3.1 as minimun wheeze no need updates ve

Re: [Gambas-user] Ftp Client. Uploading status bar

2013-10-05 Thread Jorge Carrión
Ok Kendek, don't worry. I can wait, There isn' nothing urgent about this issue. Keep doing the good work. Regards. 2013/10/5 Kende Krisztián > Sat, 5 Oct 2013 17:13:08 +0200 -n > Jorge Carrión írta: > > > I'm afraid that Kendek offers somthing older than 5765. I'll wait for > > updates. Thank

Re: [Gambas-user] can't install my home-made-package, due to the dependencies

2013-10-05 Thread PICCORO McKAY Lenz
From: Charlie Reinl > > > > sudo add-apt-repository ppa:nemh/gambas3 > this is a winbuntu specific, more standar are made a entry file in /etc/apt/sources.list.d directory > > sudo apt-get update > this can be done each time system updates if the above cited are done Message: --

Re: [Gambas-user] Ftp Client. Uploading status bar

2013-10-05 Thread Tobias Boege
On Sat, 05 Oct 2013, Kende Kriszti??n wrote: > Sat, 5 Oct 2013 17:13:08 +0200 -n > Jorge Carri??n ??rta: > > > I'm afraid that Kendek offers somthing older than 5765. I'll wait for > > updates. Thanks Tobi. > > > > Regards, > > Shordi > > > > Use gbr3 --version command, that returns the real v

Re: [Gambas-user] Ftp Client. Uploading status bar

2013-10-05 Thread Kende Krisztián
Sat, 5 Oct 2013 17:13:08 +0200 -n Jorge Carrión írta: > I'm afraid that Kendek offers somthing older than 5765. I'll wait for > updates. Thanks Tobi. > > Regards, > Shordi > Use gbr3 --version command, that returns the real version number. The gambas3 --version show incorrect value, but this i

Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread Fernando Martins
On 10/05/2013 02:08 PM, Willy Raets wrote: > > Then adding a primary key should solve that problem. > Indeed, that is the practical solution, but it is an artificial solution because in _theory_ each tuple should represent a unique entity. In the UI, how do you distinguish one record from the oth

Re: [Gambas-user] Ftp Client. Uploading status bar

2013-10-05 Thread Jorge Carrión
I'm afraid that Kendek offers somthing older than 5765. I'll wait for updates. Thanks Tobi. Regards, Shordi 2013/10/5 Tobias Boege > On Sat, 05 Oct 2013, Jorge Carri?n wrote: > > Tobi, > > doesn't works for me. The progress event isn't triggered at all and, If > try > > to simulate it with a >

Re: [Gambas-user] Ftp Client. Uploading status bar

2013-10-05 Thread Tobias Boege
On Sat, 05 Oct 2013, Jorge Carri?n wrote: > Tobi, > doesn't works for me. The progress event isn't triggered at all and, If try > to simulate it with a > > While ftpcClient1 status > 0 > progressbar.value= FtpcClient1.Uploaded / FtpcClient1.TotalUploaded > wend > > Is needed to implement a o

Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread nando
This isn't really a Gambas issue. The table is poorly created without a primary key with auto-increment. If you wanted to delete one row with values 347 200, then which row would it be? Without the primary key, you're asking MySQL to guess, and it wont. Whatever your 'row pointer' is in Gambas, MyS

Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread nando
What is the table format? -- Original Message --- From: Fernando Martins To: gambas-user@lists.sourceforge.net Sent: Sat, 05 Oct 2013 10:08:12 +0200 Subject: Re: [Gambas-user] Problem with Gambas and MySql > On 10/05/2013 01:25 AM, Willy Raets wrote: > > On Fri, 2013-10-04 at 22

Re: [Gambas-user] Ftp Client. Uploading status bar

2013-10-05 Thread Jorge Carrión
Tobi, doesn't works for me. The progress event isn't triggered at all and, If try to simulate it with a While ftpcClient1 status > 0 progressbar.value= FtpcClient1.Uploaded / FtpcClient1.TotalUploaded wend Is needed to implement a observer or something? I'm using the nemh Kende Christian rep

Re: [Gambas-user] online documentation

2013-10-05 Thread Willy Raets
On Sat, 2013-10-05 at 14:10 +0200, wally wrote: > On Saturday 05 October 2013 14:01:57 Willy Raets wrote: > > On Sat, 2013-10-05 at 12:46 +0200, wally wrote: > > > Hi, > > > > > > how can i make documentation available offline ? > > > I do not know why, but i can not browse the docs online. > > >

Re: [Gambas-user] online documentation

2013-10-05 Thread wally
On Saturday 05 October 2013 14:01:57 Willy Raets wrote: > On Sat, 2013-10-05 at 12:46 +0200, wally wrote: > > Hi, > > > > how can i make documentation available offline ? > > I do not know why, but i can not browse the docs online. > > > > wally > > Wally, > > Seems there is a problem with gamb

Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread Willy Raets
On Sat, 2013-10-05 at 10:08 +0200, Fernando Martins wrote: > On 10/05/2013 01:25 AM, Willy Raets wrote: > > On Fri, 2013-10-04 at 22:53 +0200, Willy Raets wrote: > > > > Nando, Fernando and Caveat, > > > > Thanks for your responses. > > > >> Content in 'ICzakgewicht' can be like this: > >> | ID | G

Re: [Gambas-user] online documentation

2013-10-05 Thread Alain Baudrez
http://www.downforeveryoneorjustme.com/gambasdoc.org tells us that the site is down for everybody -- October Webinars: Code for Performance Free Intel webinars can help

Re: [Gambas-user] online documentation

2013-10-05 Thread Willy Raets
On Sat, 2013-10-05 at 12:46 +0200, wally wrote: > Hi, > > how can i make documentation available offline ? > I do not know why, but i can not browse the docs online. > > wally > Wally, Seems there is a problem with gambasdoc.org. I can't access the documentation either, although I could yesterd

[Gambas-user] online documentation

2013-10-05 Thread wally
Hi, how can i make documentation available offline ? I do not know why, but i can not browse the docs online. wally -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application perfor

Re: [Gambas-user] Ftp Client. Uploading status bar

2013-10-05 Thread Tobias Boege
On Sat, 05 Oct 2013, Jorge Carri?n wrote: > Hi Benoit: > > Some time ago you said that you had improved a way to construct a status > bar in the put event of the ftpClient. > Now I've exploring the component properties, but can't find that way. > ?Can you (or someone who knows that way) send a lit

[Gambas-user] Ftp Client. Uploading status bar

2013-10-05 Thread Jorge Carrión
Hi Benoit: Some time ago you said that you had improved a way to construct a status bar in the put event of the ftpClient. Now I've exploring the component properties, but can't find that way. ¿Can you (or someone who knows that way) send a little example of code? Thanks in advance Shordi --

Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread Fernando Martins
On 10/05/2013 01:25 AM, Willy Raets wrote: > On Fri, 2013-10-04 at 22:53 +0200, Willy Raets wrote: > > Nando, Fernando and Caveat, > > Thanks for your responses. > >> Content in 'ICzakgewicht' can be like this: >> | ID | Gewicht | >> 345 100 >> 345 100 >> 345 50 >> 347 200 >> 347 200 >> 347 200 >>