473,657 Members | 2,435 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VB-FORM : Disable a device(keyboard )

2 New Member
Whell here's the problem ...

i'm working on a barcode program in VB.NET 2005 form.
At one point the users will have to identify with 3 letter code
like this Homer Simpson will become HSI.
They all have a personal card with their ID in barcode.
and are NOT allowed to type these letters, only to scan it with barcode scanner, however they do need the keyboard to type in numbers(the amount of products they just finished fot that day)

so i can't block input cause i wouldn't be able to scan anymore.
so i might have been thinking can i disable/enable a specific keyboard
or any device.

Can it be done ? Or maybe other suggestions on the matter would mean so much thx

ps : Sorry for my poor english i'm from Belgium
Oct 31 '07 #1
0 1284

Sign in to post your reply or Sign up for a free account.

Similar topics

1
7337
by: Aftab Alam | last post by:
Hello All I want to change the keyboard layout dynaically, ie if a use focuses on my application the keyboard layout gets set to Arabic and if on any other application it should be english ?? How can I achieve this Regards Muhammad Aftab Alam
4
8939
by: Mat | last post by:
Does anyone know how to generate ,print and read barcode with VB.NET?
0
323
by: William Hughes | last post by:
Hi, After doing a bit of googling, it seems everyone refers to the article "Managing Low-Level Keyboard Hooks in VB .NET" Written by Paul Kimmel - http://www.developer.com/net/net/article.php/11087_2193301_1/ When I implement this in a VB.NET Windows Forms application in Visual Studio 2002, everything works fine - I can hook the keyboard, trap keys, etc. When I take the same module and place it in my VB.NET Windows Forms
3
6994
by: JGPa | last post by:
Has anyone else experienced this problem? I have a VB.NET client/server program where I put an '&' in the .Text property of a button to provide access key function. In development mode, the screen control displays the underline character under the appropriate .Text letter, however, once I create the .EXE, the screen no longer shows the underline character to indicate the proper hotkey even though, if you know which key to use, it works ok ...
1
4139
by: Draiko | last post by:
I have been working a program that uses a keyboard hook to trigger several different actions based on the key that is pressed. The code that I use (simplified and provided below) works perfectly in VB.Net 2003, but in VB.Net 2005 Pro, my keyboardhandle always equals 0, so the hook never gets set. Would anyone know why on the same computer, the same working code in 2003 would not work in 2005? Thanks in advance for any advice you might...
2
2144
by: Maury | last post by:
Do you know if somewhere exists the conversione of Vb.Net 'My' class (or better My.Computer.Network.Ping) in C Sharp? Thanks M.A.
7
1600
by: TC | last post by:
Hi, I have developed a font, which has ~30 new characters in the Unicode Private Area (starting from U+E000). Now, since these characters are not present in the standard keyboard, can you suggest me a way of inputting them ? In MS Word, I can enter the characters in my new font by 1) selecting my font, and 2) using a customised keyboard created using Microsoft Keyboard Layout creator.
0
1610
by: clayga | last post by:
Hi, Trying to help my sons do some VB programming. they've got hold of some books with simple program listings but they're all 1980's BASIC (ZX81 et al). The biggest problem I've found so far (we're assuming we would run VB in Command Line mode) is that the lines like: INPUT T1 don't work any more.
10
6110
by: Bishoy | last post by:
Hi, In VB.NET there is a keyword called "My" which has a lot of properties collected at it. Is there any equivalent to this "My" in C#? Thank you.
1
2179
Dököll
by: Dököll | last post by:
Greetings, Good buddies! I am for the first time, since I started learning VB, going to build an application I wanted to build for my first son, a language and activities program that will allow at one push of a button for colours to be added in squares, circles, and for audio responses to these to sound when for example, red circles, blue squares, or foods, etc are found in text added to multiline textbox. My second son can benefit from...
0
8310
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8826
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7330
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6166
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4155
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.