Re: Another question
- Posted by Mathew Hounsell <mfh03 at UOW.EDU.AU> Mar 11, 2000
- 421 views
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