//flex table opened by JP

Click to See Complete Forum and Search --> : How can I create file associations for windows outside MFC


Deamon J
03-21-2003, 04:21 PM
Pls help, pls!

frnkzks
04-16-2003, 03:45 PM
I don't think any of us understood your question.

DocEvi1
04-16-2003, 05:32 PM
dangle a carrot in front of a horse, attach a large cable from it's tails to the base-unit and hope it works....

Oh, I didn't understand the question fully.

Stefan

chubtub
04-17-2003, 11:19 AM
You mean like have an extension (.htm) associate with a different program?

maximus02143
04-17-2003, 12:58 PM
outside of MMC or MSC ?

CoralMan
04-29-2003, 02:10 AM
I assume you mean by code. This all goes through the registry. For instance, [HKEY_CLASSES_ROOT\.txt] has as "Default" key the value "txtfile". Then in [HKEY_CLASSES_ROOT\txtfile\Shell\Open\Command] the "Default" key has the associated application (Notepad, or whatever). You need to reproduce this pattern, by making/changing these 2 registry entries. Your programming tool may provide you with functions to do that, or just use the Windows APIs (RegCreateKey, etc.)