[Gambas-user] [Gambas Bug Tracker] Bug #1094: Wait command freezes when clock is adjusted back

2017-05-25 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1094&from=L21haW4- Comment #2 by Benoît MINISINI: It should be fixed in revision #8138, where a monotonic clock is sued to implement the WAIT instruction. Benoît MINISINI changed the state of the bug to: Fixed.

[Gambas-user] [Gambas Bug Tracker] Bug #1109: Wrong Substitution

2017-05-25 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1109&from=L21haW4- Comment #1 by Benoît MINISINI: The Connection.Subst() method is for quoting SQL values. To quote SQL table or fields, you must use the Connection.Quote() method. Benoît MINISINI changed the state of the bug to: Rejected. ---

Re: [Gambas-user] when i used collections on my code, gambas get hangs!

2017-05-25 Thread PICCORO McKAY Lenz
hi jussi, i'll will send to you the code by private mail, in some hours to get more clarelly the problem.. and appreciate your help Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-05-25 15:34 GMT-04:30 Jussi Lahtinen : > The code you sent is not runnable. So there is obviously

Re: [Gambas-user] An Issue With Shell command and sudoers rules

2017-05-25 Thread Jorge Carrión
Thanks Lee. I think I've solved it. The solution is in that line. Best Regards. El 25 may. 2017 4:47 p. m., "T Lee Davidson" escribió: > Disable (ie. comment out) targetpw and the "ALL ALL=(ALL) ALL" line in > /etc/sudoers. > > Then you should probably allow regular users to execute only certa

Re: [Gambas-user] Change the code and copy in other project

2017-05-25 Thread Gianluigi
Ciao Charlie, Thanks, the problem is not with/in IDE, but if working with a project.gambas Problem that I can bypass by copying useful files first to a folder, since I have no more src in the compiled project. Regards Gianluigi 2017-05-25 23:24 GMT+02:00 Karl Reinl : > Am Donnerstag, den 25.05.

Re: [Gambas-user] Change the code and copy in other project

2017-05-25 Thread Karl Reinl
Am Donnerstag, den 25.05.2017, 20:06 +0200 schrieb Gianluigi: > I need to copy modules and classes from my project, change the code > partially and copy it to another project. > Is this only possible from IDE or is it possible also from a compiled > project? > Is there still the src folder in the c

Re: [Gambas-user] Change the code and copy in other project

2017-05-25 Thread Gianluigi
Right, that's what I was thinking to do, thank you. If I succeed, you will see it in the Software farm :-) Regards Gianluigi 2017-05-25 22:46 GMT+02:00 Jussi Lahtinen : > I don't quite understand what you are trying to achieve, but you can copy > the src folder to the data folder and then it wil

Re: [Gambas-user] Change the code and copy in other project

2017-05-25 Thread Jussi Lahtinen
I don't quite understand what you are trying to achieve, but you can copy the src folder to the data folder and then it will in the executable. Maybe you can even link it into the data folder. Jussi On Thu, May 25, 2017 at 11:23 PM, Gianluigi wrote: > OK I will look for another way to do this.

Re: [Gambas-user] Change the code and copy in other project

2017-05-25 Thread Gianluigi
OK I will look for another way to do this. Regards Gianluigi 2017-05-25 21:36 GMT+02:00 Jussi Lahtinen : > Src folder contains the source code for your project. You don't need to use > IDE to copy or edit the files. > Compiled binary does not contain source code, nor the compiling touches to > t

Re: [Gambas-user] when i used collections on my code, gambas get hangs!

2017-05-25 Thread Jussi Lahtinen
The code you sent is not runnable. So there is obviously something more. Why you cannot debug it? Just run the project in the IDE and when things go slow hit pause and see what is inside of the collection. Jussi On Thu, May 25, 2017 at 10:56 PM, PICCORO McKAY Lenz wrote: > as code i send, only

Re: [Gambas-user] when i used collections on my code, gambas get hangs!

2017-05-25 Thread PICCORO McKAY Lenz
as code i send, only contanis two connection objects, one for odbc and other for sqlite but i cannot see or debug it, due the interface does not show nothing ... Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-05-25 15:31 GMT-04:00 Jussi Lahtinen : > Have you checked what the

Re: [Gambas-user] XMLRPC-Server

