It may also be a question of concurrency either among the autoloaded 
application or with regard to opened tables/windows.

Does your app check for any requirements when loaded ? I.e. looking for a 
defined menu or some window or some other GUI condition to
be true ?

I frequently fall into this trap when converting "normal" apps to autoloaded 
apps, because the autoloaded mbx's are loaded before
any workspaces are run from the command line (e.g. by double-clicking on a 
workspace file), and if my app require an active mapper
when loaded, it'll quit every time and thus not autoload.

Best regards/Med venlig hilsen
Lars V. Nielsen
GisPro, Denmark
http://www.gispro.dk/

----- Original Message ----- 
From: "Nabors, Steve" <[EMAIL PROTECTED]>
To: "Mike Mayer" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Friday, August 12, 2005 11:22 PM
Subject: RE: MI-L AutoLoad MBXs


I've not seen a problem with the Autoload function but an alternative(to
see if it the Autoload function or something else) would be to put all
the MBX's in his startup.wor. file which will also load MBX's on
startup.  This file can usually be found in

c:\documents and settings\username\application
data\mapinfo\mapinfo\startup.wor

Just add the full path lines with a "Run Program" in front of them

Example:
Run Application "O:\MIData\Tools\MapBasic\MBX\MA_1.1\Legal.MBX"
Run Application "O:\MIData\Tools\MapBasic\MBX\MA_1.1\MI_Startup.MBX"
'etc.

Also, once you've done this, remove the Autoload checkboxes in
Toolmanager so they don't try to load twice.

If the mbx files start loading all the time then there is some quirck or
bug in the Toolmanager.  If things don't get any better, then there is
something else at play(security,drives not always mapping, or something
else).

Good luck

  _____

From: Mike Mayer [mailto:[EMAIL PROTECTED]
Sent: Friday, August 12, 2005 12:12 PM
To: Mapinfo Listserver
Subject: MI-L AutoLoad MBXs


-->

List,

I have a small problem with the autoload function on a co-workers
computer.  We have some MapBasic programs we like to use and that I have
written.  Once loaded onto my computer and other co-workers computers
these work fine.  However, on one computer the programs will not load
every time MapInfo starts up.  The tools have been added to the Tool
Manager, and the "loaded" and "autoload" options are selected.  The mbx
files are stored on the server for access by everyone.  Has anyone had
any problem similar to this??  Any suggestions?? Thanks in advance.



Mike Mayer

GIS Technician

Strongbow Exploration Inc.

Suite 800 - 625 Howe St.

Vancouver, BC V6C 2T6

(604) 668-8355

www.strongbowexploration.com <http://www.strongbowexploration.com>

  <http://www.strongbowexploration.com/>




______________________________________________________________________
This e-mail has been scanned by MCI/MessageLabs Managed Email Service.


______________________________________________________________________
This e-mail has been scanned by MCI/MessageLabs Managed Email Service.


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 17477

Reply via email to