What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Loading a external image

Loading a external image
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Loading a external image
quote:
Originally posted by Mattike
First you should download the file to a temporany location, which you can do with the new MsgPlus.DownloadFile function. Then, you can use PlusWnd.ImageElmt_SetImageFile to change the image displayed. Don't forget to delete your file afterwards! ;)
However when you are setting the Image from a location that is not in your Scripts folder you need to prefix the path with a \.

For instance if you saved your image to C:\Temp and it was called myimage.jpg the code would be:
code:
pPlusWnd.ImgElmt_SetImageFile('myimage', '\\C:\\Temp\\myimage.jpg');
03-01-2007 06:03 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Loading a external image - by Yorick on 03-01-2007 at 05:00 PM
RE: Loading a external image - by Matti on 03-01-2007 at 05:24 PM
RE: Loading a external image - by matty on 03-01-2007 at 06:03 PM
RE: Loading a external image - by Yorick on 03-02-2007 at 06:53 PM
RE: Loading a external image - by CookieRevised on 03-02-2007 at 07:01 PM
RE: Loading a external image - by Yorick on 03-02-2007 at 07:04 PM
RE: Loading a external image - by Matti on 03-02-2007 at 07:23 PM
RE: RE: Loading a external image - by CookieRevised on 03-02-2007 at 09:13 PM
RE: Loading a external image - by Yorick on 03-02-2007 at 07:32 PM
RE: RE: RE: Loading a external image - by Eljay on 03-02-2007 at 09:23 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On