Hi,
   To keep mapbasic from using cpu resources while sitting in a loop waiting
for the VB app to finish I use the Windows Sleep API to pause mapbasic.

Declare Sub Sleep LIB "kernel32" (byVal dwMilliseconds As Integer)

Dim DelayTime as Integer
Call Sleep(DelayTime)


Larry Nolan
St. John's, Newfoundland, Canada

email       [EMAIL PROTECTED]
Web Site http://solutionsgroup.tripod.com                Free Mapinfo
Utilities




_______________________________________________________________________
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.

Reply via email to