Click here to Skip to main content
15,887,175 members
Home / Discussions / C#
   

C#

 
QuestionDataset and Data adapter Pin
C#Coudou15-Aug-07 15:01
C#Coudou15-Aug-07 15:01 
AnswerRe: Dataset and Data adapter Pin
Christian Graus15-Aug-07 15:13
protectorChristian Graus15-Aug-07 15:13 
AnswerRe: Dataset and Data adapter Pin
Nouman Bhatti15-Aug-07 20:13
Nouman Bhatti15-Aug-07 20:13 
GeneralClickety Pin
Martin#15-Aug-07 20:21
Martin#15-Aug-07 20:21 
QuestionQuestion: Key hooking Pin
udikantz15-Aug-07 11:57
udikantz15-Aug-07 11:57 
AnswerRe: Question: Key hooking Pin
Richard Andrew x6415-Aug-07 12:03
professionalRichard Andrew x6415-Aug-07 12:03 
AnswerRe: Question: Key hooking Pin
Luc Pattyn15-Aug-07 12:12
sitebuilderLuc Pattyn15-Aug-07 12:12 
AnswerRe: Question: Key hooking Pin
Michael Sync15-Aug-07 14:14
Michael Sync15-Aug-07 14:14 
udikantz wrote:
is it possible to make a key hooking method , that hook up which keys the
user is pressing while your program is running in the background?
i know its possible in c/c++....but no clue in c#


Which Hook are you talking about?

There are a lot of different hook types. (Ref: Window Hooks[^])

* WH_CALLWNDPROC and WH_CALLWNDPROCRET Hooks
* WH_CBT Hook
* WH_DEBUG Hook
* WH_FOREGROUNDIDLE Hook
* WH_GETMESSAGE Hook
* WH_JOURNALPLAYBACK Hook
* WH_JOURNALRECORD Hook
* WH_KEYBOARD_LL Hook
* WH_KEYBOARD Hook
* WH_MOUSE_LL Hook
* WH_MOUSE Hook
* WH_MSGFILTER and WH_SYSMSGFILTER Hooks
* WH_SHELL Hook

When I was working for test automation tool project, I used JournalRecord Hook and JournalPlayBack to record the users input as macro. You don't need to use C/C++ for that. All you need to do is that you need to find out how to use a few API in a particular language that you wanna use. I did one project in C# and another project in VB6.

Check-out this article for more details.
http://msdn.microsoft.com/msdnmag/issues/02/10/CuttingEdge/[^]

If you have some problems in using JournalRecord and JournalPlayback hooks, let me know.

Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)

If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. Smile | :)

Questionexecuting a .exe file on remote computer Pin
waqas_2k15-Aug-07 11:32
waqas_2k15-Aug-07 11:32 
AnswerRe: executing a .exe file on remote computer Pin
Harkamal Singh16-Aug-07 1:59
Harkamal Singh16-Aug-07 1:59 
QuestionGet Win32 file version? Pin
flipdoubt15-Aug-07 10:38
flipdoubt15-Aug-07 10:38 
AnswerRe: Get Win32 file version? Pin
Luc Pattyn15-Aug-07 10:58
sitebuilderLuc Pattyn15-Aug-07 10:58 
AnswerRe: Get Win32 file version? Pin
Pete O'Hanlon15-Aug-07 10:58
mvePete O'Hanlon15-Aug-07 10:58 
AnswerRe: Get Win32 file version? Pin
Scott Dorman15-Aug-07 13:46
professionalScott Dorman15-Aug-07 13:46 
GeneralRe: Get Win32 file version? Pin
flipdoubt15-Aug-07 12:38
flipdoubt15-Aug-07 12:38 
Questionhelp with a loop to compare datatables Pin
kboyette15-Aug-07 9:57
kboyette15-Aug-07 9:57 
AnswerRe: help with a loop to compare datatables Pin
Luc Pattyn15-Aug-07 10:21
sitebuilderLuc Pattyn15-Aug-07 10:21 
GeneralRe: help with a loop to compare datatables Pin
kboyette15-Aug-07 10:57
kboyette15-Aug-07 10:57 
GeneralRe: help with a loop to compare datatables Pin
Luc Pattyn15-Aug-07 11:48
sitebuilderLuc Pattyn15-Aug-07 11:48 
GeneralRe: help with a loop to compare datatables Pin
kboyette16-Aug-07 4:38
kboyette16-Aug-07 4:38 
GeneralRe: help with a loop to compare datatables Pin
Luc Pattyn16-Aug-07 4:55
sitebuilderLuc Pattyn16-Aug-07 4:55 
GeneralRe: help with a loop to compare datatables Pin
kboyette16-Aug-07 10:46
kboyette16-Aug-07 10:46 
AnswerRe: help with a loop to compare datatables Pin
pmarfleet15-Aug-07 10:26
pmarfleet15-Aug-07 10:26 
GeneralRe: help with a loop to compare datatables Pin
kboyette15-Aug-07 10:55
kboyette15-Aug-07 10:55 
AnswerRe: help with a loop to compare datatables [modified] Pin
Yosh_17-Aug-07 0:19
professionalYosh_17-Aug-07 0:19 

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.