Hi
@Simon Emmanuel &
@Andrew Niebling,
Found the source code for the full MB is also in Git Hub here:
https://github.com/PeterHorsbollMoller/mbLibrary/blob/master/RIBBONLib.mb I had a look & no obvious signs on the Function that is throwing the error as to the possible source. Intriguing that neither Simon nor myself can replicate with the same MBX yet Andrew has this happening on multiple PC's? So appears to be something specific to the environment - just one thought, do you have other MBX tools loaded? At the point the code fails it appears to be interacting with other buttons on the toolbar, perhaps there is an unexpected component?
Peter is on a well deserved summer break for a few weeks, will try to dig into this a little further to progress prior to his return.
Thanks, Ashley
------------------------------
Ashley Crane
Regional Director, Software Support
Pitney Bowes
------------------------------
Original Message:
Sent: 07-07-2019 20:12
From: Simon Emmanuel
Subject: Selection and Info tool in one-English version Error
Hi Andrew,
Yes I downloaded a completely different version.
The one you listed above, the Source Code doesn't have the MB file, so difficult to know what is happening around that line.
Peter might be best to diagnose this for you.
Thanks
------------------------------
Simon Emmanuel
Spatial Solutions Manager
Salmat Digital
Prestons
Original Message:
Sent: 07-07-2019 17:48
From: Andrew Niebling
Subject: Selection and Info tool in one-English version Error
Hi Simon,
I have tried re-creating the MBX but still no luck, There are quite a few versions of this tool and I may have originally listed the wrong file name when first posting, my apologies for that. The Tool I am having problems with is the one here InfoSelHandler_x64.zip
Source code is from here github.com/PeterHorsbollMoller/mbInfoSelHandler
Regards
Andrew
------------------------------
Andrew Niebling
Systems Administrator (GIS)
Queensland Rail Ltd
Brisbane
Original Message:
Sent: 07-05-2019 00:47
From: Simon Emmanuel
Subject: Selection and Info tool in one-English version Error
Hi Andrew,
To get this working, have you tried re-creating the MBX and simply creating a new Buttonpad? It's just a guess from me, but it might be the create/alter menu statement that is causing the issue.
I've tested this tool in MI Pro 15.0 and 17.0.2 and works fine.
Just my 2 cents :)
Thanks
------------------------------
Simon Emmanuel
Spatial Solutions Manager
Salmat Digital
Prestons
Original Message:
Sent: 07-04-2019 20:56
From: Andrew Niebling
Subject: Selection and Info tool in one-English version Error
Hi Ashley,
Yes it occurs every time I try to use the tool and all datasets and even on an empty instance of MapInfo. Have tried 2 other PC's within the corporate environment with v16.0.1 and also on my home pc with version 16.0.2 and still get the same error.
Regards
Andrew
------------------------------
Andrew Niebling
Systems Administrator (GIS)
Queensland Rail Ltd
Brisbane
Original Message:
Sent: 07-04-2019 19:56
From: Ashley Crane
Subject: Selection and Info tool in one-English version Error
Hi @Andrew Niebling - thanks for the clarification. We've seen similar errors before, would be good to try and isolate the conditions that exist when you experience this.
Are you able to share:
- Does it occur every time you use the tool?
- Does it happen on all datasets?
- Do you have access to another PC with this installed & does it happen there?
Once we isolate the source of the problem we'll be able to think about best way forward.
Thanks, Ashley
------------------------------
Ashley Crane
Regional Director, Software Support
Pitney Bowes
Original Message:
Sent: 07-04-2019 07:37
From: Andrew Niebling
Subject: Selection and Info tool in one-English version Error
Hi Ashley,
I got this tool (By Peter Horsbøll Møller)from the community downloads page and the error is generated when trying to run it.
Shweta, I deleted the files as you suggested and still get the same error when trying to run the program. As you say it may just be an issue with version 16.0.1 and we will need to upgrade our version.
Regards
Andrew
------------------------------
Andrew Niebling
Systems Administrator (GIS)
Queensland Rail Ltd
Brisbane
Original Message:
Sent: 07-04-2019 04:08
From: Shweta Shukla
Subject: Selection and Info tool in one-English version Error
Hi Andrew,
Another thing you can try is deleting the files " MapInfoPro.RibbonState.EN.xml" and "MapInfoPro.DockingState.xml" from the C:\Users\<username>\AppData\Local\MapInfo\MapInfo\Professional\1600 folder. Now open MapInfo Pro and see if the tool works for you.
There were quite a few issues with the Ribbon in the 16.0.1 version which have all been fixed in the 17 version and beyond.
You would be very happy if you can switch to version 17 and upwards.
Regards,
Shweta
------------------------------
Shweta Shukla
Pitney Bowes Software India
Noida
Original Message:
Sent: 07-03-2019 21:20
From: Andrew Niebling
Subject: Selection and Info tool in one-English version Error
Hi,
When trying to run the Selection and Info tool in one-English version 3.1 it returns this error:
error:802
(ribbonlib.mb:7871) Subscript out of range. Unable to read application File.
RBNRemoveElement
I tried recompling it but still get the same error, What would be the cause of this and how do i fix it?
Using MapInfo 16.0.1
Regards
Andrew
------------------------------
Andrew Niebling
Systems Administrator (GIS)
Queensland Rail Ltd
Brisbane
------------------------------