Run-time error 380 when deleting files

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

: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: 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: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
zridling
Posts: 140
Joined: 29 Jul 2006 06:12
Location: Chicago, US
Contact:

Run-time error 380 when deleting files

Post by zridling »

In beta version 5.10.0030, I keep getting a persistent runtime error, which forces me to close XYplorer whenever I:

(1) Have the Preview pane open, and
(2) Select files using the SHIFT+End key and then hit Delete.

It happens about 50% of the time which makes me wonder if it's not something specific to my system. However, I don't receive the same error with other file managers. It makes no difference the number of files; sometimes it is as few as 50, and at other times it happens when I'm deleting thousands.

Image

I'm running WinXP-SP2 with 4G of memory and updated VB Runtime files.
- Zaine Ridling, The Great Software blog

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

Re: Run-time error 380 when deleting files

Post by admin »

zridling wrote:In beta version 5.10.0030, I keep getting a persistent runtime error, which forces me to close XYplorer whenever I:

(1) Have the Preview pane open, and
(2) Select files using the SHIFT+End key and then hit Delete.
Cannot reproduce. Need more infos. Is any file previewed when you Delete. If yes, what kind of file.

SHIFT+End key ... this will hardly be the cause of it. Can it be you still have the Shift key down when you hit Delete?

(got to leave now --- )

zridling
Posts: 140
Joined: 29 Jul 2006 06:12
Location: Chicago, US
Contact:

Post by zridling »

Here is a png with the layout when this happens:

http://www.anova.org/target/xyplorer/xy ... 0error.png

I only notice this happening when previewing photos, namely, JPGs and PNGs. And the SHIFT key is released before hitting Delete. Then XYplorer closes, but I can open it right back to the same folder as if nothing happened (again, which with the slashed lines through the Catalog and Address bar makes me suspect my system — hardware conflict, bad driver, etc.) rather than XYplorer.

If you can't reproduce it, then don't worry about it. It's not a big deal.
- Zaine Ridling, The Great Software blog

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

Re: Run-time error 380 when deleting files

Post by admin »

Zero tolerance for runtime errors! This one was quite tricky to catch but I finally cornered it. Your screenshot helped a lot, because the source of the error was actually the "List" view, which, as you know, I made quite recently so no wonder there are some glitches left.

The 50% crash rate you experienced comes from the complex conditions of the bug where the current column position of the "List" view and the column count after the deletion played a role.
zridling wrote:... slashed lines through the Catalog and Address bar ...
Nothing with your system. The slashed lines are a peculiarity of crashed VB programs and shown only over the so-called "UserControls". It's rather meaningless because the app is dead already when the lines appear. Kind of an application body bag I guess.

zridling
Posts: 140
Joined: 29 Jul 2006 06:12
Location: Chicago, US
Contact:

Post by zridling »

Wow Don, I'm impressed. I worked around it by merely deleting all but the last file in a folder, and then deleting the last one next. Best of all, the fix works. Thanks!
- Zaine Ridling, The Great Software blog

Post Reply