The code pretty much worked as it is in the code archives, except I set a graphics mode and added a While/Wend loop.
I grabbed the desktop with image = GetDesktop(1).
The code is very "hit and miss" though... there has to be a more reliable solution.
You could also try temporarily setting your desktop resolution to 800x600 - I know that on some systems you can get problems with images larger than the current graphics mode.
I grabbed the desktop with image = GetDesktop(1).
The code is very "hit and miss" though... there has to be a more reliable solution.
You could also try temporarily setting your desktop resolution to 800x600 - I know that on some systems you can get problems with images larger than the current graphics mode.