Screen Capture

007bond
Anyone know any quick and concise (must be) code to capture the desktop as a picture and use it in VB6? Or do I have to go hunting as usual?

GameBoy
ew, i found a pube on my desk! :shock:

davidw
Can I be the first one to formally thank Ste for his inspired answer to 007 Bond's question.

Anonymous
Hi

There are several ways to do this, personally I'd use the Windows API 'bitblit' function & appropriate DC's to actually transfer the desktop to a picture control or image control. I use this basic approach with my self written slide presentation software where it offers a neat solution and is very quick too.

I found some very good code that does screen capture exactly this way - written by Randy Birch and generously allowing free use in other apps - but it is not permissable to post the code elsewhere on the web which of course posting it here would be doing.

e-mail me and I'll send you the code - I'm sure you could find other ways but this code definitely works nicely so why re-invent the wheel. ;-)

Al (MaDbRiT)

007bond
I'd love to email you, but what is your email address?

MaDbRiT
my e-mail address is in my profile...

Of course it helps if I sign in so that the profile is listed... :oops:

Al (MaDbRiT)

paul_one
Al... Randy Birch sounds so familiar..... What is he usually associated with?

Atari? Linux? ... Erm, I dunno what else I can think of...

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums