1. RE: Registry File
- Posted by bensler at mail.com Feb 24, 2002
- 403 views
Actually, I am specify using a registry file. The problem was that I was specifyng the icon for *.ex, but not for *.exw. Windows was assiging the icon for *.exw files, and giving it the wrong one. You turned my brain on when you said there could be different size icons in the file. Thank you. I had assumed that it was the same icon, but used differently with 16bit and 32bit programs. Chris Derek Parnell wrote: > Hi Chris, > I'm assuming that by "I try using the icon in exw.exe" you meant that > you went to the File > Associations dialog and selected the option to change the icon and then > selected exw.exe as the > source of the icon. Well I did the same on my Windows 2000 system and I > didn't see any differences > in the icon displayed using any of the Windows Explorer views (list, > small icons, and large icons) > > However, want you might be seeing is that some programs have embedded > both a 16x16 icon and a 32x32 > icon and Windows picks the best one for the current view. If the program > doesn't have both, it tries > to convert whatever is does have to the different size if it needs to. > > 25/02/2002 1:50:12 PM, bensler at mail.com wrote: > > > > >Can anyone explain this? > > > >Strangely, when I try using the icon in exw.exe for both *.ex and *.exw, > > > >the icons for both files are the same. But if I use it for only *.exw > >files, I get a different icon that looks more suitable. > > > >I don't think it's just my system, because I have tried on different > >computers, and it's the same effect. > > > >Because of this, I need to use euphoria.ico for *.ex files. > > > >Chris > > > > > --------- > Cheers, > Derek Parnell > >
2. RE: Registry File
- Posted by engale zack <engale2000 at hotmail.com> Feb 25, 2002
- 393 views
bensler at mail.com wrote: > Actually, I am specify using a registry file. > > The problem was that I was specifyng the icon for *.ex, but not for > *.exw. Windows was assiging the icon for *.exw files, and giving it the > wrong one. > > You turned my brain on when you said there could be different size icons > > in the file. Thank you. > I had assumed that it was the same icon, but used differently with 16bit > > and 32bit programs. > > Chris > > Derek Parnell wrote: > > Hi Chris, > > I'm assuming that by "I try using the icon in exw.exe" you meant that > > you went to the File > > Associations dialog and selected the option to change the icon and then > > selected exw.exe as the > > source of the icon. Well I did the same on my Windows 2000 system and I > > didn't see any differences > > in the icon displayed using any of the Windows Explorer views (list, > > small icons, and large icons) > > > > However, want you might be seeing is that some programs have embedded > > both a 16x16 icon and a 32x32 > > icon and Windows picks the best one for the current view. If the program > > > > doesn't have both, it tries > > to convert whatever is does have to the different size if it needs to. > > > > 25/02/2002 1:50:12 PM, bensler at mail.com wrote: > > > > > > > >Can anyone explain this? > > > > > >Strangely, when I try using the icon in exw.exe for both *.ex and *.exw, > > > > > > > > >the icons for both files are the same. But if I use it for only *.exw > > >files, I get a different icon that looks more suitable. > > > > > >I don't think it's just my system, because I have tried on different > > >computers, and it's the same effect. > > > > > >Because of this, I need to use euphoria.ico for *.ex files. > > > > > >Chris > > > > > > > > --------- > > Cheers, > > Derek Parnell > > > > And people wonder why I just stick with WIN98... That's one reason I don't fell like messing with all that up there. Lates Engale
3. RE: Registry File
- Posted by bensler at mail.com Feb 25, 2002
- 428 views
Using the registry seems to be fairly simple once you get the hang of it. Though I'm only doing basic stuff. I've never tried setting up mime or DDE registries. Here is my registry file for anyone interested. I'd like to get some feedback from someone who knows more about this stuff. If I've done it correctly or not. It does work, but I could very well be missing things, seeing as I learned through trial and error. For anyone who doesn't have EU file type associations set up, you can use these registry entries by putting them into a file named EU_Registry.reg and then double-clicking the file. This registry assumes the default paths for Windows and Euphoria, and uses ed.ex as the EU source editor. If you have euphoria or windows in a different directory than specified in the registry, you will need to modify it. You will probably also want to change the editor being used. The ..\ShellNew keys add EU file types to the 'New' context menu This registry adds all 4 types, if you don't want all or any of them, just delete those keys. If you have the registered version of Euphoria, you can easily add 'bind' and 'shroud' context menu items to *.ex and *.exw <EU_Registry.reg> REGEDIT4 [HKEY_CLASSES_ROOT\.EX] @="EX_file" [HKEY_CLASSES_ROOT\.EX\ShellNew] "NullFile"="" [HKEY_CLASSES_ROOT\EX_file] "EditFlags"=hex:00,00,00,00 @="EU DOS Source File" [HKEY_CLASSES_ROOT\EX_file\DefaultIcon] @="C:\\EUPHORIA\\BIN\\EUPHORIA.ICO,0" [HKEY_CLASSES_ROOT\EX_file\shell] @="Open" [HKEY_CLASSES_ROOT\EX_file\shell\Edit] "EditFlags"=hex:01,00,00,00 @="&Edit" [HKEY_CLASSES_ROOT\EX_file\shell\Edit\command] @="C:\\Euphoria\\Bin\\ex.exe ed.ex \"%1\"" [HKEY_CLASSES_ROOT\EX_file\shell\Open] "EditFlags"=hex:01,00,00,00 @="&Open" [HKEY_CLASSES_ROOT\EX_file\shell\Open\command] @="C:\\EUPHORIA\\BIN\\Ex.exe \"%1\"" [HKEY_CLASSES_ROOT\.EXW] @="EXW_file" [HKEY_CLASSES_ROOT\.EXW\ShellNew] "NullFile"="" [HKEY_CLASSES_ROOT\EXW_file] "EditFlags"=hex:00,00,00,00 @="EU WIN Source File" [HKEY_CLASSES_ROOT\EX_file\DefaultIcon] @="C:\\EUPHORIA\\BIN\\EXW.EXE,0" [HKEY_CLASSES_ROOT\EXW_file\shell] @="Open" [HKEY_CLASSES_ROOT\EXW_file\shell\Edit] "EditFlags"=hex:01,00,00,00 @="&Edit" [HKEY_CLASSES_ROOT\EXW_file\shell\Edit\command] @="C:\\Euphoria\\Bin\\exw.exe ed.ex \"%1\"" [HKEY_CLASSES_ROOT\EXW_file\shell\Open] "EditFlags"=hex:01,00,00,00 @="&Open" [HKEY_CLASSES_ROOT\EXW_file\shell\Open\command] @="C:\\EUPHORIA\\BIN\\Exw.exe \"%1\"" [HKEY_CLASSES_ROOT\.E] @="E_file" [HKEY_CLASSES_ROOT\.E\ShellNew] "NullFile"="" [HKEY_CLASSES_ROOT\E_file] "EditFlags"=hex:00,00,00,00 @="EU DOS Library File" [HKEY_CLASSES_ROOT\E_file\DefaultIcon] @="C:\\WINDOWS\\SYSTEM\\SHELL32.DLL,48" [HKEY_CLASSES_ROOT\E_file\shell] @="Open" [HKEY_CLASSES_ROOT\E_file\shell\Open] "EditFlags"=hex:01,00,00,00 @="&Edit" [HKEY_CLASSES_ROOT\E_file\shell\Open\command] @="C:\\Euphoria\\Bin\\ex.exe ed.ex \"%1\"" [HKEY_CLASSES_ROOT\.EW] @="EW_file" [HKEY_CLASSES_ROOT\.EW\ShellNew] "NullFile"="" [HKEY_CLASSES_ROOT\EW_file] "EditFlags"=hex:00,00,00,00 @="EU WIN Library File" [HKEY_CLASSES_ROOT\EW_file\DefaultIcon] @="C:\\WINDOWS\\SYSTEM\\SHELL32.DLL,22" [HKEY_CLASSES_ROOT\EW_file\shell] @="Open" [HKEY_CLASSES_ROOT\EW_file\shell\Open] "EditFlags"=hex:01,00,00,00 @="&Edit" [HKEY_CLASSES_ROOT\EW_file\shell\Open\command] @="C:\\Euphoria\\Bin\\ex.exe ed.ex \"%1\"" <EOF> Chris engale zack wrote: > bensler at mail.com wrote: > > Actually, I am specify using a registry file. > > > > The problem was that I was specifyng the icon for *.ex, but not for > > *.exw. Windows was assiging the icon for *.exw files, and giving it the > > wrong one. > > > > You turned my brain on when you said there could be different size icons > > > > > > in the file. Thank you. > > I had assumed that it was the same icon, but used differently with 16bit > > > > > > and 32bit programs. > > > > Chris > > > > Derek Parnell wrote: > > > Hi Chris, > > > I'm assuming that by "I try using the icon in exw.exe" you meant that > > > you went to the File > > > Associations dialog and selected the option to change the icon and then > > > selected exw.exe as the > > > source of the icon. Well I did the same on my Windows 2000 system and I > > > didn't see any differences > > > in the icon displayed using any of the Windows Explorer views (list, > > > small icons, and large icons) > > > > > > However, want you might be seeing is that some programs have embedded > > > both a 16x16 icon and a 32x32 > > > icon and Windows picks the best one for the current view. If the program > > > > > > > > > doesn't have both, it tries > > > to convert whatever is does have to the different size if it needs to. > > > > > > 25/02/2002 1:50:12 PM, bensler at mail.com wrote: > > > > > > > > > > >Can anyone explain this? > > > > > > > >Strangely, when I try using the icon in exw.exe for both *.ex and *.exw, > > > > > > > > > > > >the icons for both files are the same. But if I use it for only *.exw > > > >files, I get a different icon that looks more suitable. > > > > > > > >I don't think it's just my system, because I have tried on different > > > >computers, and it's the same effect. > > > > > > > >Because of this, I need to use euphoria.ico for *.ex files. > > > > > > > >Chris > > > > > > > > > > > --------- > > > Cheers, > > > Derek Parnell > > > > > > > And people wonder why I just stick with WIN98... > > That's one reason I don't fell like messing with all that up there. > > > Lates > Engale > >