Click here to Skip to main content
15,901,505 members
Home / Discussions / C#
   

C#

 
QuestionTCP Synchronous Encryption in C# .NET Pin
IHSSITEMAN12-Oct-05 6:04
IHSSITEMAN12-Oct-05 6:04 
AnswerRe: TCP Synchronous Encryption in C# .NET Pin
David Stone12-Oct-05 6:49
sitebuilderDavid Stone12-Oct-05 6:49 
GeneralRe: TCP Synchronous Encryption in C# .NET Pin
IHSSITEMAN12-Oct-05 7:51
IHSSITEMAN12-Oct-05 7:51 
QuestionRunning Word Macros from an external file using Automation Pin
Guinness4Strength12-Oct-05 5:23
Guinness4Strength12-Oct-05 5:23 
QuestionAdd a List to a Console Application Pin
kmg4312-Oct-05 5:01
kmg4312-Oct-05 5:01 
AnswerRe: Add a List to a Console Application Pin
Dave Kreskowiak12-Oct-05 5:12
mveDave Kreskowiak12-Oct-05 5:12 
QuestionHow to Scan Bar Code in C# Pin
| Muhammad Waqas Butt |12-Oct-05 4:22
professional| Muhammad Waqas Butt |12-Oct-05 4:22 
AnswerRe: How to Scan Bar Code in C# Pin
Dave Kreskowiak12-Oct-05 4:38
mveDave Kreskowiak12-Oct-05 4:38 
This is the 5th or 6th time I've seen this question this month.

Barcode scanners work either with a serial port or, more commonly, are connected to the keyboard port and act just like a second keyboard. Your application can't tell the difference between what is "typed" by the scanner and what is typed by the keyboard.

Normally, the focus is set to a control where the user then scans a barcode. The scanner "types" the information into this control, and so on...

Now, if you want to automatically set the focus so the user doesn't have to, you'll have to handle the keyboard events of the form. You'll have to program the barcode scanner (consult the scanner documentation on how to do this) to prepend and/or append a unique sequence of characters to every barcode it scans. You'll be looking for character combinations prepended and/or appended to the barcode key sequence in the form's keyboard handler events. When you see this combination, you'll have to change the focus to the appropriate control.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: How to Scan Bar Code in C# Pin
| Muhammad Waqas Butt |12-Oct-05 22:32
professional| Muhammad Waqas Butt |12-Oct-05 22:32 
GeneralRe: How to Scan Bar Code in C# Pin
Anonymous13-Oct-05 2:49
Anonymous13-Oct-05 2:49 
GeneralRe: How to Scan Bar Code in C# Pin
| Muhammad Waqas Butt |13-Oct-05 22:26
professional| Muhammad Waqas Butt |13-Oct-05 22:26 
Questiondatagrid dynamic data & formating Pin
12-Oct-05 4:17
suss12-Oct-05 4:17 
Questionhow to write / read image data to /from xml file Pin
Member 78161012-Oct-05 3:29
Member 78161012-Oct-05 3:29 
AnswerRe: how to write / read image data to /from xml file Pin
leppie12-Oct-05 4:19
leppie12-Oct-05 4:19 
QuestionLutz Roeder's .NET Reflector Pin
zaboboa12-Oct-05 1:58
zaboboa12-Oct-05 1:58 
AnswerRe: Lutz Roeder's .NET Reflector Pin
mav.northwind12-Oct-05 2:34
mav.northwind12-Oct-05 2:34 
GeneralRe: Lutz Roeder's .NET Reflector Pin
zaboboa12-Oct-05 3:10
zaboboa12-Oct-05 3:10 
GeneralRe: Lutz Roeder's .NET Reflector Pin
Dave Kreskowiak12-Oct-05 4:28
mveDave Kreskowiak12-Oct-05 4:28 
AnswerRe: Lutz Roeder's .NET Reflector Pin
leppie12-Oct-05 4:45
leppie12-Oct-05 4:45 
GeneralRe: Lutz Roeder's .NET Reflector Pin
zaboboa12-Oct-05 7:36
zaboboa12-Oct-05 7:36 
QuestionCan i check if a specific user has loged on? Pin
Anthony Mushrow12-Oct-05 1:48
professionalAnthony Mushrow12-Oct-05 1:48 
AnswerRe: Can i check if a specific user has loged on? Pin
David Stone12-Oct-05 6:53
sitebuilderDavid Stone12-Oct-05 6:53 
QuestionAtom table Pin
Sabry190512-Oct-05 1:38
Sabry190512-Oct-05 1:38 
AnswerRe: Atom table Pin
leppie12-Oct-05 4:28
leppie12-Oct-05 4:28 
GeneralRe: Atom table Pin
Andy Brummer12-Oct-05 12:06
sitebuilderAndy Brummer12-Oct-05 12:06 

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.