Information générale
Catégorie:
Fonctions Windows API
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement