Thanks to Neil Crosby.
When it starts, this propgram displays an icon in the System Tray. When you left-click on the icon or right-click on it and select "One Click Grab," the program grabs an image of the desktop and displays it. When you click and drag to select an area on the image, the program then uses Intel's JPEG library to save the image in a JPEG file on the desktop. See the code for details.
The zip file contains Microsoft's ITMalloc.tlb file. A reference to the ITMalloc.tlb must be made in the project file. (In VB6, it is under Project, References)
This program requires Intel's JPEG library, which you can
Install the library and copy ijl15.dll into the Windows\System directory.
Because this program lives in the System Tray, it doesn't take up much room so it doesn't obscure much of the desktop.