M
Markchen
I make a simple test word addin dll with visual studio2005, and have it
installed.
But I found it can't run, in word->tool->Com Add Ins.. , I can see the addin
name displayed in the list but the checkbox before it not been checked. So I
checked it and closed the dialog but when I open it again the checkbox still
unchecked and my program still not run.
My code is very simple, just show a messagebox in "OnConnected" method as
below->
" public class Connect : Object, Extensibility.IDTExtensibility2
{
public Connect()
{
MessageBox.Show("hi");
}
.......
", the method seems not been called, I cost a long time but still no
solution on this. anybody who ever meet this problem and konw the reason can
help me? very appreciate! (excuse my pool english.
)
installed.
But I found it can't run, in word->tool->Com Add Ins.. , I can see the addin
name displayed in the list but the checkbox before it not been checked. So I
checked it and closed the dialog but when I open it again the checkbox still
unchecked and my program still not run.
My code is very simple, just show a messagebox in "OnConnected" method as
below->
" public class Connect : Object, Extensibility.IDTExtensibility2
{
public Connect()
{
MessageBox.Show("hi");
}
.......
", the method seems not been called, I cost a long time but still no
solution on this. anybody who ever meet this problem and konw the reason can
help me? very appreciate! (excuse my pool english.