PC Review


Reply
Thread Tools Rate Thread

Block keyboard input

 
 
Jef.Biesemans@eu.fishersci.com
Guest
Posts: n/a
 
      3rd Jan 2007
Hi,

I have a scanner which sends data to a input box. The scanner uses some
kind of keyboard simulation, so the scaned text is directly visible in
the box without editing it first. Now I'm looking for some kind of
keyboard blocking code so that it's impossible for the user to edit the
box, but that the text from the keyboard simulation of the scanner is
visible.

As far as I know it's not possible with keyevents to handle this,
because this also blocks the input from the scanner. Does someone have
an idea to solve this problem? Thanks in advance.

 
Reply With Quote
 
 
 
 
jiebke
Guest
Posts: n/a
 
      5th Jan 2007
Can someone please help me. It's frustrating not to find a solution to
such a small problem!

Thanks in advance!

 
Reply With Quote
 
John Bundy
Guest
Posts: n/a
 
      5th Jan 2007
More specific would help but is this what you want?

True if Microsoft Excel is in interactive mode; this property is usually
True. If you set the this property to False, Microsoft Excel will block all
input from the keyboard and mouse (except input to dialog boxes that are
displayed by your code). Blocking user input will prevent the user from
interfering with the macro as it moves or activates Microsoft Excel objects.
Read/write Boolean

--
--
-John
Please rate when your question is answered to help us and others know what
is helpful.

"jiebke" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Can someone please help me. It's frustrating not to find a solution to
> such a small problem!
>
> Thanks in advance!
>



 
Reply With Quote
 
John Bundy
Guest
Posts: n/a
 
      5th Jan 2007
Or perhaps
Application.DataEntryMode = True

--
--
-John
Please rate when your question is answered to help us and others know what
is helpful.

"John Bundy" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> More specific would help but is this what you want?
>
> True if Microsoft Excel is in interactive mode; this property is usually
> True. If you set the this property to False, Microsoft Excel will block
> all input from the keyboard and mouse (except input to dialog boxes that
> are displayed by your code). Blocking user input will prevent the user
> from interfering with the macro as it moves or activates Microsoft Excel
> objects. Read/write Boolean
>
> --
> --
> -John
> Please rate when your question is answered to help us and others know what
> is helpful.
>
> "jiebke" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Can someone please help me. It's frustrating not to find a solution to
>> such a small problem!
>>
>> Thanks in advance!
>>

>
>



 
Reply With Quote
 
jiebke
Guest
Posts: n/a
 
      5th Jan 2007
The user can't write the workbook. The workbook is only visible in the
background, on the foreground there is a userform where the user can
make some changes. All this changes can be made with the mouse, so the
mouse should work as usual. I let the scanner put the scaned code in a
textbox in the userform. Now I will that it is impossible for the user
to edit this textbox, but the scanner should still be able to put
values into it.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to block keyboard =?Utf-8?B?Q29ydmV0eQ==?= Windows XP General 0 21st Jul 2006 09:06 PM
[C#] To block the keyboard ? =?Utf-8?B?RnJlZGR5Ym95?= Microsoft Dot NET Compact Framework 2 4th Mar 2005 12:43 PM
Block mouse and keyboard input =?Utf-8?B?VHlsZXIgTGFpbmc=?= Microsoft Dot NET Compact Framework 11 13th Dec 2004 03:58 PM
Keyboard input locks up input in windows Robert Windows XP Hardware 0 16th Jun 2004 03:00 PM
Hyperterm - cannot input with keyboard, can input with paste Ken Felix Windows XP General 1 1st Oct 2003 04:49 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:13 AM.