Re: [Gambas-user] usb codebar reader how to handle events!?

2015-12-28 Thread PICCORO McKAY Lenz
good trick! the barcode have a delay when tiping.. if this delay are lower thatn so then comes from keyboard! (sound easy, but i think will be dificult sure) i opened the proyect later due right now i'm not at home or job.. and then post feedback 2015-12-24 5:50 GMT-04:30, Charlie : > OK let's tr

Re: [Gambas-user] usb codebar reader how to handle events!?

2015-12-24 Thread Charlie
I can't see how you are supposed to tell if you are typing on a keyboard or using a barcode reader as they are both USB devices setup to look like a keyboard. It's probably possible but you'll need somebody who can write code to read USB ports and understands how they work - That's not me! OK let'

Re: [Gambas-user] usb codebar reader how to handle events!?

2015-12-23 Thread Fabien Bodard
hey jack : Textbox.Text = Mid$(Textbox.Text, 2, Len(Textbox.Text)) Textbox.Text = Right(Textbox.Text, -1) 2015-12-23 20:16 GMT+01:00 PICCORO McKAY Lenz : > thanks charlie.. currently as i previusly posted, that's was doint! but my > reader does not return "enter" or "carrige return" , only the

Re: [Gambas-user] usb codebar reader how to handle events!?

2015-12-23 Thread PICCORO McKAY Lenz
thanks charlie.. currently as i previusly posted, that's was doint! but my reader does not return "enter" or "carrige return" , only the code that reads! by now i can configure with "return" at the end of the read, or with a prefix and a sufix.. but i want to do not depend on those tricks! Lenz M

Re: [Gambas-user] usb codebar reader how to handle events!?

2015-12-23 Thread Charlie
The barcode reader will only return the barcode information not the special characters that are needed to create it. Once all the barcode is sent the barcode reader will send a *Return key*. We can use Gambas to check for the *Return key* so we know the barcode has been completely read. If you want

Re: [Gambas-user] usb codebar reader how to handle events!?

2015-12-23 Thread PICCORO McKAY Lenz
Errr.. Jack! i have already preconfigured with prefix (an "a") and sufix (a "z"), i want without that!, i wnat detect the event itselft! 2015-12-23 11:45 GMT-04:30 Jack : > Hello, > > a barcode reader does not need to be declared in the system. It is > automatically recognized. > > you must conf

Re: [Gambas-user] usb codebar reader how to handle events!?

2015-12-23 Thread Jack
Le 23/12/2015 16:59, PICCORO McKAY Lenz a écrit : > now continues with strange petitions: > > now i have a usb metrologic code bar reader, of course in each plug and > play changes the usb node, that was solved!! > > My problem are now that i want to detect when the input comes from this > device a

[Gambas-user] usb codebar reader how to handle events!?

2015-12-23 Thread PICCORO McKAY Lenz
now continues with strange petitions: now i have a usb metrologic code bar reader, of course in each plug and play changes the usb node, that was solved!! My problem are now that i want to detect when the input comes from this device and not from the keyboard! the reader returns chars! i can con

Re: [Gambas-user] Usb

2013-07-30 Thread sundar j
s-user@lists.sourceforge.net Subject: Re: [Gambas-user] Usb > >> is it possible to list all the usb devices on a system? > >> > > Yeah, the lsusb command is your friend. > > > > I should have said usb drive I was thinking using dev some how > No problem, I use this fo

Re: [Gambas-user] Usb

2013-07-30 Thread Kende Krisztián
> >> is it possible to list all the usb devices on a system? > >> > > Yeah, the lsusb command is your friend. > > > > I should have said usb drive I was thinking using dev some how > No problem, I use this for pendrives: Dim item, dev, name As String For Each item In Dir("/dev/disk/by-id", "us

Re: [Gambas-user] Usb

2013-07-30 Thread Kende Krisztián
> >> is it possible to list all the usb devices on a system? > >> > > Yeah, the lsusb command is your friend. > > > > I should have said usb drive I was thinking using dev some how > No problem, I use this: Dim item, dev, name As String For Each item In Dir("/dev/disk/by-id", "usb-*", gb.Link)

Re: [Gambas-user] Usb

2013-07-30 Thread Shane
On 30/07/13 19:13, Kende Krisztián wrote: >> is it possible to list all the usb devices on a system? >> > Yeah, the lsusb command is your friend. > > -- > Get your SQL database under version control now! > Version control i

Re: [Gambas-user] Usb

2013-07-30 Thread Kende Krisztián
> is it possible to list all the usb devices on a system? > Yeah, the lsusb command is your friend. -- Get your SQL database under version control now! Version control is standard for application code, but databases have

[Gambas-user] Usb

2013-07-30 Thread Shane
is it possible to list all the usb devices on a system? -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to