Creating a snapshot (bmp) image from any rectangular area of the screen demo

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 10:35
Joined
May 7, 2009
Messages
20,187
The idea came from this thread:

the form frmCapture on the database is Opaque at the moment, maybe on a new version I will
make the Detail section to be Transparent, so you will see (see through) what you are capturing.

Move the frmCapture to anywhere you want to capture (you may resize the form if you like) to
cover more area to capture.
 

Attachments

this is a second version (using frmCapture2).
the form is transparent and will capture whatever is under
red rectangle.
the width of the form cannot be shrink more from the original size.
while the height can be up to 1 inch (1440 twips)
 

Attachments

this is the latest version 3 (frmCapture3).
the code still not documented.
this one has "resizing handle" on each corner.
the minimum width of the form can be resized to 1-1/2 inch,
while the height is 1 inch.
much better than the previous.
 

Attachments

Keep them coming Arnel. :)
Can even use outside the Access window. (y)
1744444345209.png
 
I cannot see how you can really improve on the latest frmCapture3.. This works really well.
 
making the frmCapture accessible to desktop and other apps.
when you open the form, frmCapture, it will make Access App invisible.
therefore you can use the capturing form anywhere on your desktop or any other applications.
I intentionally did not "hide" Access app since doing this on my test, my frmCapture loses focus and
goes hidden also, while dragging or resizing it.
and to my understanding also, the Form's parent window is Access apps.

you may try to run the form on Autoexec macro or make it as the Startup form.

closing the form also closes Access window.


experiment and see.
 

Attachments

Users who are viewing this thread

Back
Top Bottom