|
-
Screen print though code
hi dan,
I have been reading all your books and I liked developing COM components
with VB6 AND api BOOK.
Well , I'm having a problem where I want to print the screen on to printer
just like Automating Print Screen keyboard button.
I intend to print the outlook form using a Vb6 dll call.
Can u please tell me any API which can do the stuff or peraphs the code itself
(HINT)
NEED THE RESPONSE FAST AS DEADLINES ARE ON MY NECK
Awaiting response
-
Re: Screen print though code
Look at the simkeys.vbp example in chapter 6 of my API book.
That gets you the screen image into the clipboard.
Another approach is to use GetDesktopWindow to get a handle to the desktop, then
use BitBlt to get the bitmap.
See the PicPrint example for code that prints bitmaps.
Best of luck.
Dan
Abhinav Mathur wrote:
> hi dan,
> I have been reading all your books and I liked developing COM components
> with VB6 AND api BOOK.
> Well , I'm having a problem where I want to print the screen on to printer
> just like Automating Print Screen keyboard button.
> I intend to print the outlook form using a Vb6 dll call.
> Can u please tell me any API which can do the stuff or peraphs the code itself
> (HINT)
> NEED THE RESPONSE FAST AS DEADLINES ARE ON MY NECK
> Awaiting response
-
Re: Screen print though code
Abhinav: In addition to the references Dan recommended, you may find the
following article helpful:
HOWTO: Capture and Print the Screen, a Form, or any Window
( http://support.microsoft.com/support.../q161/2/99.asp )
---
Phil Weber
Similar Threads
-
By Rob Teixeira in forum .NET
Replies: 5
Last Post: 11-27-2001, 06:12 PM
-
By Danny Bowman in forum .NET
Replies: 152
Last Post: 09-13-2001, 07:23 AM
-
By Steven Bell in forum .NET
Replies: 260
Last Post: 06-01-2001, 04:32 PM
-
By Robert G in forum .NET
Replies: 84
Last Post: 02-08-2001, 02:38 PM
-
By Darren in forum VB Classic
Replies: 0
Last Post: 07-24-2000, 06:26 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks