about frame and screen shot of a frame

M

Monte0682

I have one frame in VBA and some objects in in (text boxes in my
case). I would like to copy the content of this frame into frame in
excell... How is this possible...

I tried using .picture but this only copies a picture from one frame
to the other not the entire content...

So, basiclly a screen shot of the frame is what I need.

Hope someone knows...

Thanks
 
N

NickHK

In order to get a screen shot of anything in Windows, I would assume the
object/control would need to expose a handle (hwnd).
As most standard control from the Forms2 library do not, this may prove a
problem.
The Form does, so maybe one of the methods listed under the "PrintScreen"
section here may help:
http://vbnet.mvps.org/code/screen/index.html

NickHK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top