• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Capture the screen area of one control in VB.NET

SoftwareEng

Senior member
Hi guys,

I need to capture the area on the form of one of my controls. For example, I have a grid or a button, and I need to capture its picture without faking the Alt+PrtScr keystroke. This needs to happen at runtime.

Any ideas? Thanks!
 
I have done this before, capturing a screenshot of an entire window, and finding the location of a control in that window. It looks like I actually called VBScript, and did window.CaptureBitmap [filename].
 
Back
Top