Click here to Skip to main content
15,889,116 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VB.net 2010 Send Keys To Dos Program Pin
rderkis25-Dec-15 14:01
rderkis25-Dec-15 14:01 
Questionusing streamwriter to access a SSL webservice Pin
jkirkerx23-Dec-15 10:39
professionaljkirkerx23-Dec-15 10:39 
AnswerRe: using streamwriter to access a webservice via SSL, just test to see if it exist under SSL[solved] Pin
jkirkerx24-Dec-15 10:17
professionaljkirkerx24-Dec-15 10:17 
QuestionStartTLS, using socket Pin
jkirkerx19-Dec-15 12:26
professionaljkirkerx19-Dec-15 12:26 
AnswerRe: StartTLS, using socket Pin
jkirkerx19-Dec-15 13:02
professionaljkirkerx19-Dec-15 13:02 
QuestionRead from Barcode readers Pin
satc19-Dec-15 5:40
satc19-Dec-15 5:40 
AnswerRe: Read from Barcode readers Pin
Richard MacCutchan19-Dec-15 21:17
mveRichard MacCutchan19-Dec-15 21:17 
AnswerRe: Read from Barcode readers Pin
Sascha Lefèvre23-Dec-15 11:40
professionalSascha Lefèvre23-Dec-15 11:40 
If you have a barcode-scanner with an USB-connector, it will have keyboard-emulation. Meaning, it will send key-press-events to your application as if you entered something via keyboard. You can verify that by opening just any word-processing application and scanning a barcode. It should appear as if entered via keyboard.

So all you would have to do is to ensure that some text-input-control has the input-focus before attempting to scan something and then process it like any text-input.

Theoretically there are ways to directly read it from the barcode-scanner so that you don't have to have that text-input-control but that would be way more advanced. If you want to take a look at that anyway, I can serve you only with an article that does this with C#:
Using Raw Input from C# to handle multiple keyboards[^]

Edit: Some manufacturers also provide APIs for their barcode scanners which would provide a third way to do this. I haven't dabbled with any of those yet because it would mean to restrict the range of barcode scanners my application would be able to work with.
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

QuestionVb6 Installer Pin
Otekpo Emmanuel15-Dec-15 8:03
Otekpo Emmanuel15-Dec-15 8:03 
AnswerRe: Vb6 Installer Pin
Dave Kreskowiak15-Dec-15 9:53
mveDave Kreskowiak15-Dec-15 9:53 
AnswerRe: Vb6 Installer Pin
Rizwan Chattha27-Dec-15 1:26
Rizwan Chattha27-Dec-15 1:26 
QuestionComma, ')', or a valid expression continuation expected Pin
gauravsaraogi2115-Dec-15 3:41
gauravsaraogi2115-Dec-15 3:41 
AnswerRe: Comma, ')', or a valid expression continuation expected Pin
CHill6015-Dec-15 5:24
mveCHill6015-Dec-15 5:24 
Questionhow to display marker on digital map with mapwingis VB.NET Pin
joerwanto14-Dec-15 22:57
joerwanto14-Dec-15 22:57 
QuestionRe: how to display marker on digital map with mapwingis VB.NET Pin
CHill6015-Dec-15 5:14
mveCHill6015-Dec-15 5:14 
QuestionPrinting invoice in CRSTAL report 8.5 in DOT MATRIX Printer in roll Paper Pin
imagetvr12-Dec-15 20:59
imagetvr12-Dec-15 20:59 
AnswerRe: Printing invoice in CRSTAL report 8.5 in DOT MATRIX Printer in roll Paper Pin
Dave Kreskowiak13-Dec-15 5:17
mveDave Kreskowiak13-Dec-15 5:17 
QuestionPrinting invoice in Continuous stationery in usb dot matrix in VB6 Pin
imagetvr12-Dec-15 21:31
imagetvr12-Dec-15 21:31 
AnswerRe: Printing invoice in Continuous stationery in usb dot matrix in VB6 Pin
Dave Kreskowiak13-Dec-15 5:12
mveDave Kreskowiak13-Dec-15 5:12 
QuestionVB.NET DUPLICATE SCREEN SHARING PROBLEM Pin
Steve Roseik12-Dec-15 7:58
Steve Roseik12-Dec-15 7:58 
GeneralRe: VB.NET DUPLICATE SCREEN SHARING PROBLEM Pin
CHill6013-Dec-15 2:36
mveCHill6013-Dec-15 2:36 
GeneralRe: VB.NET DUPLICATE SCREEN SHARING PROBLEM Pin
Steve Roseik13-Dec-15 8:06
Steve Roseik13-Dec-15 8:06 
GeneralRe: VB.NET DUPLICATE SCREEN SHARING PROBLEM Pin
CHill6013-Dec-15 8:15
mveCHill6013-Dec-15 8:15 
GeneralRe: VB.NET DUPLICATE SCREEN SHARING PROBLEM Pin
Steve Roseik20-Dec-15 7:31
Steve Roseik20-Dec-15 7:31 
QuestionUsing Await Pin
jkirkerx10-Dec-15 14:02
professionaljkirkerx10-Dec-15 14:02 

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.