Programmatically set Windows Live Messenger Display Picture
-
How can I programmatically set Windows Live Messenger (currently using 8.5.1302.1018) display picture. Possible solutions can be in C++, .NET or VB. Even just a hint could be useful.
-
Answer:
There is an open source project called http://code.google.com/p/msnp-sharp/ that you should look at. You can use this to connect to MSN and set your profile picture. Here's an example of setting the image: try { Image fileImage = Image.FromFile(ConfigurationSettings.AppSettings["ImageFileName"]); DisplayImage displayImage = new DisplayImage(); displayImage.Image = fileImage; m_Messenger.Owner.DisplayImage = displayImage; m_Messenger.Nameserver.StorageService.UpdateProfile(fileImage, "MyPhoto"); } catch { LogError(new StackTrace(true), "Error adding avatar image."); }
smink at Stack Overflow Visit the source
Other answers
The first resource to look at would be the MSN API: http://dev.live.com/messenger/ I think you will find the answer there.
Filip Ekberg
Related Q & A:
- Why won't my camera work on Windows live messenger?Best solution by answers.microsoft.com
- How can I change my language on my Windows live messenger?Best solution by Yahoo! Answers
- What is the newest version of windows live messenger?Best solution by Yahoo! Answers
- Windows Live Messenger Voice Clip Problem?Best solution by Yahoo! Answers
- How can you import contacts from Yahoo Messenger to Windows Live Messenger?Best solution by answers.yahoo.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.