stdole.IPictureDisp

G

Guest

Hi,
I have problem is with return stdole.IPictureDisp in this method if the
computer don't have vs.net installed.
I created a com add-in for outlook 2003 in vs.net 2003 c#.
if I calling
stdole.IPictureDisp Pic =
MatarotHost.ImageToIPicture(Image.FromStream(imgStreamPic));
And I don't have a vs.net installed in a computer:
I don't get errors, but I can't see the button add-in
The add-in not arrive to this part of the code
OnStartupComplete()
else - everything running OK!
Thanking you in anticipation
Yael
==================================
internal class MatarotHost : AxHost
{
public MatarotHost() :
base("02FD5840-C1A3-448E-8310-98611DF58281"){MessageBox.Show("base");}
public static stdole.IPictureDisp ImageToIPicture(Image image)
{ //only with vs.net installed display this msg!!!
MessageBox.Show("GetIPictureDispFromPicture");
return (stdole.IPictureDisp)AxHost.GetIPictureDispFromPicture(image);
}
}
 
G

Guest

Hi,
I have problem is with return stdole.IPictureDisp in this method if the
computer don't have vs.net installed.
I created a com add-in for outlook 2003 in vs.net 2003 c#.
if I calling
stdole.IPictureDisp Pic =
MatarotHost.ImageToIPicture(Image.FromStream(imgStreamPic));
And I don't have a vs.net installed in a computer:
I don't get errors, but I can't see the button add-in
The add-in not arrive to this part of the code
OnStartupComplete()
else - everything running OK!

Hi, please contact me for advises on this problem
my email is

adi39 @btinternet.com

p.s.
You have version problems. Some products can "break" other products,
for example, installing both standard and professional editions will result
in a faulty installation on both, but contact me, I need to know the fine
details to give specific help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top