Thanks to Uffe Kousgaard and Bo Thomsen for supplying me with the DOS trick that allows MapBasic compile and error display from within UltraaEdit in one step. This trick works with Win95, 98 and NT2000 they say. It works on my Win98. Here's what you do: Create a user tool that runs the following two-line batch file: start /wait "C:\Program Files\MapInfo\MapBasic\Mapbasic.exe" -D "%1" type "%2" Note the "start /wait" in front of first line. This is the trick. In the user tool invoke this batch file with this command line: "C:\Program Files\MapInfo\MapBasic\MI_Compile.bat" "%f" "%p%n.err" This assumes you called the batch file MI_Compile.bat. The "%f" supplies the full name of the mb file to the batch file as parameter %1; the "%p%n.err" is the name of the error file as parameter %2. Oh, and one more very important thing. I have to disable Norton anti-virus before running any DOS commands from UltraEdit. Otherwise my Win98 laptop either experiences a grand mal seizure or has an involuntary reboot. However it works fine with Win95 and McAfee anti-virus. It may not be a problem anywhere else, but if you experience weirdness, disable your anti-virus tool. -- - Bill Thoen ------------------------------------------------------------ GISnet, 1401 Walnut St., Suite C, Boulder, CO 80302 tel: 303-786-9961, fax: 303-443-4856 mailto:[EMAIL PROTECTED], http://www.ctmap.com/gisnet ------------------------------------------------------------ _______________________________________________________________________ List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MapInfo-L" in the message body.
