Hello,
I'm creating a WinForm that connects to a dataserver (for a legacy app), via a COM interop. The connection usually takes a few seconds.
The obvious is probably avoiding me here: I want the form to display first, then start the connection process, then enable the controls.
Tried to hook into Activated event, with appropriate checking to see if already connected. However, doing this just locks up the form.
I'll turn this into a status dialog form that goes away once the connection is made, once I understand how to run code after displaying a form.
Thanks,
Steve Gibson