Hook into Windows Folder Explorer file openings

speakers_86

Registered User.
Local time
Yesterday, 22:34
Joined
May 17, 2007
Messages
1,919
I'm trying to have a bit of code run any time that a video is opened. I don't really care how it happens, but I don't want the end user to have to make it happen. It should happen on it's own.

I thought about hooking into the keyboard, but I guess that's still over my head.

Then I thought of making a simple app that can act as the default video player, run the code, and then pass the path to VLC. I've made that, but Windows won't let me set it as the default player for file types. If I move the EXE into the Send To folder, and send a video to my EXE, it works fine.

Any suggestions to fix that, or maybe different methods to make this happen? The solution is attached. Created with VS 2010 using VB. Lots of test code that has been commented out. I'm not too familiar with with programming outside of Access.
 

Attachments

Users who are viewing this thread

Back
Top Bottom