I switched from Windows 7 to Windows 10 for VB.NET code maintenance just yesterday and found that SaveFromScreen was behaving strangely. Now I have found that the window which was 600 pixels in height is being shown to be 601 pixels and that messes up the logic of resizing and saving a picture from the screen.

Is there a good way to handle this? I have these things on some 15-20 forms.