2017-05-25 Thread PICCORO McKAY Lenz
umm thanks for ! and tht means that a cgi based XMLRPC server may be complicated to make.. in any case, many thanks for the files.. jajaja I feel very sorry,with German family and I am the only one who does not speak the language Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 201

Re: [Gambas-user] Change the code and copy in other project

2017-05-25 Thread Jussi Lahtinen
Src folder contains the source code for your project. You don't need to use IDE to copy or edit the files. Compiled binary does not contain source code, nor the compiling touches to the src folder. It is only read during the compilation. Jussi On Thu, May 25, 2017 at 9:06 PM, Gianluigi wrote:

Re: [Gambas-user] when i used collections on my code, gambas get hangs!

2017-05-25 Thread Jussi Lahtinen
Have you checked what the collection contains, when the system slows down? Maybe the containing strings are longer than what you expect? Or maybe there are more elements than you expect? How much the running program takes memory, when things get slow? Jussi On Thu, May 25, 2017 at 8:21 PM, PICCO

[Gambas-user] Fwd: ​ Re: Keyboard locked -- insisting one more time

2017-05-25 Thread Fabien Bodard
-- Forwarded message -- From: Fernando Cabral Date: 2017-05-25 0:12 GMT+02:00 Subject: Re: [Gambas-user] Re: Keyboard locked -- insisting one more time To: Fabien Bodard I 2017-05-24 14:31 GMT-03:00 Fabien Bodard : > > can you describe your machine ? If you mean hardware, I us

Re: [Gambas-user] XMLRPC-Server

2017-05-25 Thread Hans Lehmann
Hello Lee, Hi Gerhard (PICOORO), I have now installed a PHP XMLRPC server (version 3) on my local Lighttpd web server - it is just a PHP file and two necessary PHPXMLRPC libraries - and call the defined service with a Gambas XMLRPC client. It works well. Sincerely Hans -

[Gambas-user] Change the code and copy in other project

2017-05-25 Thread Gianluigi
I need to copy modules and classes from my project, change the code partially and copy it to another project. Is this only possible from IDE or is it possible also from a compiled project? Is there still the src folder in the compiled project? Regards Gianluigi

Re: [Gambas-user] when i used collections on my code, gambas get hangs!

2017-05-25 Thread PICCORO McKAY Lenz
hi Jussi, the Mem are 4G , the machine are Dell vostro 210 with i7 intel well complete history its that many days before i run several times gambas without close it, but in none moment used collections.. today only with project where i used collections gambas get slower after some hours... Lenz

Re: [Gambas-user] How to enumerate through SQL Result (was Re: Gambas-user Digest, Vol 132, Issue 29)

