Sending key strokes to a process

  • Thread starter Thread starter paul
  • Start date Start date
P

paul

Hello,
I have a program which (vb .net) which creates an Access.Application
(thus starting an MSAccess.exe process.
What I want to do is to send a key stroke to the process.

Can anyone help?

Thanks
Paul
 
Hello,
I have a program which (vb .net) which creates an Access.Application
(thus starting an MSAccess.exe process.
What I want to do is to send a key stroke to the process.

Can anyone help?

I don't have time to post a more comprehensive response, but look into
the SendKeys class.
 
Why use SendKeys when you can download the PIA's & have more control?

Your msaccess.exe process is running, but is the shell of the application
visible, maximized, minimized..?

All you need is for one person to change focus & your application will
crash. At least with the PIA's you can create an invisible instance to start
with etc.

I hope this is something worth considering
 
Newbie said:
Why use SendKeys when you can download the PIA's & have more control? <sniP.
All you need is for one person to change focus & your application will
crash. At least with the PIA's you can create an invisible instance to start
with etc.
<snip>

This seems very cool, but forgive my ignorance: what is a "PIA"?

Primary Interop Assembly? Privacy Impact Assessment? Pakistan
International Airlines?

Regards,

Branco.
 
What exactly do you need to do with the process? Especially with MS
Access there is usually better/easier ways than using sendkeys, etc.

Thanks,

Seth Rowe
 
Back
Top