By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,528 Members | 1,324 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,528 IT Pros & Developers. It's quick & easy.

sending event

P: n/a
How do I send a mouse or keyboard event(vb.net) without touch(using) either?

DT
Nov 21 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Dayne,

The result from a mouse of a keyboard event will be an action. (method)
Therefore why do you not just call that action.

Just my thought,

Cor
"Dayne" <d_**********@hotmail.com>
...
How do I send a mouse or keyboard event(vb.net) without touch(using)
either?

DT

Nov 21 '05 #2

P: n/a
Dayne,

The result from a mouse of a keyboard event will be an action. (method)
Therefore why do you not just call that action.

Just my thought,

Cor
"Dayne" <d_**********@hotmail.com>
...
How do I send a mouse or keyboard event(vb.net) without touch(using)
either?

DT

Nov 21 '05 #3

P: n/a
"Dayne" <d_**********@hotmail.com> schrieb:
How do I send a mouse or keyboard event(vb.net) without touch(using)
either?


Keyboard events: 'SendKeys.Send'.

Mouse events/keyboard events: P/invoke on 'mouse_event'/'keybd_event' or
'SendInput'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #4

P: n/a
"Dayne" <d_**********@hotmail.com> schrieb:
How do I send a mouse or keyboard event(vb.net) without touch(using)
either?


Keyboard events: 'SendKeys.Send'.

Mouse events/keyboard events: P/invoke on 'mouse_event'/'keybd_event' or
'SendInput'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #5

P: n/a
Could you expand a little on sending say, MouseDown event...what's the exact
syntax? Thanks for help.

"Herfried K. Wagner [MVP]" wrote:
"Dayne" <d_**********@hotmail.com> schrieb:
How do I send a mouse or keyboard event(vb.net) without touch(using)
either?


Keyboard events: 'SendKeys.Send'.

Mouse events/keyboard events: P/invoke on 'mouse_event'/'keybd_event' or
'SendInput'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #6

P: n/a
Could you expand a little on sending say, MouseDown event...what's the exact
syntax? Thanks for help.

"Herfried K. Wagner [MVP]" wrote:
"Dayne" <d_**********@hotmail.com> schrieb:
How do I send a mouse or keyboard event(vb.net) without touch(using)
either?


Keyboard events: 'SendKeys.Send'.

Mouse events/keyboard events: P/invoke on 'mouse_event'/'keybd_event' or
'SendInput'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.