Click here to Skip to main content
15,893,663 members
Home / Discussions / C#
   

C#

 
GeneralRe: VB replace function Pin
Aaron Eldreth6-Sep-04 10:57
Aaron Eldreth6-Sep-04 10:57 
GeneralRe: VB replace function Pin
Colin Angus Mackay6-Sep-04 23:29
Colin Angus Mackay6-Sep-04 23:29 
GeneralRe: VB replace function Pin
Aaron Eldreth7-Sep-04 5:13
Aaron Eldreth7-Sep-04 5:13 
GeneralRe: VB replace function Pin
Colin Angus Mackay7-Sep-04 5:20
Colin Angus Mackay7-Sep-04 5:20 
GeneralRe: VB replace function Pin
Aaron Eldreth7-Sep-04 5:48
Aaron Eldreth7-Sep-04 5:48 
GeneralLocking the keyboard on XP using .NET Pin
Innovathis6-Sep-04 5:13
Innovathis6-Sep-04 5:13 
GeneralRe: Locking the keyboard on XP using .NET Pin
Heath Stewart6-Sep-04 9:35
protectorHeath Stewart6-Sep-04 9:35 
GeneralFirst of all thanks for your reply! Pin
Innovathis6-Sep-04 20:46
Innovathis6-Sep-04 20:46 
Second, I did found a way to lock the keyboard and mouse on XP (and actually every platform) which is very much supported by microsoft.
Here is the link to the msdn help page:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/UserInput/KeyboardInput/KeyboardInputReference/KeyboardInputFunctions/BlockInput.asp[^]

(or you can just look for "BlockInput" function - BOOL BlockInput(BOOL fBlockIt); - this is the win32 version of the function, the win16 version is "lockInput").

Note that I am only using it as part of my company need to make some actions on the user computer without the user intervention, when using a 3rd party application which I have no other control of except using the SendKey function to the other application window. During this time I don't want the user to accidently do some damage. This is highly rare and we are trying to avoid this situation at all cost but ironicly, sometimes this is the best way to actually raise the service quality we give to the users (and yes, we display a progress bar and a message).

Thanks again,

Haim.
GeneralRetieve currenlty logged user details Pin
Manju.K.J6-Sep-04 4:43
Manju.K.J6-Sep-04 4:43 
GeneralRe: Retieve currenlty logged user details Pin
Heath Stewart6-Sep-04 9:31
protectorHeath Stewart6-Sep-04 9:31 
GeneralRe: Retieve currenlty logged user details Pin
Manju.K.J7-Sep-04 0:30
Manju.K.J7-Sep-04 0:30 
GeneralRe: Retieve currenlty logged user details Pin
Heath Stewart7-Sep-04 6:24
protectorHeath Stewart7-Sep-04 6:24 
GeneralRe: Retieve currenlty logged user details Pin
Manju.K.J13-Sep-04 1:27
Manju.K.J13-Sep-04 1:27 
QuestionTo Dock or not to Dock? Whether tis nobler to Anchor instead? Pin
Al Gardner6-Sep-04 3:28
Al Gardner6-Sep-04 3:28 
AnswerRe: To Dock or not to Dock? Whether tis nobler to Anchor instead? Pin
mav.northwind6-Sep-04 4:16
mav.northwind6-Sep-04 4:16 
AnswerRe: To Dock or not to Dock? Whether tis nobler to Anchor instead? Pin
Heath Stewart6-Sep-04 9:40
protectorHeath Stewart6-Sep-04 9:40 
GeneralAutoScroll Puzzle Pin
Paul Griffin6-Sep-04 3:08
Paul Griffin6-Sep-04 3:08 
GeneralRe: AutoScroll Puzzle Pin
Heath Stewart6-Sep-04 10:00
protectorHeath Stewart6-Sep-04 10:00 
GeneralRe: AutoScroll Puzzle Pin
Paul Griffin6-Sep-04 23:25
Paul Griffin6-Sep-04 23:25 
GeneralRe: AutoScroll Puzzle Pin
Heath Stewart7-Sep-04 6:27
protectorHeath Stewart7-Sep-04 6:27 
GeneralRe: AutoScroll Puzzle Pin
Paul Griffin7-Sep-04 6:38
Paul Griffin7-Sep-04 6:38 
GeneralRe: AutoScroll Puzzle Pin
Heath Stewart7-Sep-04 6:42
protectorHeath Stewart7-Sep-04 6:42 
GeneralRe: AutoScroll Puzzle Pin
Paul Griffin8-Sep-04 1:14
Paul Griffin8-Sep-04 1:14 
GeneralRe: AutoScroll Puzzle Pin
Paul Griffin7-Sep-04 6:46
Paul Griffin7-Sep-04 6:46 
Generalfind the shortest path between two mouse clicks Pin
caspernjk6-Sep-04 2:14
caspernjk6-Sep-04 2:14 

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.