Some documents not opening with double-click?
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Some documents not opening with double-click?
I have Textpadassociateed with many things, including XSLT stylesheets (.xsl). In most cases when I double-click an associated document (e.g. a .txt file) it opens as expected, but for .xsl files it just opens Textpad with no document, like so:
Any idea what I can do to fix this?
The same thing happens if I right-click, select "Open with..." and then choose Textpad. My settings look like this:
The icon is also not a Textpad icon:
I can however right-click and select "Open with Textpad", and that works.Any idea what I can do to fix this?
- Mr. Code Monkey
- Posts: 38
- Joined: Thu Jul 30, 2009 4:59 am
Re: Some documents not opening with double-click?
Double-clicking .xsl files works fine for me.
But I don't know if those DOS commands work (the same way) in Windows 11. I get:
Go to Windows Settings -> Apps > Default apps
Verify or set:
. What versions of everything are you using? (Mine is Win 11, 24H2 | TextPad 9.8.0)
But I don't know if those DOS commands work (the same way) in Windows 11. I get:
Code: Select all
C:\>assoc .xsl
.xsl=xslfile
C:\>ftype xslfile
File type 'xslfile' not found or no open command associated with it.
Verify or set:
. What versions of everything are you using? (Mine is Win 11, 24H2 | TextPad 9.8.0)
Re: Some documents not opening with double-click?
This is what I see:
Running TextPad 8.22.0 (64 bit) on Windows 11 24H2 (Build 26100.3775)- Mr. Code Monkey
- Posts: 38
- Joined: Thu Jul 30, 2009 4:59 am
Re: Some documents not opening with double-click?
Well then I got nothing, sorry. Did you restart after applicable changes?
Some possible gambles:
Some possible gambles:
- Upgrade to 9.8.0
- Uninstall IE, if present. (That looks like an IE icon)
- Poke around in the registry if you are comfortable doing that.
Re: Some documents not opening with double-click?
Yes. Thsi has been going on for a while. I hoped upgrading to 8.22 wuld fix it, but it didn't.Mr. Code Monkey wrote: Mon May 12, 2025 10:55 pm Well then I got nothing, sorry. Did you restart after applicable changes?
Some possible gambles:
- Upgrade to 9.8.0
- Uninstall IE, if present. (That looks like an IE icon)
- Poke around in the registry if you are comfortable doing that.
- Will try it, but I've been avoiding v9 (I dislike the new UI)
- I have Edge, not IE, and of course MS won't let me uninstall it...
- I'm comfortable if I know what it is I'm poking...
Re: Some documents not opening with double-click?
Try making the registry entries for .xsl the same as those for .xslt and check that they then behave the same way. After that, assign .xsl to TextPad in Default Apps.
Re: Some documents not opening with double-click?
No effect.
However, I just installed 9.8 instead of 8.22, created an empty .xsl file on my desktop, and it opens successfully (despite silly IE-style icon).
Something interesting -- with 9.8, I get the same blank document behaviour trying to open a .txt file on an external disk.
So I've uninstalled 9.8 (because I can downgrade) and reinstalled 8.22. Despite uninstalling, it remembered all my settings, so if I've got a settings problem then nothing has changed.
However, I just installed 9.8 instead of 8.22, created an empty .xsl file on my desktop, and it opens successfully (despite silly IE-style icon).
Something interesting -- with 9.8, I get the same blank document behaviour trying to open a .txt file on an external disk.
So I've uninstalled 9.8 (because I can downgrade) and reinstalled 8.22. Despite uninstalling, it remembered all my settings, so if I've got a settings problem then nothing has changed.
Re: Some documents not opening with double-click?
TextPad 8 and 9 store their settings in XML files in subfolders 8 or 9 of %APPDATA%\Helios\TextPad. File associations are stored in the registry, so that File Explorer knows which application to start and how to invoke it to open a file.
The installer for TextPad creates this key in the registry:
Under it is the information File Explorer needs to make TextPad open a file. It uses DDE messages which the correct version of TextPad receives because of this entry:
Under it is either "TextPad.8" or "TextPad.9", as appropriate.
If TextPad is started but does not open a file, it is because it is not receiving the DDE messages. Try uninstalling TextPad then deleting this key if it still exists:
Then log off to close File Explorer, log on again and install the version you want to use and the entries under that key will be created appropriately.
The installer for TextPad creates this key in the registry:
Code: Select all
HKEY_CLASSES_ROOT\Applications\TextPad.exe
Code: Select all
HKEY_CLASSES_ROOT\Applications\TextPad.exe\shell\open\ddeexec\application\
If TextPad is started but does not open a file, it is because it is not receiving the DDE messages. Try uninstalling TextPad then deleting this key if it still exists:
Code: Select all
HKEY_CLASSES_ROOT\Applications\TextPad.exe
Re: Some documents not opening with double-click?
That seems to have done the trick. I had to manually delete %appdata%\Helios and then reconfigure after reinstalling, but it least it remembered my registration details. Thanks.