Intercepting application BEFORE it runs VB6.
Posted on 2004-08-24
I have desperatly been researching ways to intercept starting applications with visual basic. So far the only method I can find is to intercept Window_create messages with a hook. This does not catch all processes attempting to run though. 1. Is there a way to intercept a .exe process Before they run? 2. Provide example code that intercepts notepad and prompts the user with a yes no to allow to run, no is selected it doesn't run yes it runs. I would really prefer that it not be written with a window create intercept due to the fact that this does not catch all attempting to run processes. I will accept a WORKING example of a window creation message intercept though. Thanks!