Don't worry I did now know you could just use the .NET send keys, it seems
to work fine now.
Mike
"Mike" <mike.trillwood@f#r#i#d#a#y-a#d.co.uk> wrote in message
news:(E-Mail Removed)...
>
> Hi,
>
> I am writing an application that needs to fire the print dialog off when
> it detects it to automate the application. At the moment I can pick up
> when the print dialog in on the screen but am unable to send the correct
> message to either send an ALT-P or default key press to the dialog box to
> fire it off.
>
> Does anyone here know how to do this from vb.net using (I guess) the
> sendkeys API, I have the hWnd of the dialog box if that helps?
>
> Thanks in advance
> Mike
>
>
|