April 11th, 2004, 08:05 AM
Here is my BitBLT declaration. I DOnt get any errors but when I run it I get a blank picture. I have it working for getting a screenshot
but the function I have just posted is supposed to get a...
April 10th, 2004, 09:44 PM
Anyone have a clue as to WHY this wont work....
On Error GoTo errExc
Dim hgt As Integer = endPt - startPt
Dim myImage As System.Drawing.Image = New...
April 10th, 2004, 01:18 PM
This is driving me crazy!!! I have two image objects and try to get an HDC handle to them. The first returns good but the second always returns 0. Can you only have 1 handle at a time, or what? I...
April 6th, 2004, 09:22 AM
Thanks Gizmo. Worked like a charm.
April 5th, 2004, 02:50 PM
In Your exit button, after closing all the forms call the keyword
End
This should exit your program.
April 5th, 2004, 02:26 PM
Thanks. I can get the desktop and I used your method of graphics.drawimage to resize (and it worked. Thanks) but I hear that stretchBlt is better quality. That is why I am trying to use it.
April 5th, 2004, 12:17 PM
Thanks for all your help guys but I need to use stretchBlt. I can use BitBlt and it works fine. I looked into stretchBlt and have some code in VB 6.0 but it no work with .Net.
April 5th, 2004, 09:51 AM
Gizmo. I thought that is what StretchBlt would do. I am new to the StretchBlt and BitBlt methods and am playing with them trying to learn them. Am I gonna have to use BitBlt first then StretchBlt to...
April 5th, 2004, 09:42 AM
Thanks for your quick Reply DSJ but it did not work. I changed all "AS Long" to "As Integer" and no dice.
April 5th, 2004, 07:24 AM
I am trying to use stretchBlt in VB.net and cannot get it to work. What I am doing is taking a screenshot of the desktop and trying to resize it to a different resolution size. Ex. 1024 X 768 to 800...