ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 IEFolderTree1.ViewTypes :ievtZipFiles
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jrpcguru

USA
266 Posts

Posted - Mar 24 2022 :  14:57:26  Show Profile  Reply
I modified the demo, OnCreate with:
IEFolderTree1.ViewTypes := IEFolderTree1.ViewTypes + [ievtHiddenFolders, ievtZipFiles, ievtOtherSystemFolders];

Now when I expand the view in the tree panel, it includes Zip files as if they are folders. If I click on any of those Zip files, I get an "Error trying to create file handle for {file name}. Error Code 123."

At first I thought this might be because I have WinZip installed on my main computer so File Explorer doesn't expand Zip files and treat them as folders. I ran the program on another machine that does not have WinZip and the same thing happened. When I double click the Zip file in the right hand panel, IEFolderMView, it operates as expected.

Removing the ievtZipFiles corrects the problem, and then IEFolderMView still correctly displays WinZip on my main machine or expands the folders like File Explorer on the other machine. So, I will remove ievtZipFiles from my File Manager program, but I wonder what was its purpose?

J.R.

xequte

38608 Posts

Posted - Mar 24 2022 :  16:47:46  Show Profile  Reply
Hi JR

What type of control are you using to display the folder content? Is the error rising in that control or in TIEFolderTree?

What version of Windows are you using?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

jrpcguru

USA
266 Posts

Posted - Mar 24 2022 :  20:01:05  Show Profile  Reply
Win 10 fully updated
This is the Demos\Multi\Explorer\ExplorerDemo.exe.
The error happens immediately when I click on the Zip file in the tree panel. It does transmit the name of the Zip file to the text field that contains the Folder name.

J.R.
Go to Top of Page

xequte

38608 Posts

Posted - Mar 24 2022 :  21:27:12  Show Profile  Reply
Hi JR

OK, the issue here is that TImageEn*MView does not support zip folder browsing. We will make it fail more gracefully in the next update.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: