473,321 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

sending event

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

DT
Nov 21 '05 #1
6 2489
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
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
"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
"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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Dayne | last post by:
How do I send a mouse or keyboard event(vb.net) without touch(using) either? DT
1
by: Perttu Pulkkinen | last post by:
I use hit two function to stop from sending the form. First one I use to move focus to the next desired field, second one to do nothing (when there is no desired field to go). Works in IE &...
3
by: Robert A. van Ginkel | last post by:
Hello Fellow Developer, I use the System.Net.Sockets to send/receive data (no tcpclient/tcplistener), I made a receivethread in my wrapper, the receivethread loops/sleeps while waiting for data...
4
by: John Sutor | last post by:
I currently have an event handler setup to handle keypress events. the handler only takes the same arguments as the keypress event (object sender, System.Windows.Forms.KeyPressEventArgs e). I...
7
by: Jay Douglas | last post by:
Hello all, I have a asp.net page that creates a pdf on the fly and sends the pdf down to the browser. When calling the page up in IE the Page_Load event is fried twice. This doesn't happen with...
7
by: Lau | last post by:
I need to send 1000 emails from an asp.net website. Normally I would use System.Web.Mail.MailMessage() to send thru an SMTP server. But the large amount of emails results in a timeout. My server...
4
by: Trollpower | last post by:
Greetings, im totally new to ASP.Net, so i hope you can help me out here. Ive got some ActiveX Controls, which work great with Windows Forms. Now i have to do some work with ASP.Net, where i...
6
by: Gary Kshepitzki | last post by:
Hello I am trying to send an event from a Python COM server to a VB (or VB.NET) COM client. I am a newbie both in VB and in python. Can anyone give me a simple (but complete) code example both of...
2
by: Kups | last post by:
Hi! I have a service and client that use WSE 2.0 and soap.tcp. Both are behind firewalls. Client connects to a public machine's tcp port which is redirected to service. If I send a request ...
6
by: rekaeps | last post by:
We are developing an ASP.NET 2.0 (C#) application, and I'm having troubles sending e-mail from the server when accessing the web site from a separate client computer. Also, in the same scenario,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.