Zip files Hover Box error

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".
eallan
Posts: 13
Joined: 10 Nov 2010 21:37

Zip files Hover Box error

Post by eallan »

XYplorer v19.40.0100 , Windows Xp , Winzip installed.
RAR and 7Zip Hover Box preview working by adding their paths to XYplorer .ini file.
However , when hovering over the icon of any zip file get an error in the popup window
in white text on red background
Method'~' of object'~' failed
Please can someone explain how to fix.
Thanks

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

Re: Zip files Hover Box error

Post by admin »

Can you open Zip files as folders in File Explorer? (Maybe you turned off the whole "ZIPFolder" feature?)

PS: In next beta version it should work (if my theory was right).

Code: Select all

    * Hover Box on Archives: Before, in case you disabled ZIP Compressed Folders 
      in Windows (this can be done via registry) Hover Box did not work on ZIP 
      files. Now it does if you have 7-Zip installed and XYplorer knows about it 
      (ZipPath7zip is correctly set).

eallan
Posts: 13
Joined: 10 Nov 2010 21:37

Re: Zip files Hover Box error

Post by eallan »

Don't like opening zip files as folders - so think I must have disabled that function ages ago.
Will get that latest Beta version once it is available.
Thanks for your help.

eallan
Posts: 13
Joined: 10 Nov 2010 21:37

Re: Zip files Hover Box error

Post by eallan »

Just downloaded and installed v19.40.0104 Beta.
Zip file still shows same Error message.
Have tried adding these lines in turn to ini file without success
ZipPathUnZip=\pathto\WINZIP32.EXE
ZipPathUnZip=\pathto\7z.exe
ZipPathWinZip=\pathto\WINZIP32.EXE

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

Re: Zip files Hover Box error

Post by admin »

ZipPathUnZip??? This is not how it works. Please consult the Help file again. It's all there...

eallan
Posts: 13
Joined: 10 Nov 2010 21:37

Re: Zip files Hover Box error

Post by eallan »

Just my attempt to see if I could get rid of the error message.
I have the 2 lines in the ini file setup for UnRar and 7-Zip as per your instructions
and they work ok for everything I have tried - except .zip files.
Changed a filename from .zip to .zipx and can then view its files ok in Hover Box.
Change file name back to .zip and get the Error message
Method'~' of object'~' failed

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

Re: Zip files Hover Box error

Post by admin »

Paste this into the XYplorer address bar and press ENTER:

Code: Select all

editconf , "ZipPath7zip=*";
Do you see the correct path to 7z.exe?

eallan
Posts: 13
Joined: 10 Nov 2010 21:37

Re: Zip files Hover Box error

Post by eallan »

On pasting
editconf , "ZipPath7zip=*";
into the address bar , get the message
Not Found:Location Or Item
Could not find:
editconf , "ZipPath7zip="*";

Temporarily changed the name of 7z.exe
and now on trying to view files using Hover Box get this message for .7z file
"The system cannot find the file specified"
But for a zip file still get
Method'~' of object'~' failed
This would suggest to me that it is not 7-zip that is trying to open .zip files.

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

Re: Zip files Hover Box error

Post by admin »

Are you using the latest beta version v19.40.0104?

eallan
Posts: 13
Joined: 10 Nov 2010 21:37

Re: Zip files Hover Box error

Post by eallan »

Yes , downloaded and installed that version today.

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

Re: Zip files Hover Box error

Post by admin »

Then do this, and do it exactly as I said: viewtopic.php?p=164763#p164763

eallan
Posts: 13
Joined: 10 Nov 2010 21:37

Re: Zip files Hover Box error

Post by eallan »

I carried out what you posted again , i.e. pasted the following line in the address bar and pressed enter
editconf , "ZipPath7zip=*";

The attached screenshot shows the result of that action.
i.e.
Not Found:Location Or Item
Could not find:
editconf , "ZipPath7zip=*";
To see the attached files, you need to log into the forum.

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Zip files Hover Box error

Post by highend »

Do it again, this time with a "::" in front of that command...

Code: Select all

::editconf , "ZipPath7zip=*";
One of my scripts helped you out? Please donate via Paypal

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

Re: Zip files Hover Box error

Post by admin »

Wow, you seem to be using the same installation for a very long time! :appl: In that case use this please:

Code: Select all

::editconf , "ZipPath7zip=*";

eallan
Posts: 13
Joined: 10 Nov 2010 21:37

Re: Zip files Hover Box error

Post by eallan »

Now I pasted in the following line
::editconf , "ZipPath7zip=*";
which works and now I see a popup List Management window
showing the correct path to 7z.exe

Could you explain why :: works in front of editconf , "ZipPath7zip=*"; ?

Post Reply