Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to save the screen from clipboard copy image.
Message
From
17/09/2002 02:28:52
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Title:
How to save the screen from clipboard copy image.
Miscellaneous
Thread ID:
00701106
Message ID:
00701106
Views:
61
Long Time ago, I get a code here about Capture Screen into clipboard.
PROCEDURE CAPTURE
LPARAMETERS lActiveWin
DECLARE keybd_event IN Win32API ;
  SHORT bVk, SHORT bScan, INTEGER dwFlags, INTEGER deExtraInfo
lnsnapshot = 44
RETURN keybd_event(lnsnapshot,IIF(lActiveWin,0,1),0,0)
ENDPROC

CAPTURE()  && current screen will be capture into clipboard image
Previously, thanks cetin this API and I made user manual by this.

Now, for remote control another PC, I need more function to save the image
file, how to do?!

SAVEPICTURE() doesn't work.. :(
e.g. SAVEPICTURE(_SCREEN, [c:\abc.bmp])

Of cos, best save will be GIF or JPG.

Thanks
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Next
Reply
Map
View

Click here to load this message in the networking platform