----- Original Message ----- 
From: Anssi Joutsiniemi <[EMAIL PROTECTED]>
To: Andreas Mahn <[EMAIL PROTECTED]>
Sent: Monday, January 10, 2000 6:14 PM
Subject: Re: MI Files on Most Recently Used-list


Andreas,
Your server kept returning my mail so here it comes through the list.

> 1.) My MB application opens a workspace, which causes MapInfo to include the
> workspace file on the Most Recently Used (MRU) list in the File menu.
> Additionally, this filename is used as the default workspace filename the
> next time the user wants to save a workspace.
> Is there a way to suppress this, as I don't want the user to see the
> filename or overwrite this file? (I basically don't want the user to take
> notice of this file.)

You could try saving your workspace into temporary location for example using path 
from TempFileName$ function. Runing workspace from temp location and deleting it 
afterwards. Then trying to run the deleted workspace and handling error with OnError 
routine. I assume the workspace name will  be removed from MRU list.

>2.) The Pack Table command, used in a MapBasic application writes out a
>number of commands to the MapBasic window. I wonder why it does that, as
>other commands in MB code don't give away that they have been used.
>Again, the question is, is there a way to get around that (apart from
>closing the MapBasic window)?

Have tried does Run Command "Pack Table ...." have same effect?
How about Run Menu Command ID... ?


Regards,
Anssi




----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to