[RESOLVED] How to activate click event in child process from parent process?
I am spawning an EXE from my VB (hidden and I am recovering the dos window output) but the EXE generates a process window requiring the user to click the OK button. Since this window is also hidden the user will never see it, thereby hanging up the child process. I have been able to determine the handles and processor ids down to the button. What I need is what API function will allow me to execute the click event (for the OK button) in the child process.
Re: How to activate click event in child process from parent process?
I think you can use the SendMessage API function to send a click to the button
http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx
Re: How to activate click event in child process from parent process?
Thanks, your response allowed me to further scan the forum and I found http://www.vbforums.com/showthread.php?t=345259 which looks like it will provide the function I was looking for.