PC Review


Reply
Thread Tools Rate Thread

Code to Print Screen ???

 
 
=?Utf-8?B?Qm9iIEJhcm5lcw==?=
Guest
Posts: n/a
 
      1st Jul 2005
I would like to get the same result as...

<Alt><PrintScreen> (An Access Form)
Paste into Word or Excel, & then Print.

I have code to Print the Form Object, but
it doesn't always work.

Can this be done?

TIA - Bob
 
Reply With Quote
 
 
 
 
Pringle9984
Guest
Posts: n/a
 
      2nd Jul 2005
It's been a long time since I've emulated key presses but try having
look at

http://msdn.microsoft.com/library/de...visualbasic.as

And just so you know the virtual key name for Alt is 'VK_MENU' an
print screen is 'VK_SNAPSHOT

 
Reply With Quote
 
=?Utf-8?B?Qm9iIEJhcm5lcw==?=
Guest
Posts: n/a
 
      3rd Jul 2005
Thank you. When I get this to work, after pressing
<Alt><PrintScreen>...I then Paste it into Excel &
Set the Print Area & then Print.

I'm not sure sending Keys from within Access will
do the Print.

Any other ideas??

TIA- Bob

"Pringle9984" wrote:

> It's been a long time since I've emulated key presses but try having a
> look at:
>
> http://msdn.microsoft.com/library/de...isualbasic.asp
>
> And just so you know the virtual key name for Alt is 'VK_MENU' and
> print screen is 'VK_SNAPSHOT'
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I print email screen, I tried hitting print screen and noth =?Utf-8?B?RGlhbmUgQnJvd24=?= Microsoft Outlook Discussion 3 19th Oct 2006 10:20 PM
Code changes from this code to print queries necessary to print out macro definitions Newbie Microsoft Access Macros 5 4th Sep 2006 02:42 PM
Print Screen Code =?Utf-8?B?cnlhbmRhbmllbHM=?= Microsoft VB .NET 0 23rd Jun 2006 02:16 PM
ACC2000 Alt-Print Screen VBA Code =?Utf-8?B?VG9ueV9WQkFDb2Rlcg==?= Microsoft Access Form Coding 0 7th Dec 2004 03:47 PM
cant move the PRINT screen down to access the PRINT button on bottom of print screen =?Utf-8?B?ZG9saQ==?= Windows XP Help 0 31st Mar 2004 12:41 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:18 AM.