![]() |
| ||
| Popup Outlook contact makes the WinForm stuck and frozen Hi all I would like to popup an Outlook contact via a Click button. The "Popup action" works fine~ However, after the outlook contact comes up, the WinForm(Form1) seem stuck and hold .... I can't move, minimize and maximize the WinForm ????? Any body know what is the problem in here ?? Thanks using System; |
| ||
| Re: Popup Outlook contact makes the WinForm stuck and frozen You need to run the contact launching code in a new thread, or consider using a background worker to start your FindContactEmailByName method. Here's a tutorial on the background worker: http://dotnetperls.com/Content/Backg...roduction.aspx Basically, when you show a new form like that, the "owner" form that launches the contact.Display(true) call blocks until the contact is closed, or control is returned to the calling form. |
| All times are GMT -4. The time now is 12:58 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC