Synclock a section of code while waiting for ShowDialog to return
- by clawson
I'm having trouble working out how to lock my application out of a section of code while it waits for a response from an external program.
I've used Synclock on a section of code with the Me object in the expression. In this Synclock I call an overridden ShowDialog method of a dialog box, which has a timeout parameter, but does return the value…