|
-
Oct 26th, 2002, 04:23 PM
#1
Thread Starter
Frenzied Member
Originally posted by BuggyProgrammer
i onlyknow of one way, and that's to save it first to disk then open it using loadpicture. maybe if anyone knows using dibs might be able to do it.
saving to file and opening:
x = INet1.Open(URL)
on error resume next
kill "C:\temp.bmp"
open "C:\temp.bmp" for binary as #1
put #1, , x
close #1
picture1.picture = loadpicture("C:\temp.bmp")
OK, i wanna keep the image for later use:
So, how do i split the filename off of the URL?
http://MyServer.com/MyDirectory/filename.gif
http://MyServer.com/MyDirectory/filename.jpg
http://MyServer.com/MyDirectory/filename.jpeg
ETC...
And If i do,
loadimage(Pathname)
Will it produce an error if the file doesnt exsist?, so i know i have to download the image, or?
Tnx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|