Which version of VB? .NET does clipboard stuff in a different way from VB6 and before.
If you just want a screenshot of the window though you could use sendkeys to send ALT+PrtScr to the active window which will put it into the clipboard in bmp format. You could quickly switch to the window before sending the key sequence and back again afterwards. This may cause a slight screen flicker though.. I guess you'd have to try it and see if it was noticeable.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.