Floating preview and PDFs
Forum rules
READ THIS AND DO IT!!!
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%).
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.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
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%).
-
glusberg
- Posts: 138
- Joined: 04 Dec 2010 17:47
- Location: Win10 - SSP 125%
Re: Floating preview and PDFs
Thank you.
-
raphaelmsx
- Posts: 81
- Joined: 10 Oct 2021 20:55
Re: Floating preview and PDFs
Hi people, I'm having problems with floating preview and PDFs too, and found this topic.
In my work computer, I have Win11, latest XYplorer free edition and Foxit reader, and floating preview works just fine.
In my home computer, Win10, XYplorer 24.20.0500 and also foxit, but the floating preview doesn't work at all.
What can I do to fix this?
Here's the screenshot and error log:
In my work computer, I have Win11, latest XYplorer free edition and Foxit reader, and floating preview works just fine.
In my home computer, Win10, XYplorer 24.20.0500 and also foxit, but the floating preview doesn't work at all.
What can I do to fix this?
Here's the screenshot and error log:
Code: Select all
************** Exception Text **************
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at Preview64.Form1.handlePreview(String[] arguments)
at Preview64.Form1.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at Preview64.Form1.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4614.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
XY64
Assembly Version: 1.0.8451.19745
Win32 Version: 1.0.0.30
CodeBase: file:///C:/Program%20Files%20(x86)/XYplorer/XY64.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4550.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4605.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4605.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------To see the attached files, you need to log into the forum.
Windows 10 22H2 x64
XYplorer 28.20.0602 x64
Screen Scaling 225%
XYplorer 28.20.0602 x64
Screen Scaling 225%
-
admin
- Site Admin
- Posts: 66102
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Floating preview and PDFs
Replace
Does any of them work without error?
E:\Test\Preview\Katakana.pdf by the path to your PDF and run each of these lines one by one through the XYplorer address bar (paste them into the address bar and press ENTER):Code: Select all
preview "E:\Test\Preview\Katakana.pdf"; //normal preview
preview "E:\Test\Preview\Katakana.pdf", p; //PreviewHandler (bitness depends)
preview "E:\Test\Preview\Katakana.pdf", p32; //PreviewHandler (32-bit)
preview "E:\Test\Preview\Katakana.pdf", p64; //PreviewHandler (64-bit)
preview "E:\Test\Preview\Katakana.pdf", t; //ThumbnailProvider (bitness depends)
preview "E:\Test\Preview\Katakana.pdf", tf32; //ThumbnailProvider IShellItemImageFactory (32-bit)
preview "E:\Test\Preview\Katakana.pdf", tf64; //ThumbnailProvider IShellItemImageFactory (64-bit)
preview "E:\Test\Preview\Katakana.pdf", te32; //ThumbnailProvider IExtractImage (32-bit)
FAQ | XY News RSS | XY X
-
raphaelmsx
- Posts: 81
- Joined: 10 Oct 2021 20:55
Re: Floating preview and PDFs
Hi.
None of them worked, giving the same error output.
None of them worked, giving the same error output.
Windows 10 22H2 x64
XYplorer 28.20.0602 x64
Screen Scaling 225%
XYplorer 28.20.0602 x64
Screen Scaling 225%
-
admin
- Site Admin
- Posts: 66102
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Floating preview and PDFs
All of them gave that error? That's not possible.
And could you click on the Details button in the error message and post the details in text form?
And could you click on the Details button in the error message and post the details in text form?
FAQ | XY News RSS | XY X
-
raphaelmsx
- Posts: 81
- Joined: 10 Oct 2021 20:55
Re: Floating preview and PDFs
Sorry, I should've clarified myself before.
Neither didn't work.
All of them opened the right preview pane with nothing on it.
Those three below:
preview "h:\test.pdf";
preview "h:\test.pdf", p;
preview "h:\test.pdf", p64;
gave the exact same error described below, and also opened this window on the top left corner after I close the error window: (the same way when pressing F11, I forgot to put this screenshot together with the others in my first post)
And those below:
preview "h:\test.pdf", p32;
preview "h:\test.pdf", t;
preview "h:\test.pdf", tf32;
preview "h:\test.pdf", tf64;
preview "h:\test.pdf", te32;
did not output the error window, but in the blank preview pane it additionaly showed the text: "Preview failed".
I hope I have described everything now, if something it's still not clear please tell me.
Thanks again.
Neither didn't work.
All of them opened the right preview pane with nothing on it.
Those three below:
preview "h:\test.pdf";
preview "h:\test.pdf", p;
preview "h:\test.pdf", p64;
gave the exact same error described below, and also opened this window on the top left corner after I close the error window: (the same way when pressing F11, I forgot to put this screenshot together with the others in my first post)
Code: Select all
************** Exception Text **************
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at Preview64.Form1.handlePreview(String[] arguments)
at Preview64.Form1.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at Preview64.Form1.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4614.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
XY64
Assembly Version: 1.0.8451.19745
Win32 Version: 1.0.0.30
CodeBase: file:///C:/Program%20Files%20(x86)/XYplorer/XY64.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4550.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4605.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4605.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------And those below:
preview "h:\test.pdf", p32;
preview "h:\test.pdf", t;
preview "h:\test.pdf", tf32;
preview "h:\test.pdf", tf64;
preview "h:\test.pdf", te32;
did not output the error window, but in the blank preview pane it additionaly showed the text: "Preview failed".
I hope I have described everything now, if something it's still not clear please tell me.
Thanks again.
To see the attached files, you need to log into the forum.
Windows 10 22H2 x64
XYplorer 28.20.0602 x64
Screen Scaling 225%
XYplorer 28.20.0602 x64
Screen Scaling 225%
-
admin
- Site Admin
- Posts: 66102
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Floating preview and PDFs
Weird.
You might need to specify a GUID to make it work with Foxit. Here at the bottom are 2 GUIDs for Foxit preview handlers:
https://www.xyplorer.com/faq-topic.php?id=PDFpreview
Try them with Configuration | Preview | Previewed Formats | Category: User-Defined Preview Handlers.
You might need to specify a GUID to make it work with Foxit. Here at the bottom are 2 GUIDs for Foxit preview handlers:
https://www.xyplorer.com/faq-topic.php?id=PDFpreview
Try them with Configuration | Preview | Previewed Formats | Category: User-Defined Preview Handlers.
FAQ | XY News RSS | XY X
-
raphaelmsx
- Posts: 81
- Joined: 10 Oct 2021 20:55
Re: Floating preview and PDFs
I tried:
Setting the two GUIDs for foxit (not at the same time).
Installing and setting the GUID for Sumatra (both 32/64 bit).
Installing and setting the GUID for pdf-xchange viewer (only 64-bit, it won't allow me to install 32-bit on my 64-bit Win10).
I didn't do all of this at the same time, after intalling the next app, I've uninstalled the previous.
Nothing worked, the same error is given.
Setting the two GUIDs for foxit (not at the same time).
Installing and setting the GUID for Sumatra (both 32/64 bit).
Installing and setting the GUID for pdf-xchange viewer (only 64-bit, it won't allow me to install 32-bit on my 64-bit Win10).
I didn't do all of this at the same time, after intalling the next app, I've uninstalled the previous.
Nothing worked, the same error is given.
Windows 10 22H2 x64
XYplorer 28.20.0602 x64
Screen Scaling 225%
XYplorer 28.20.0602 x64
Screen Scaling 225%
-
admin
- Site Admin
- Posts: 66102
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
raphaelmsx
- Posts: 81
- Joined: 10 Oct 2021 20:55
Re: Floating preview and PDFs
To see the attached files, you need to log into the forum.
Windows 10 22H2 x64
XYplorer 28.20.0602 x64
Screen Scaling 225%
XYplorer 28.20.0602 x64
Screen Scaling 225%
-
admin
- Site Admin
- Posts: 66102
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Floating preview and PDFs
Well, also here I'm out of ideas. Your system is strange. 
FAQ | XY News RSS | XY X
-
raphaelmsx
- Posts: 81
- Joined: 10 Oct 2021 20:55
Re: Floating preview and PDFs
Thanks?!!!
Let's wait for someone else or other idea from you...
Windows 10 22H2 x64
XYplorer 28.20.0602 x64
Screen Scaling 225%
XYplorer 28.20.0602 x64
Screen Scaling 225%
-
admin
- Site Admin
- Posts: 66102
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Floating preview and PDFs
BTW, why is the first line wrapped?
FAQ | XY News RSS | XY X
-
raphaelmsx
- Posts: 81
- Joined: 10 Oct 2021 20:55
Re: Floating preview and PDFs
Yes, it's 1600x1200 at 135%, otherwise I can't read any text
To see the attached files, you need to log into the forum.
Windows 10 22H2 x64
XYplorer 28.20.0602 x64
Screen Scaling 225%
XYplorer 28.20.0602 x64
Screen Scaling 225%
-
admin
- Site Admin
- Posts: 66102
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Floating preview and PDFs
Thanks! Something is wrong there, shouldn't wrap, gotta investigate...
FAQ | XY News RSS | XY X
XYplorer Beta Club