Runtime error '5' when dbl-click a gif file

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
ogroeger
Posts: 92
Joined: 03 Jul 2007 07:39

Runtime error '5' when dbl-click a gif file

Post by ogroeger »

To pity, the minute that Don takes his well deserved break i find a problem.

When i double click a gif file, this error dialog pops up.
Image
As soon as i click the Ok button, XYplorer closes. Some more information:
  • When i choose 'Preview' from the context menu the Windows Image and Fax viewer opens.
  • The Preview (Ctrl-q) works.
  • Double click in Windows Explorer opens the Windows Image and Fax Viewer.
  • XYplorer version is 6.80.0042

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Runtime error '5' when dbl-click a gif file

Post by j_c_hallgren »

ogroeger wrote:XYplorer version is 6.80.0042
:? Just wondering....Why are you so far behind? That's vers is from way back in Jan!

Anyway, I just tried it on a gif here and it works just fine, even though I'm also just a tiny bit non-current (6.80.111)...

So could you first get yourself on a fresh beta and see how that reacts? I'm fairly sure Don would ask you to get up-to-date also.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

ogroeger
Posts: 92
Joined: 03 Jul 2007 07:39

Post by ogroeger »

Why are you so far behind? That's vers is from way back in Jan!
LOL! That's correct, for XYPlorer this is ancient.

Back to the problem: Same thing with 6.80.0114. It must be a configuration problem, that is not handled correctly. To my surprise gif is not a registered file type on my system (Explorer>Options>Folder options>file types). Not only that not application is registered to open gif, there is just not entry at all for gif. Maybe that's the problem? But why opens the Windows Image Viewer when i dbl-click in the WinExplorer?

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

You're on Win XP, right? I'm on W2K so we'd have slightly different options available...I just double checked on my File Type setup for GIF...I have it defined as opening via IrFanView...not sure what default would be on mine...I'd see what happens if you define a 'handler' for GIF's.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

ogroeger
Posts: 92
Joined: 03 Jul 2007 07:39

Post by ogroeger »

I used irfanview to register gif as file type for all users. Now it works as expected in XYplorer. This is ok as workaround.

Thanks for your help.

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

Re: Runtime error '5' when dbl-click a gif file

Post by admin »

ogroeger wrote:To pity, the minute that Don takes his well deserved break i find a problem.

When i double click a gif file, this error dialog pops up.
Image
Strange. When you dblclick a file with a non-registered extension a certain standard dialog should pop up. And it does over here. Almost looks like some registry corruption on your side (how can it be that GIF is not associated with any app?). But of course it should not result in a crash! If you ever can reproduce it, please check your registry key HKEY_CLASSES_ROOT\.gif and tell me how it looks.

PS: there might also be a syntax error in your PFA (portable file associations). Please check if "gif" is in there.

Post Reply