Another possibility is to use an API call in the VB program to always keep
the VB window as the top most window. Will force the user to respond to the
VB program before allowing the user back into MapInfo/MapBasic.
James F. Koennicke
Consultant
Vista Information Technologies, Inc.
2195 Fox Mill Road
Herndon, VA 20171
email: [EMAIL PROTECTED]
ph: (703) 561-4132
fax: (703) 561-4160
-----Original Message-----
From: Larry Nolan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 10:13 AM
To: mapinfo mailing list
Subject: RE: MI-L How to run a VB program in an exclusive window
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.
_______________________________________________________________________
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.