Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Way to save images on clipboard to file and vis-versa
Message
 
À
07/11/2001 13:00:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00578601
Message ID:
00578970
Vues:
30
This message has been marked as a message which has helped to the initial question of the thread.
Hi,
What about creating a COM library in Visual Basic for this task? It could be done easily using VB Clipboard object, Image control and LoadPicture()/SavePicture() functions. Something similar to VB Printer in UT downloads.
In VFP it probably could be done for WMF/EMF, BMP and ICO file formats, but it not an easy task. Clipboard content of image data is not always equal to content of image files and you'll need to convert it in code.

>Anyone have suggestions on how we might be able to detect the presence of image data on the Windows clipboard and save this image data to a file? We would also like a way to load the contents of an image file to the clipboard where the image could be pasted into other applications. There are probably issues about image formats (ico, bmp, gif, jpg) that I should be worried about. Any thoughts on this 'worry' would be appreciated as well.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform