Re: How can i put a picture into vcard [delphi] - WeOnlyDo Discussion board

Re: How can i put a picture into vcard [delphi] (General questions)

by Boboc Ionut, Tuesday, December 16, 2008, 08:07 (5820 days ago) @ wodDamir

Hi,

You can try something like this:

Use an Image control, and load a Picture in it. Then use something like this to load picture into Photo property:

[code]var
pic1 : IPictureDisp;
begin
GetOLEPicture(Image1.Picture, pic1);
wodXMPP1.VCard.Photo := pic1;
end;[/code]

Hope this helps.

Regards,
Damba

It really helped , Thank you!


Complete thread: