Hello Chris,
> When using standard old MapInfo, if you go to save a workspace, it comes up
> with the last workspace saved.
>
> However, when you use the MapBasic command (Save Workspace As ...) to save
> the workspace from an MBX, then go to save a Workspace in plain ol' MapInfo
> again - it doesn't remember it. Nor is it added to the last used file list.
MapInfo Pro stores it's last used workspace in your Windows directory as a file called
MAPINFOW.WOR. You should be able to run it as part of a MapBasic program using the
following;
dim StartupWor as string
StartupWor = homedirectory$()+"mapinfow.wor"
' ...
if fileexists(StartupWor) then
run application StartupWor
end if
I'm assuming that this file only gets overwritten when MapInfo quits.
Regards,
Warren Vick
Europa Technologies Ltd, U.K.
www.europa-tech.com
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]