Run time error 13

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".
Post Reply
binocular222
Posts: 1424
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Run time error 13

Post by binocular222 »

I hide menubar with #1061 > scripting popupmainmenu > press "a" > get this error:
Run time error '13':
Type mismatch
Cannot repo in fresh. XY only crash with accelerator "a".

P.S: Even this script crash XY:

Code: Select all

popupmainmenu "favorites"
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: Run time error 13

Post by admin »

confirmed. fix comes.

Turion
Posts: 30
Joined: 01 Jun 2012 20:46

Re: Run time error 13

Post by Turion »

When I use the date picker, it appears to be empty with no days/month showing.

Image

If I try to click on a number, I get the same run time error as binocular222 and XY crashes.

After changing the Windows Region date format to MM/dd/yy, the date picker works.
However, I prefer using ddd dd-MMM-yyyy region format since it gives more info at a glance.

Image

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

Re: Run time error 13

Post by admin »

Cannot even select "ddd dd-MMM-yyyy". It's not offered here. Weird.

Turion
Posts: 30
Joined: 01 Jun 2012 20:46

Re: Run time error 13

Post by Turion »

Oh, I got that by clicking on "Additional Settings" near the bottom of the Region window and then on the Date tab I entered the format.

Image

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

Re: Run time error 13

Post by admin »

That helped, thanks.

I could reproduce the error and the other date picker issue, and fix them.

BUT: this short date setting is incompatible with lots of other date related functions in XY. You will run into more problems probably. Pretty shocking. Never heard of this. This is a pioneer bug! :bug:

I already fixed search by date and I will go on through the code (250,000 lines) and fix it wherever I see it. But it will take time...

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

Re: Run time error 13

Post by admin »

Is it fixed now?

Turion
Posts: 30
Joined: 01 Jun 2012 20:46

Re: Run time error 13

Post by Turion »

Sorry for the late reply. Yeah, it works great, thanks! :)
admin wrote:BUT: this short date setting is incompatible with lots of other date related functions in XY. You will run into more problems probably. Pretty shocking. Never heard of this. This is a pioneer bug! :bug:

I already fixed search by date and I will go on through the code (250,000 lines) and fix it wherever I see it. But it will take time...
:shock: No problem. I was just experimenting with it in a script.

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

Re: Run time error 13

Post by admin »

Just tell me when error 13 strikes again.

Post Reply