What I'm missing in vs.net 2003?

Y

Yael

Hi,
I created a com add-in to outlook 2003,
in my work computer It's running good
in my home computer it's run but I don't get file.bmp, form, system.windows.
form, and action button..

I have this:
'DefaultDomain': Loaded
'c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols
loaded.
'DefaultDomain': Loaded 'd:\programs\microsoft visual studio .net
2003\common7\ide\microsoft.visualstudio.dll', No symbols loaded.
'DefaultDomain': Loaded
'c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll', No
symbols loaded.
'DefaultDomain': Loaded
'c:\windows\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll', No symbols loaded.
'DefaultDomain': Loaded
'c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll', No symbols loaded.
'DefaultDomain': Loaded 'd:\programs\microsoft visual studio .net
2003\common7\ide\microsoft.visualstudio.designer.interfaces.dll', No symbols
loaded.
The program '[2664] devenv.exe: DefaultDomain' has exited with code 0 (0x0).

Thank's,
Yael
 
Y

Yael

Sorry, My problem is that I don't see my icon bmp in a butoon add-in :

this.toolbarBtn2.Style = MsoButtonStyle.msoButtonIconAndCaption;
// set pic to this button2
string ns = this.GetType().Namespace;
Assembly CurrentAssembly = this.GetType().Assembly;
System.IO.Stream imgStreamPic =
CurrentAssembly.GetManifestResourceStream(ns+"." + "matarotqm.bmp");
stdole.IPictureDisp Pic =
MatarotHost.IPictureDisp(Image.FromStream(imgStreamPic));
this.toolbarBtn2.Picture = Pic;

using System;
using System.Drawing;
using System.Windows.Forms;
using stdole;

namespace MatarotToolbar
{
/// <summary>
/// Summary description for MatarotHost.
/// </summary>
public class MatarotHost : AxHost
{
public MatarotHost() : base( "3E9806D0-18A4-47EA-98A0-69C71BEC2AD9"){ }
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