How to run Mapbasic code whenever a .tab file is opened Mapbasic code can be run whenever a .tab file is opened by inserting code in the .tab file just after the header. e.g. ... !charset WindowsLatin1 Run Application "C:\TestProgram.mbx" Definition Table ... Posted by Crispin Flower 31 October 2006 Categories: MapInfo Professional Previous Post << >> Next Post Comments Comments are closed on this post.