>Hi All, > >We know copies the screen to the clip board and then we can open the Paint program and paste. Is there a way to generate this bmp file programmatically? > >Thanks in advance >Vijay
Vijay, My PrintScreen class (file#94706 in the Win32API and Other API's section) will do what you want. You can capture the VFP Desktop (_SCREEN) or the active window to a BMP. It also has methods to print the desktop/forms.