Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows narrative obscures BMP file downloaded
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01640019
Message ID:
01640064
Views:
52
>How can I stop Windows narrative obscuring bmp file when downloaded?
>

Colin,
Sorry I cant use te by you used scrnprt.vcx in my Windows10 pc as well, errors about a 32dll which cant be loaded.

Maybe you try this routine:
*!* Created by Koen Piller 
*!* 26-8-2016 23:12:30 
*!* Purpose : to capture full  screen and paste it into mspaint to be saved by user in 
*!*           directory to his choice
*!*    https://support.microsoft.com/en-us/kb/153003

DECLARE INTEGER keybd_event IN Win32API ;
      INTEGER, INTEGER, INTEGER, INTEGER
   VK_SNAPSHOT = 44    && from the winuser.h
   VK_LMENU = 164
   KEYEVENTF_KEYUP = 2
   KEYEVENTF_EXTENDEDKEY = 1
DOEVENTS
keybd_event( VK_LMENU,    0, KEYEVENTF_EXTENDEDKEY, 0 )  && key down
keybd_event( VK_SNAPSHOT, 0, KEYEVENTF_EXTENDEDKEY, 0 )
keybd_event( VK_SNAPSHOT, 0, KEYEVENTF_EXTENDEDKEY + KEYEVENTF_KEYUP, 0 )
keybd_event( VK_LMENU,    0, KEYEVENTF_EXTENDEDKEY + KEYEVENTF_KEYUP, 0 )  
DOEVENTS
Run/n3 "mspaint"
Inkey(2)
oShell=Createobject("wscript.shell")
oShell.sendkeys("^{v}")
oShell=Null
Regards,
Koen
Previous
Reply
Map
View

Click here to load this message in the networking platform