hey people,
 
does anyone have some stability routines for integrating mapinfo in
VB/Access?
 
basically mapinfo is being opened and closed fairly often, and sometimes
does not close properly, which will then cause the TIN/TDA temp files it was
using to not be released, (not to mention the 20 meg footprint) so that the
next time the user tries to use the program it comes up with errors saying
that it's being used by another user.  the only way i can release it
presently is through dumping it in task manager.
 
is there perhaps a better way to close mapinfo, the way i do it is through
RUNMENUCOMMAND 113, which is MapInfo'ese for FILE,EXIT.
 
also when i'm doing development stuff, my variables and objects often lose
their reference, so that when i attempt to close stuff it give me the
'Object not set' error, and i want a global routine which traps this error
(error 91), then checks to see if MapInfo is indeed running, and if so, set
the object to be the currently running application.  i keep coming up with
automation errors when i attempt this, and it sends the user to my code
window, which isn't necessarily where i want them.
 
gramercy
 
ash

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

Reply via email to