Shell, CreateProcess, and GetModule Usage q's.. 
Author Message
 Shell, CreateProcess, and GetModule Usage q's..

I've seen some messages in this group on how to reproduce the
Shell/GetModuleUsage loop we could use in VB3. I'm trying to accomplish
this task. I can't use method outlined in the KB, however, because my VB
app loses control at the point I call WaitForSingleObject. I need to remain
in control in some kind of doevents loop so that I can trap command-button
actions (like a cancel button.) I need to get a window handle somehow so I
can check the caption of the shelled app, but I don't see any link between
the process handle and the window handle.

Can someone please point me toward some surrounding process handle api
calls, or better yet -- show me how to accomplish what was so easy in VB3.


Mon, 22 Mar 1999 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Hiding a CreateProcess shelled app

2. Shell -VS- CreateProcess

3. Difference between VB CreateProcess / Shell & DOS session

4. CreateProcess (instead of Shell) has weird side effects

5. Using Shell or CreateProcess from a COM object

6. Shell vs CreateProcess

7. VB6, CreateProcess/Shell causes RT Error 5 when switching to Win2000 from Win 98

8. CreateProcess, Shell, PID ?????

9. Shell() or CreateProcess()?

10. Using CreateProcess instead of SHELL?

11. CreateProcess v. Shell

12. shell a file (as with shellExecute) AND wait for its return (as with CreateProcess)


Powered by phpBB® Forum Software