Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Way to save images on clipboard to file and vis-versa
Message
De
09/11/2001 11:27:25
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00578601
Message ID:
00579694
Vues:
27
Alexander,

Thanks for taking the time to respond. Your idea makes sense and is probably the most efficient way to accomplish what we want to implement. Unfortunately, the specific project we're working on has constraints on how big our application's setup is and this means we can't ship the VB runtime files.

If you come across any VFP specific solutions I would enjoy hearing about them.

Thanks again for your help!
Malcolm

>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.
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform