How to take screenshot of window programmatically(codeproject.com)
submitted by
crpietschmann(11.3k) 3 years, 11 months ago
This code snippet illustrates how to capture desktop or any window to bmp file with minimum coding programmatically. It also demonstrates a neat way to save device context (DC) to file. For one of my application, there was need to take screenshot of active window, I searched net but couldn’t find any simple and easy code to do same. There were few ones but were too easy to understand, hence thought of writing my own code and here is the outcome.
|category: VB.NET
|Views: 195
tags:
Win32 VB.NET another
Everyones tags:
Your Tags: