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

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Glaucio Araujo
Hi, Jussi


My Xorg.0.log is in ~/.local/share/xorg/

Log attached.

My Xinput:


gda@acer:~$ xinput list
⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer
(2)]
⎜   ↳ Logitech M215 2nd Gen                       id=11    [slave  pointer
(2)]
⎜   ↳ Logitech K330                               id=10    [slave  pointer
(2)]
⎜   ↳ ETPS/2 Elantech Touchpad                    id=13    [slave  pointer
(2)]
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard
(3)]
    ↳ Power Button                                id=6    [slave  keyboard
(3)]
    ↳ Video Bus                                   id=7    [slave  keyboard
(3)]
    ↳ Power Button                                id=8    [slave  keyboard
(3)]
    ↳ Sleep Button                                id=9    [slave  keyboard
(3)]
    ↳ AT Translated Set 2 keyboard                id=12    [slave  keyboard
(3)]
    ↳ Acer WMI hotkeys                            id=14    [slave  keyboard
(3)]
    ↳ Logitech K330                               id=15    [slave  keyboard
(3)]
    ↳ HD WebCam                                   id=16    [slave  keyboard
(3)]






---

Gláucio de Araujo

Mail : [hidden email]
TIM  : (11) 95900-7801 (WhatsApp / Telegram)


Date: Mon, 15 May 2017 23:54:16 +0300

> From: Jussi Lahtinen <[hidden email]>
> Subject: Re: [Gambas-user] Keyboard locked -- insisting one more time
> To: [hidden email],    mailing list for gambas users
>         <[hidden email]>
> Message-ID:
>         <CAFJMe7Su-icbk90AU7iB0F981ox_bSy2kO8g01Er=ioWTnf46A@mail.
> gmail.com>
> Content-Type: text/plain; charset="UTF-8"
>
> Can you both send Xorg.0.log (usually in /var/log/)?
>
>
> Jussi
>
>
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Xorg.0.log (136K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Dimitris Anogiatis
Does the same behavior occur with a wired keyboard (not your wireless
Logitech K330)?

On Tue, May 16, 2017 at 3:48 AM, Glaucio Araujo <[hidden email]
> wrote:

> Hi, Jussi
>
>
> My Xorg.0.log is in ~/.local/share/xorg/
>
> Log attached.
>
> My Xinput:
>
>
> gda@acer:~$ xinput list
> ⎡ Virtual core pointer                        id=2    [master pointer  (3)]
> ⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer
> (2)]
> ⎜   ↳ Logitech M215 2nd Gen                       id=11    [slave  pointer
> (2)]
> ⎜   ↳ Logitech K330                               id=10    [slave  pointer
> (2)]
> ⎜   ↳ ETPS/2 Elantech Touchpad                    id=13    [slave  pointer
> (2)]
> ⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
>     ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard
> (3)]
>     ↳ Power Button                                id=6    [slave  keyboard
> (3)]
>     ↳ Video Bus                                   id=7    [slave  keyboard
> (3)]
>     ↳ Power Button                                id=8    [slave  keyboard
> (3)]
>     ↳ Sleep Button                                id=9    [slave  keyboard
> (3)]
>     ↳ AT Translated Set 2 keyboard                id=12    [slave  keyboard
> (3)]
>     ↳ Acer WMI hotkeys                            id=14    [slave  keyboard
> (3)]
>     ↳ Logitech K330                               id=15    [slave  keyboard
> (3)]
>     ↳ HD WebCam                                   id=16    [slave  keyboard
> (3)]
>
>
>
>
>
>
> ---
>
> Gláucio de Araujo
>
> Mail : [hidden email]
> TIM  : (11) 95900-7801 (WhatsApp / Telegram)
>
>
> Date: Mon, 15 May 2017 23:54:16 +0300
> > From: Jussi Lahtinen <[hidden email]>
> > Subject: Re: [Gambas-user] Keyboard locked -- insisting one more time
> > To: [hidden email],    mailing list for gambas users
> >         <[hidden email]>
> > Message-ID:
> >         <CAFJMe7Su-icbk90AU7iB0F981ox_bSy2kO8g01Er=ioWTnf46A@mail.
> > gmail.com>
> > Content-Type: text/plain; charset="UTF-8"
> >
> > Can you both send Xorg.0.log (usually in /var/log/)?
> >
> >
> > Jussi
> >
> >
> >
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

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(Lresult)*
      ListBox1.Add(Lresult!"name")
      Lresult.MoveNext
    Loop
  Endif

End




  <https://mailtrack.io/> Sent with Mailtrack
<https://mailtrack.io/install?source=signature&lang=en&referral=unaiseek@...&idSignature=22>

On Wed, May 24, 2017 at 10:26 AM, Dimitris Anogiatis <[hidden email]>
wrote:

