Not able to capture screenshot using CaptureBitmap

Hi,

I am not able to capture screenshot of current mainframe object using  CaptureBitmap method.

The code I am giving is 

TeWindow("TeWin").TeScreen("TeScreen).TeField("Field1"). CaptureBitmap "c:\query.bmp.

I also tried giving it in a function end-function blocks, but no help.

Parents Reply Children