Thanks to all who replied! Here's the fix that worked for me:
If a progress bar pops up and MI does not have focus, the app will stop. Issue a "Set ProgressBars Off" near the top of the code, then a "Set ProgressBars On" at the end. Gilbert ________________________________________ I have a Mapbasic application that freezes when the process is working on a map and whenever I activate or use any other application (non Mapinfo) in windows, the program stop! The program make a treatment of selecting points from a big file. I then create a polygon on cosmetic. I make a process of points found in polygon and return a status in which Census division (other layer) they fall in (I found the most significants). I then make a list of those Census division an place the list in a list and this list may be saved in a temp file if too big. I have many other process using like creating Convex hull and so. When all treatment done for that location, I create other location, new polygons on cosmetic and so. It's a huge and long process. I need to have this program to run while I'm working on something else in my computer. This is why I use other windows application like word, excel, whatever at the same time. Everything works fine until it begins working in background. Any idears? Gilbert Hach� Solutions Consortech Inc. 6300, Auteuil, Bureau 505 Brossard, Qu�bec, Canada, J4Z 3P2 T�l/Tel. : (450) 676-1555 Ext. 211 T�l�copieur/fax : (450) 676-8851 Courriel/email: [EMAIL PROTECTED] --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 14066
