Preview shows up for disabled PDF filetype

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
Tamil
Posts: 129
Joined: 10 Sep 2006 14:30
Location: .in
Contact:

Preview shows up for disabled PDF filetype

Post by Tamil »

I have disabled preview of PDF filetype in web & office file category but XYplorer shows preview. :veryconfused: Other disabled filetypes are not showing the preview.

admin
Site Admin
Posts: 67316
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Preview shows up for disabled PDF filetype

Post by admin »

Tamil wrote:I have disabled preview of PDF filetype in web & office file category but XYplorer shows preview. :veryconfused: Other disabled filetypes are not showing the preview.
I think it shows just the thumbnails (preview created by shell). To exclude even this you can use the NoPrevShell tweak.

Code: Select all

    + Tweak to exclude certain file types (identified by extension) from 
      the shell-made preview and thumbnails.
      This would exclude MHT and URL files:
        [Settings]
        NoPrevShell=.mht.url.
In your case this would be enough:

Code: Select all

NoPrevShell=pdf

Tamil
Posts: 129
Joined: 10 Sep 2006 14:30
Location: .in
Contact:

Re: Preview shows up for disabled PDF filetype

Post by Tamil »

Thanks. :D

Tamil
Posts: 129
Joined: 10 Sep 2006 14:30
Location: .in
Contact:

Re: Preview shows up for disabled PDF filetype

Post by Tamil »

XYplorer used to hang when I browse a folder containing PDF files. Unregistering the pdfshell.dll by running the following command solved the problem.

Code: Select all

regsvr32 /u "%CommonProgramFiles%\Adobe\Acrobat\ActiveX\pdfshell.dll"

admin
Site Admin
Posts: 67316
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Preview shows up for disabled PDF filetype

Post by admin »

Aha, interesting. What is/does pdfshell.dll?

Post Reply