Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bringing images into VFP
Message
From
21/02/2005 16:38:24
 
 
To
21/02/2005 16:04:09
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00989013
Message ID:
00989025
Views:
36
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
Previous
Reply
Map
View

Click here to load this message in the networking platform