I wrote a DLL in VB6 that launches (opens) an application. This external application opens a main form and then a login dialog box. After user logs in, the external application displays another form. I then SendKeys from the DLL.
What I need is to be able to pause all VB activity until the user logs in. Apparently the WaitForSingleObject call applies to the shelled app. only. I tried using it by passing the handle to the login process but it did not work.
I have read FAQs and all threads found on a "WAIT" keyword search.
Anyone have any suggestions?