TReKiE / msnp-sharp

Automatically exported from code.google.com/p/msnp-sharp
0 stars 0 forks source link

Display picture won't work #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Can someone tell me how to send the display pictures to people?

Original issue reported on code.google.com by mcr....@googlemail.com on 22 Sep 2008 at 4:37

GoogleCodeExporter commented 9 years ago
Can you describe how to reproduce the problem?

Original comment by freezing...@gmail.com on 23 Sep 2008 at 10:31

GoogleCodeExporter commented 9 years ago
just try and set Messenger.Owner.DisplayImage and every client doesn't get the 
image. 
I don't understand

Original comment by mcr....@googlemail.com on 23 Sep 2008 at 4:05

GoogleCodeExporter commented 9 years ago
They will see it next time they login, or just close the message dialog then 
open it 
again

Original comment by freezing...@gmail.com on 24 Sep 2008 at 8:24

GoogleCodeExporter commented 9 years ago
right, i've fixed this, it needed work with MSNLP. But only the newer clients 
work 
with it (the proper one works)

Original comment by mcr....@googlemail.com on 24 Sep 2008 at 6:28

GoogleCodeExporter commented 9 years ago
You've fixed it? Greate, could you please share your code here?
You mean the latest example client had fixed it?
In fact, you can send a CHG command with a msn object after changing you 
picture.

Original comment by freezing...@gmail.com on 25 Sep 2008 at 1:37

GoogleCodeExporter commented 9 years ago
oh right - i should do that! i'll tell the code when it works in pidgin. 
unfortunaltly wlm9 beta only works!

Original comment by mcr....@googlemail.com on 25 Sep 2008 at 4:08

GoogleCodeExporter commented 9 years ago
How do I manually send a CHG command? I've tried setting the online status, 
nickname,
and personal message but nothing worked.
Any help would be appreciated.
Thanks.

Original comment by kuan...@gmail.com on 28 Oct 2008 at 8:40

GoogleCodeExporter commented 9 years ago
I tried the following code:

messenger.Owner.DisplayImage.Image = Image.FromFile(@"C:\Images\2.png");
displayImageBox.Image = messenger.Owner.DisplayImage.Image;

The image on client program did change, but image on my MSN contact list didn't 
change, can someone let me know how to fix this problem?

Original comment by frankle...@gmail.com on 3 Nov 2008 at 1:48

GoogleCodeExporter commented 9 years ago
FYI, I haven't tried it myself, but the current Example client uses the 
following 
method to change the display picture on the server (assuming you have roaming 
profile 
enabled, which you do by default I believe):

Messenger.Nameserver.StorageService.UpdateProfile(Image photo, string photoName)

Original comment by its....@gmail.com on 4 Nov 2008 at 12:15

GoogleCodeExporter commented 9 years ago
done

Original comment by freezing...@gmail.com on 4 Nov 2008 at 5:13

GoogleCodeExporter commented 9 years ago
I just checkouted the latest code from SVN.
Is there something that I missed? Because I still can't get the image to 
roam.
I've done the following in my code after connection is successful.
1. Set Owner.RoamLiveProperty to Enabled.
2. Set Owner.Status to Online.
3. Set Owner.DisplayImage
3. Called StorageService.UpdateProfile
Any ideas? Thanks.

Original comment by kuan...@gmail.com on 5 Nov 2008 at 3:09

GoogleCodeExporter commented 9 years ago
My bad. The above code works with the latest code from svn trunk.
After leaving the BOT online for over 30min, the display image was finally seen 
on
another MSN client.

Original comment by kuan...@gmail.com on 5 Nov 2008 at 8:26

GoogleCodeExporter commented 9 years ago

Original comment by hepha...@gmail.com on 23 Jan 2009 at 5:41

GoogleCodeExporter commented 9 years ago
I can't get this to work, I keep getting a "Dynamic item doesn't exist" error 
and 
the image stays blank on all MSN clients :-(

Original comment by nico.fra...@gmail.com on 13 Feb 2009 at 1:03

GoogleCodeExporter commented 9 years ago
the same problem with me.
i have tried to get it work both way, but nothing...

Mess.Owner.RoamLiveProperty = RoamLiveProperty.Enabled

                Mess.Nameserver.StorageService.UpdateProfile(Image.FromFile(Pic), 
"MyPhoto")

                Dim displayImage As DisplayImage = New DisplayImage()
                displayImage.Image = Image.FromFile(Pic)
                Mess.Owner.DisplayImage = displayImage

Original comment by tczol...@gmail.com on 16 Jul 2009 at 10:31

GoogleCodeExporter commented 9 years ago

Original comment by freezing...@gmail.com on 7 Aug 2009 at 4:03