![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]() Hi All, 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 ThreadStart(ShowForm)); t.SetApartmentState(ApartmentState.STA); t.Start(); public void ShowForm() { form.ShowDialog(); form.Dispose(); } Drag problem solved using thread but it give other problem in my application as follows a) When I right click on context menu then form disappear. b) Some time application hangs... Can I solve this problem without using thread? Because handling thread will almost change my design. Regards, Nit -- http://forums.slipstick.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Drag & Drop Email Message to Appt Doesn't Drop Attachment | veejaycee | Outlook - Calandaring | 2 | October 9th 08 01:49 PM |
Drag on Drop from email message to custom form - no attachment | Matt | Outlook - Using Forms | 1 | March 18th 08 04:39 PM |
Outlook Drag Drop | [email protected] | Add-ins for Outlook | 0 | March 27th 07 07:37 AM |
Impossible Drag 'n Drop from Outlook Express | Puppybarf | Outlook Express | 18 | August 8th 06 08:30 AM |
How do I drag and drop a name from Word to Outlook? | sleepyhollowkaren | Outlook - Using Contacts | 0 | February 27th 06 06:02 PM |