N
nitwalke
Hi All,
I have created outlook addin for outlook 2003 in vsto-2008. When I hav
tried to allow property 'allowDrag' to textbox it gives runtim
exception "dragdrop registration did not succeed". I have searched o
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 m
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 threa
will almost change my design.
Regards,
Ni
I have created outlook addin for outlook 2003 in vsto-2008. When I hav
tried to allow property 'allowDrag' to textbox it gives runtim
exception "dragdrop registration did not succeed". I have searched o
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 m
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 threa
will almost change my design.
Regards,
Ni