Re: Another question

new topic     » goto parent     » topic index » view thread      » older message » newer message

Date sent:              Sat, 11 Mar 2000 09:08:13 +1300
From:                   Nick Johnson <arachnid at MAD.SCIENTIST.COM>
Subject:                Another question

> Does anyone know how to programmatically create a file association from within
> euphoria for windows? Does anyone know how to check if a file association already
> exists from within euphoria?

File associations are controlled by registry keys. There is a library at the
official site for
registry access. It links to this site ....
        http://www.brasil.terravista.pt/Jenipabu/2571

I have some information @
        http://rapideuphoria.com/euwin.zip
it can be applied to any file type.

HKEY_CLASSES_ROOT
        - .extension
                (Default) = "NameOfActionKey"
        - NameOfActionKey
                        (Default) = "File Type Name"
                - Shell
                                (Default) = "Default Menu Item"
                        - Open
                                        (Default) = "Menu Item Name"
                                - Command
(Default) =
                                                "DRIVE:\PATH\PROGRAM.EXE "%1" "
e.g.

HKEY_CLASSES_ROOT
        - .ex
                (Default) = "EuCodeFile"
        - EuCodeFile
                        (Default) = "Euphoria Code File"
                - Shell
                                (Default) = "Open"
                        - Open
                                        (Default) = "Edit Code"
                                - Command
(Default) =
                                                "C:\WINDOWS\NOTEPAD.EXE "%1" "


-------------------------
Sincerely,
Mathew Hounsell

mat.hounsell at excite.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu