Blaine Castle, MapInfo Europe gave me this explanation:

Appearently the problem only occures with MapInfo 6.5.
In the settings for the file types there is a setting for the MapBasic
application, that should be altered to change this double execution of the
mbx's

As default the string is as this:
"C:\MAPINFO PRO\MI650DK\MAPINFOW.EXE" -noexec "%1"

If you change it to this:
"C:\MAPINFO PRO\MI650DK\MAPINFOW.EXE" -noexec

Your problems will be gone.

Note that "C:\MAPINFO PRO\MI650DK\MAPINFOW.EXE" should be the path to your
MapInfo 6.5.

Thanks Blaine,

Peter
------------------------------------------------------------------------------------------------
Peter Horsb�ll M�ller, GIS-Developer
Kampsax A/S, GIS Software & Solutions, Rugaardsvej 55, DK-5000 Odense, Denmark
tlf: + 45 63 13 50 13, dir: + 45 63 13 50 08, fax: + 45 63 13 50 90
mail: [EMAIL PROTECTED], http://www.mapinfo.dk, http://www.kampsax.dk
------------------------------------------------------------------------------------------------
----- Videresendt af Peter M�ller/Kampsax - 05-10-01 15:24 -----
                                                                                       
                        
                    Peter M�ller                                                       
                        
                                         Til:    [EMAIL PROTECTED]     
                        
                    05-10-01             cc:                                           
                        
                    16:13                Vedr.:  RE: MI-L Duplicate running of a MBX   
                        
                                                                                       
                        
                                                                                       
                        



I could replicate it on both Win2000 and Win98 using MapInfo 6.5. Strange
thing !!!

Maybe a bug ...... ???

Peter
------------------------------------------------------------------------------------------------
Peter Horsb�ll M�ller, GIS-Developer
Kampsax A/S, GIS Software & Solutions, Rugaardsvej 55, DK-5000 Odense, Denmark
tlf: + 45 63 13 50 13, dir: + 45 63 13 50 08, fax: + 45 63 13 50 90
mail: [EMAIL PROTECTED], http://www.mapinfo.dk, http://www.kampsax.dk
------------------------------------------------------------------------------------------------
----- Videresendt af Peter M�ller/Kampsax - 05-10-01 15:09 -----
                                                                                       
                                        
                    "Jacques Paris"                                                    
                                        
                    <[EMAIL PROTECTED]>           Til:    "David Andrews" 
<[EMAIL PROTECTED]>,                    
                    Sendt af:                            
<[EMAIL PROTECTED]>                                   
                    [EMAIL PROTECTED]        cc:                           
                                        
                    onsmag.com                           Vedr.:  RE: MI-L Duplicate 
running of a MBX                           
                                                                                       
                                        
                                                                                       
                                        
                    05-10-01 14:00                                                     
                                        
                    Besvar venligst til "Jacques                                       
                                        
                    Paris"                                                             
                                        
                                                                                       
                                        
                                                                                       
                                        



I could not replicate this strange behavior with M) 6.0 and Windows 2000

Jacques Paris
e-mail  [EMAIL PROTECTED]
MapInfo/MapBasic support  http://www.paris-pc-gis.com

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of David
Andrews
Sent: October 5, 2001 06:40
To: [EMAIL PROTECTED]
Subject: MI-L Duplicate running of a MBX


Hi list,

Does anyone else experinced this?

If you run a mbx by double clicking the application itself from within
explorer or as an icon on the desktop, i.e. the actual mbx file, then
MapInfo starts up and the mbx is executed twice.

If the mbx is run any other way, i.e from within MapInfo, or even from a
shortcut to the mbx, etc. then the mbx only executes once.

I have tried this with the most basic of applications, below, and it
still does it. Anyone with any reasons why this happens?


Declare Sub Main

Sub Main
  note "complete"
End Sub


Regards

Dave
























**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



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






_______________________________________________________________________
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