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

by Boboc Ionut @, (5983 days ago)

How can i put a picture into vcard ?
Thank you

locked

Re: How can i put a picture into vcard [delphi]

by wodDamir @, (5983 days ago) @ Boboc Ionut

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

locked

Re: How can i put a picture into vcard [delphi]

by Boboc Ionut @, (5982 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!

locked