Hello,
I'd like to program an addin that will display a little window (winform) with few controls (buttons and text edits). Is it possible What is the simpliest solution to make this
I'm using C# with visual2005.
Thank you.
R.P.
Hello,
I'd like to program an addin that will display a little window (winform) with few controls (buttons and text edits). Is it possible What is the simpliest solution to make this
I'm using C# with visual2005.
Thank you.
R.P.
WLM Addin: error 8013150a when i load my addin
JohnBurton
neogortex
BenK95781
Hello,
thanks a lot for you example. It works fine.
But when i try to add an activeX into the window (form1), in receive this error: 8013150a. Why What is the problem with activeX
Thanks once again for your help.
R.P.
Rodolfo Montero
=== Edited by David_ES @ 12 Oct 2006 11:15 AM UTC===
public class ClassLibrary1 : IMessengerAddIn
{
private MessengerClient messenger;
private Button aButton, aButton1;
private ListBox list;
private TextBox texto, texto1;
public Microsoft.Messenger.MessengerClient messenger2 = new Microsoft.Messenger.MessengerClient();
public void Initialize(MessengerClient messenger)
{
this.messenger = messenger;
messenger.AddInProperties.Creator = "David";
messenger.AddInProperties.Description = "Prueba";
messenger.IncomingTextMessage += new EventHandler<IncomingTextMessageEventArgs>(this.OnIncomingMSG);
messenger.ShowOptionsDialog += new EventHandler(messenger_ShowOptionsDialog);
messenger.OutgoingTextMessage += new EventHandler<OutgoingTextMessageEventArgs>(messenger_OutgoingTextMessage);
}
public void messenger_ShowOptionsDialog(object sender, EventArgs e)
{
Form form1 = new Form();
form1.Show();
form1.Text = "prueba";
texto1 = new TextBox();
texto1.Dock = DockStyle.Top;
texto1.Location = new Point(20, 70);
texto1.Size = new Size(100, 50);
aButton1 = new Button();
aButton1.Dock = DockStyle.Top;
aButton1.Location = new Point(50, 70);
aButton1.TabIndex = 0;
aButton1.Text = "Button";
aButton1.Click += new EventHandler(postear);
form1.Controls.AddRange(new Control[] { aButton1, texto1 });
}
void messenger_OutgoingTextMessage(object sender, OutgoingTextMessageEventArgs e)
{
string msg = e.TextMessage;
if (msg == "!menu") messenger_ShowOptionsDialog(sender, e);
}
}
Mnkylord
Well, i managed to make an addin with a few controls. But now, i'd like to put an activeX in my additional window. And i receive the error 8013150a (as said in title).
I first thought that this error was because of the additional window, but in fact, it's due to the ActiveX.
What is the issue about this I can't find any documentation.
Thank you.
R.P.