Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bringing images into VFP
Message
De
21/02/2005 16:38:24
 
 
À
21/02/2005 16:04:09
Allen Hanna
H. A. Hanna Associates
Indianola, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00989013
Message ID:
00989025
Vues:
35
Are you able to get a URL to these picture? If so, you can use this function
Function getfilefromurl
Lparameters lcRemoteFile,lcLocalFile
Local lnReturn
Declare Integer URLDownloadToFile In urlmon.Dll;
  INTEGER pCaller, String szURL, String szFileName,;
  INTEGER dwReserved, Integer lpfnCB
lnReturn = URLDownloadToFile (0, lcRemoteFile, lcLocalFile, 0, 0)
Return lnReturn=0
>To All,
>
>I'm doing a lot of work with images in VFP6. Many images come right off a web site (with permission). The current way I do this is to use MSIE's "save picture as" dialog and then put the image file name in a table field, then have a Picture control on a form point to that field. Lots of steps involved.
>
>To streamline this I've tried to right-click on a web image, select copy, and see if VFP's _cliptext has the bit image of the file, but it doesn't seem to. Yet, I can copy an image and paste it into a graphic editor like Paint Shop Pro and then save it from there. Is there any way to capture the image without using a graphics editor? Like a strtofile function from _cliptext? Or, do I have to get into OLE drag and drop?
>
>Thanks a bunch,
>Allen
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform