1. Another question
- Posted by Nick Johnson <arachnid at MAD.SCIENTIST.COM> Mar 11, 2000
- 431 views
------=_NextPart_000_000E_01BF8B39.547650A0 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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? Nick ------=_NextPart_000_000E_01BF8B39.547650A0 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Does anyone know how to = programmatically create a=20 file association from within euphoria for windows? Does anyone know how = to check=20 if a file association already exists from within euphoria?</FONT></DIV> <DIV> </DIV> ------=_NextPart_000_000E_01BF8B39.547650A0--
2. 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