[Question] Attaching a VB.NET program to another program.
Hey guys.
I figure it's possible but I'm not 100% sure.
What I want to do is create a program in vb.net that you can select another programs .exe and whenever that program opens up, it automatically starts my program as well.
i.e Say I want to attach it to..notepad.
Basically, whenever the user opens notepad, my program will start running.
I don't want to have to make it run constantly in the background and then do a
"CheckProcess" to bring it to the front, although I can do that.
I was thinking about it and I actually think I will go with the "CheckProcess" option because there's no way I can make it easily distributable to people if they have to perform some complex task of somehoe\w attaching it manually to their .exe...unless there is some way I could make my program do that on the first runtime (when they configure the settings)...
Thoughts?