Who hasn't used the venerable
in their programs countless times. But I am having a small problem with the "stop the whole world" nature of this function call. That is, I have database connections that need to be "kept alive" for the program to function properly -- and if the user leaves such a MessageBox on the screen for more than 10 seconds before clicking "OK", the connections start getting dropped.
How can I display an asynchronous MessageBox -- one that is in a different thread?
Thanks,
Matthew
VB.NET:
MessageBox.Show("Hello, " + Name, "Messagebox Title", MessageBoxButtons.OK)
in their programs countless times. But I am having a small problem with the "stop the whole world" nature of this function call. That is, I have database connections that need to be "kept alive" for the program to function properly -- and if the user leaves such a MessageBox on the screen for more than 10 seconds before clicking "OK", the connections start getting dropped.
How can I display an asynchronous MessageBox -- one that is in a different thread?
Thanks,
Matthew