2017-05-25 Thread Unaise EK
Sir My problem solved Public Procedure AddList() Dim ListQurey As String Dim Lresult As Result ListQurey = "SELECT name FROM name_tbl" Lresult = MODMain.MyConn.Exec(ListQurey) 'If Lresult.Count > 0 Then '* Do While Not Eof(Lresult)* while Lresult.available ListBox1.Add(Lresult

[Gambas-user] How to enumerate through SQL Result (was Re: Gambas-user Digest, Vol 132, Issue 29)

2017-05-25 Thread T Lee Davidson
On 05/25/2017 05:24 AM, Unaise EK wrote: > this is my code for displaying data in listbox, but it did not working, pls > help > > Public Procedure AddList() >Dim ListQurey As String >Dim Lresult As Result > >ListQurey = "SELECT name FROM name_tbl" >Lresult = MODMain.MyConn.Exec(Li

[Gambas-user] [Gambas Bug Tracker] Bug #1109: Wrong Substitution

2017-05-25 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1109&from=L21haW4- Michael ALTROGGE reported a new bug. Summary --- Wrong Substitution Type : Bug Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : PostgreSQL driver Description --- Doing th

Re: [Gambas-user] when i used collections on my code, gambas get hangs!

2017-05-25 Thread Jussi Lahtinen
Collection requires more memory than string array, so maybe your box is just swapping, because of low memory? Jussi On Thu, May 25, 2017 at 6:00 AM, PICCORO McKAY Lenz wrote: > there are the piece of code and here there's no secret: > > Public Function getItems() As Collection > > Dim $items

Re: [Gambas-user] An Issue With Shell command and sudoers rules

2017-05-25 Thread T Lee Davidson
Disable (ie. comment out) targetpw and the "ALL ALL=(ALL) ALL" line in /etc/sudoers. Then you should probably allow regular users to execute only certain commands with something like: %users ALL=/home/adminuser/bin/comando.sh or a special group for 'privileged' users: %wheel ALL=/home/adminus

Re: [Gambas-user] when i used collections on my code, gambas get hangs!

2017-05-25 Thread Unaise EK
Sir one more help, Public Sub Save_button_Click() Dim InsertDb As String 'Dim Dx As Date 'Format(Dx, "dd/mm/") InsertDb = "INSERT INTO name_tbl (adm, name, place, date_ad) VALUES ('" & (TextBox1.Text) & "','" & (TextBox2.Text) & "', '" & (TextBox3.Text) & "', '" & DateBox1.Value & "' )" MODMai

Re: [Gambas-user] when i used collections on my code, gambas get hangs!

2017-05-25 Thread Unaise EK
Sir one more help, Public Sub Save_button_Click() Dim InsertDb As String 'Dim Dx As Date 'Format(Dx, "dd/mm/") InsertDb = "INSERT INTO name_tbl (adm, name, place, date_ad) VALUES ('" & (TextBox1.Text) & "','" & (TextBox2.Text) & "', '" & (TextBox3.Text) & "', '" & DateBox1.Value & "' )" MODMai

Re: [Gambas-user] when i used collections on my code, gambas get hangs!

2017-05-25 Thread Unaise EK
Thanks, it is working On 25 May 2017 3:11 p.m., "Jorge Carrión" wrote: > Try > > Public Procedure AddList() > Dim ListQurey As String > Dim Lresult As Result > > ListQurey = "SELECT name FROM name_tbl" > Lresult = MODMain.MyConn.Exec(ListQurey) > 'If Lresult.Count > 0 Then > '* Do W

Re: [Gambas-user] when i used collections on my code, gambas get hangs!

2017-05-25 Thread Jorge Carrión
Try Public Procedure AddList() Dim ListQurey As String Dim Lresult As Result ListQurey = "SELECT name FROM name_tbl" Lresult = MODMain.MyConn.Exec(ListQurey) 'If Lresult.Count > 0 Then '* Do While Not Eof(Lresult)* while Lresult.available ListBox1.Add(Lresult!"name") Lr

Re: [Gambas-user] when i used collections on my code, gambas get hangs!

2017-05-25 Thread Unaise EK
this is my code for displaying data in listbox, but it did not working, pls help Public Procedure AddList() Dim ListQurey As String Dim Lresult As Result ListQurey = "SELECT name FROM name_tbl" Lresult = MODMain.MyConn.Exec(ListQurey) If Lresult.Count > 0 Then * Do While Not Eof(Lres

Re: [Gambas-user] Gambas-user Digest, Vol 132, Issue 29

2017-05-25 Thread Unaise EK
this is my code for displaying data in listbox, but it did not working, pls help Public Procedure AddList() Dim ListQurey As String Dim Lresult As Result ListQurey = "SELECT name FROM name_tbl" Lresult = MODMain.MyConn.Exec(ListQurey) If Lresult.Count > 0 Then * Do While Not Eof(Lres

Re: [Gambas-user] when i used collections on my code, gambas get hangs!

2017-05-25 Thread Unaise EK
can you give example for DO WHILE NOT database EOF Loop Sent with Mailtrack On Thu, May 25, 2017 at 8:30 AM, PICCORO McKAY Lenz wrote: > there are the piece of code a

Re: [Gambas-user] An Issue With Shell command and sudoers rules

2017-05-25 Thread Jorge Carrión
Oh... well, I'm afraid that I've a mistake. All of this isn't a gambas issue. BUT if someone knows a way to let a non-sudoer user to update the system without know the admin password I'll be very grateful . Sorry for the noise. Best Regards 2017-05-25 10:16 GMT+02:00 Jorge Carrión : > In our

[Gambas-user] An Issue With Shell command and sudoers rules

2017-05-25 Thread Jorge Carrión
In our company, users are "standard" users, they can't update or make administratives jobs. There is another user (the admin user) that can do all that things... but users doesn't know the admin password. Searching make standard users being able of update the sistem I've created this script on admi