I was wondering if it is possible to have the backgound image for a Dialog Box pulled from an ftp site or http site without downloading and saving it to the local PC.
Don't you all laugh, but I had a brainstorm. Image distributing a utility for free that is useful and it randomly pulls advertisements from a remote server. It would be the same way banner Ads work only you get a useful utility written with Macro Scheduler.
Any pointers? Is it possible?
Adding Image to Dialog from Internet
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
It is impossible to get something from the web without downloading it first! Even web browsers download images to a temporary location on the drive before displaying them.
But you can make the entire process transparent, yes. Use HTTPRequest to get the image to a temporary file and then set the image object on the dialog to that file. On terminate delete the temporary file(s). Pretty simple.
But you can make the entire process transparent, yes. Use HTTPRequest to get the image to a temporary file and then set the image object on the dialog to that file. On terminate delete the temporary file(s). Pretty simple.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Getting Picture from Web
Thanks, I can handle doing it now - just needed some direction as always.