I am working on a program that can read, write, and export files, these functions all work fine and are almost perfected. What I would like to do now is to be able to choose a file and tell it to "Open With" (In the Right-Click Context Menu on Windows XP) and have my application be able to handle the file given. I have no idea on where to start or where to look so I thought I'd ask here. Thanks.
You might take a look at this Windows KB article:
"How To Associate a File Extension with Your Application (Win32)" http://support.microsoft.com/kb/185453
It looks like it gives example code for how to do this in VBScript (?), but it looks like it goes through the Registry paths you need to look at.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With