> Does the same behavior occur with a wired keyboard (not your wireless
> Logitech K330)?
>
> On Tue, May 16, 2017 at 3:48 AM, Glaucio Araujo <
> [hidden email]
> > wrote:
>
> > Hi, Jussi
> >
> >
> > My Xorg.0.log is in ~/.local/share/xorg/
> >
> > Log attached.
> >
> > My Xinput:
> >
> >
> > gda@acer:~$ xinput list
> > ⎡ Virtual core pointer                        id=2    [master pointer
> (3)]
> > ⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer
> > (2)]
> > ⎜   ↳ Logitech M215 2nd Gen                       id=11    [slave
> pointer
> > (2)]
> > ⎜   ↳ Logitech K330                               id=10    [slave
> pointer
> > (2)]
> > ⎜   ↳ ETPS/2 Elantech Touchpad                    id=13    [slave
> pointer
> > (2)]
> > ⎣ Virtual core keyboard                       id=3    [master keyboard
> (2)]
> >     ↳ Virtual core XTEST keyboard                 id=5    [slave
> keyboard
> > (3)]
> >     ↳ Power Button                                id=6    [slave
> keyboard
> > (3)]
> >     ↳ Video Bus                                   id=7    [slave
> keyboard
> > (3)]
> >     ↳ Power Button                                id=8    [slave
> keyboard
> > (3)]
> >     ↳ Sleep Button                                id=9    [slave
> keyboard
> > (3)]
> >     ↳ AT Translated Set 2 keyboard                id=12    [slave
> keyboard
> > (3)]
> >     ↳ Acer WMI hotkeys                            id=14    [slave
> keyboard
> > (3)]
> >     ↳ Logitech K330                               id=15    [slave
> keyboard
> > (3)]
> >     ↳ HD WebCam                                   id=16    [slave
> keyboard
> > (3)]
> >
> >
> >
> >
> >
> >
> > ---
> >
> > Gláucio de Araujo
> >
> > Mail : [hidden email]
> > TIM  : (11) 95900-7801 (WhatsApp / Telegram)
> >
> >
> > Date: Mon, 15 May 2017 23:54:16 +0300
> > > From: Jussi Lahtinen <[hidden email]>
> > > Subject: Re: [Gambas-user] Keyboard locked -- insisting one more time
> > > To: [hidden email],    mailing list for gambas users
> > >         <[hidden email]>
> > > Message-ID:
> > >         <CAFJMe7Su-icbk90AU7iB0F981ox_bSy2kO8g01Er=ioWTnf46A@mail.
> > > gmail.com>
> > > Content-Type: text/plain; charset="UTF-8"
> > >
> > > Can you both send Xorg.0.log (usually in /var/log/)?
> > >
> > >
> > > Jussi
> > >
> > >
> > >
> >
> > ------------------------------------------------------------
> > ------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Gambas-user mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



--
M. Unaise. E.K
9895687604
Librarian,
(BLISc, MLIS)
JDT Islam Polytechnic College,
Vellimadukunnu.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

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(ListQurey)
>    If Lresult.Count > 0 Then
>    *  Do While Not Eof(Lresult)*
>        ListBox1.Add(Lresult!"name")
>        Lresult.MoveNext
>      Loop
>    Endif
>
> End

I don't know why you are trying to use Eof() on a SQL Result. Eof is for a Stream.

See:
http://gambaswiki.org/wiki/comp/gb.db/result

"This class is enumerable with the FOR EACH keyword."

And, I believe 'ListBox1.Add(Lresult!"name")' should be 'ListBox1.Add(Lresult!name)' or 'ListBox1.Add(Lresult["name"])'.


Also, please try to compose meaningful subject lines by creating a _new_ message instead of simply replying to a message that is
not related to your issue. That helps those who view list messages in threaded mode. TIA.

--
Lee

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

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!"name")
      Lresult.MoveNext
  wend
  'Endif

On 25 May 2017 9:06 p.m., "T Lee Davidson" <[hidden email]> wrote:

> 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(ListQurey)
> >    If Lresult.Count > 0 Then
> >    *  Do While Not Eof(Lresult)*
> >        ListBox1.Add(Lresult!"name")
> >        Lresult.MoveNext
> >      Loop
> >    Endif
> >
> > End
>
> I don't know why you are trying to use Eof() on a SQL Result. Eof is for a
> Stream.
>
> See:
> http://gambaswiki.org/wiki/comp/gb.db/result
>
> "This class is enumerable with the FOR EACH keyword."
>
> And, I believe 'ListBox1.Add(Lresult!"name")' should be
> 'ListBox1.Add(Lresult!name)' or 'ListBox1.Add(Lresult["name"])'.
>
>
> Also, please try to compose meaningful subject lines by creating a _new_
> message instead of simply replying to a message that is
> not related to your issue. That helps those who view list messages in
> threaded mode. TIA.
>
> --
> Lee
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Loading...