Here is code.
//form object is windows form
OutlookWindow32 inspectorIWin32Window = new OutlookWindow32((Object)_mailItem.GetInspector, true);
// above code makes inspector as modal.it solves my problem
//If user clicks on send button of...
It works for outlook2007.It also works for outlook2003 when mail format is 'Microsoft Office Word 2003 to Rich Text email Messages' but when we use mail format as 'Microsoft Office Word 2003 and edit e-mail messages.' it doesn't work.
I have developed addin in C#.
form is opened...
I have created an outlook addin and added toolbar on an inspector open event in inspector.
When user click on a button on toolbar, new modal form gets opened on top of inspector .
If user clicks on send button of inspector and closes the model form then send email event...
my problem has resolved.
I have created new instance of RDOsession and called LogOnPstStore - it has created new temporary profile and add add specified pstStore in it.This store is not visible in outlook.
Thanks for reply,
Hide it in Outlook.I have to create new folder in this store and add some mail into this folder, do some processing on the mail.So I have created new store.
Everything is working using new store but only this store can see by end user.
How can I hide new store...
I have programmatically created new pstStore. This pstStore is visible to end user. How can hide this pstStore. Addin is on Outlook 2003 in C#.
_pstStore = oSession.Stores.AddPSTStore(....,...,...);
Thanks for reply,
How can we use COM addin to replace the rule?Can I get some example? or more explanation.
I have created COM addin and used rule object and rule can seen in rule wizard.
I am developing outlook plug-in for outlook 2007. I have created programmatic- ally rule and it works fine.This rule can see in 'Rules and Alert' window.Can user hide this rule? or how can create hidden rule and set it's execution order first?
Thanks in advance.
I will give details about my project.
In ThisAddIn class..
private void NewButtonClick()
Form frm = new Form();
and in form class.
I have created textbox and set AllowDrop=True;
it gives following error...
Thanks Ken for replay.
I am not interested to use thread. I want to know, Can DragDrop registration will possible without using thread.I got following error while registering DragDrop event for text box.
"System.InvalidOperationException: DragDrop registration did not succeed. --->...
I have created outlook addin for outlook 2003 in vsto-2008. When I have tried to allow property 'allowDrag' to textbox it gives runtime exception "dragdrop registration did not succeed". I have searched on net, got suggestion to use threading.
Thread t = new Thread(new...