Great detective work! I went through all my include mb's and found
nothing but it just never occurred to me to check the autoloaded tools.
I'm sure your right as we autoload the distance calculator.
Thanks so much!
_
From: Driver, Greg 9434 [mailto:[EMAIL PROTECTED]
Sent: Friday, October 28, 2005 3:30 AM
To: Nabors, Steve; mapinfo-l@lists.directionsmag.com
Subject: RE: MI-L Error - dialogfunctions.mb:65 Subscript out of range
Steve,
I guess it's coming from one of the MapBasic programs you've got running
through the Tool Manager. Out of curiosity I searched the code samples
that are supplied with MapBasic and it looks like the DistanceCalc tool
contains some source code contained in a 'DialogFunctions.mb' module.
Do you have this tool set to autorun every time you start MapInfo? Line
65 is actually within a SelChangeHandler procedure so it'll be called
every time the selection changes, even if you aren't using the
DistanceCalc tool at the time (I think that's right?).
Obliviously, other people may have given their source code the same name
so it's conclusive proof that it's this tool!
Greg Driver
System Administrator
Applications Support
ICT
Surrey Police
Tel: 01483 48 2292
Fax: 01483 48 2374
Email: [EMAIL PROTECTED]
NOT PROTECTIVELY MARKED
-Original Message-
From: Nabors, Steve [mailto:[EMAIL PROTECTED]
Sent: 27 October 2005 21:39
To: mapinfo-l@lists.directionsmag.com
Subject: MI-L Error - dialogfunctions.mb:65 Subscript out of range
Hello,
I get this error from time to time and have not idea where it is coming
from as I do not have an MB by that name.
(dialogfunctions.mb:65) Subscript out of range.
Anyone else getting this error?
Steve Nabors
Systems Analyst
Market Support Services
205-298-3128
Internet communications are not secure and therefore Surrey Police does
not accept legal responsibility for the contents of this message. This
email and any attachments may be confidential. They may contain
privileged information and are intended for the named addressee (s)
only. They must not be distributed without our consent. If you are not
the intended recipient, please notify us immediately and delete the
message and any attachments from your computer, do not disclose,
distribute, or retain this email or any part of it. Unless expressly
stated, opinions in this email are those of the individual sender, and
not of Surrey Police. We believe but do not warrant that this e-mail and
any attachments are virus free. You must therefore take full
responsibility for virus checking. Surrey Police reserves the right to
monitor all email communications through their networks.
__
This e-mail has been scanned by MCI/MessageLabs Managed Email Service.