Click here to Skip to main content
15,892,059 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionTreview prevent drag/drop according to destination node Pin
desanti24-Oct-16 9:38
desanti24-Oct-16 9:38 
AnswerRe: Treview prevent drag/drop according to destination node Pin
Michael_Davies24-Oct-16 10:02
Michael_Davies24-Oct-16 10:02 
Questionimage prosseing Pin
Member 1281214124-Oct-16 4:43
Member 1281214124-Oct-16 4:43 
AnswerRe: image prosseing Pin
Dave Kreskowiak24-Oct-16 5:34
mveDave Kreskowiak24-Oct-16 5:34 
QuestionI have no programming knowledge but Pin
Member 1280995223-Oct-16 0:15
Member 1280995223-Oct-16 0:15 
AnswerRe: I have no programming knowledge but Pin
Richard MacCutchan23-Oct-16 5:34
mveRichard MacCutchan23-Oct-16 5:34 
GeneralRe: I have no programming knowledge but Pin
Member 1280995223-Oct-16 9:30
Member 1280995223-Oct-16 9:30 
QuestionUsing a usb barcode reader Pin
desanti20-Oct-16 8:13
desanti20-Oct-16 8:13 
Hello !
Is there any way to use and manage an usb barcode reader in a vb.net program ?
What I want to do is :
-- Distinguish reading from barcode reader and typing from keyboard
-- Allow or deny displaying the barcode in a textbox after is read ( I mean when that textbox is focused and active at that moment )
--- Capture the barcode that is read even when no textbox is currently focused or active control at that moment ( I mean when a specific form is open , and a read from barcode reader was made , I should be able to capture the barcode in a variable )

Thank you !

Update
1) Actually , I've read somewhere on internet that to distinguish between reading from barcode reader and typing on keyboard is to keep track on keystrokes timing ,  for example if a stream of characters are read in less than 100ms ( or another reasonable time) then this mean a barcode reader was made. But I don't know how can I do this ?

2) About the reading in background when no textbox is focused , I've found this article : https://msdn.microsoft.com/en-us/library/ms171538%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396 . Do you think that catching a barcode read at the form level , before reaching the control can help resolve this ?

modified 21-Oct-16 0:05am.

AnswerRe: Using a usb barcode reader Pin
Richard MacCutchan20-Oct-16 20:51
mveRichard MacCutchan20-Oct-16 20:51 
GeneralRe: Using a usb barcode reader Pin
desanti20-Oct-16 22:44
desanti20-Oct-16 22:44 
GeneralRe: Using a usb barcode reader Pin
Eddy Vluggen21-Oct-16 0:01
professionalEddy Vluggen21-Oct-16 0:01 
GeneralRe: Using a usb barcode reader Pin
Richard MacCutchan21-Oct-16 0:28
mveRichard MacCutchan21-Oct-16 0:28 
GeneralRe: Using a usb barcode reader Pin
desanti21-Oct-16 1:16
desanti21-Oct-16 1:16 
GeneralRe: Using a usb barcode reader Pin
Richard MacCutchan21-Oct-16 2:57
mveRichard MacCutchan21-Oct-16 2:57 
GeneralRe: Using a usb barcode reader Pin
desanti21-Oct-16 7:12
desanti21-Oct-16 7:12 
GeneralRe: Using a usb barcode reader Pin
Eddy Vluggen21-Oct-16 7:16
professionalEddy Vluggen21-Oct-16 7:16 
GeneralRe: Using a usb barcode reader Pin
desanti21-Oct-16 7:31
desanti21-Oct-16 7:31 
GeneralRe: Using a usb barcode reader Pin
Eddy Vluggen21-Oct-16 11:03
professionalEddy Vluggen21-Oct-16 11:03 
GeneralRe: Using a usb barcode reader Pin
Richard MacCutchan21-Oct-16 7:30
mveRichard MacCutchan21-Oct-16 7:30 
GeneralRe: Using a usb barcode reader Pin
desanti21-Oct-16 7:39
desanti21-Oct-16 7:39 
GeneralRe: Using a usb barcode reader Pin
Richard MacCutchan21-Oct-16 7:41
mveRichard MacCutchan21-Oct-16 7:41 
GeneralRe: Using a usb barcode reader Pin
desanti21-Oct-16 7:44
desanti21-Oct-16 7:44 
GeneralRe: Using a usb barcode reader Pin
Richard MacCutchan21-Oct-16 22:03
mveRichard MacCutchan21-Oct-16 22:03 
GeneralRe: Using a usb barcode reader Pin
Dave Kreskowiak21-Oct-16 4:11
mveDave Kreskowiak21-Oct-16 4:11 
AnswerRe: Using a usb barcode reader Pin
Dave Kreskowiak21-Oct-16 4:13
mveDave Kreskowiak21-Oct-16 4:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.