Add-in runing only on computer having a VS.NET

Y

Yael

Add-in runing only on computer having a VS.NET
If the Visual Studio is not installed I don't get my com add-in because of
public class MatarotHost : AxHost
Why?
Or if I don't add this class, It's running good.
Thank's,
Yael.

public class MatarotHost : AxHost
{
public MatarotHost() : base( "02FD5840-C1A3-448E-8310-98611DF58281"){ }
public static stdole.IPictureDisp IPictureDisp(System.Drawing.Image Image)
{
return ((stdole.IPictureDisp)(AxHost.GetIPictureDispFromPicture(Image)));
}
 

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