Hi all,

I'm having trouble saving a workspace at the end of a process which is run,
with that oh so  useful error message "Unable to save workspace".  Now i
know that the workspace can be saved because immeadiately after the message,
the user can go to File>>Save Workspace and this works fine.  Here is the
code i'm using - could someone please advise:

Dim strworkspace as string

If commandinfo(CMD_INFO_DLG_OK) then
        If logworkspace = true then
                strworkspace = filesaveasdlg("","","WOR","Save Workspace")
                If not strworkspace = "" then
                        save workspace as strworkspace
                End if
        End If
        If logerrorviewer = true then
                Run program "notepad.exe " + strlogfile
        End If
        If logsummaryviewer = true then
                run program "notepad.exe "
        End If
End if

TIA

Daniel Irwin
GIS Officer
Transport for London Street Management
Software Services - IS/IT Department
25 Eccleston Place
London SW1P 1SB
Tel: 020-7941-2316

************************************************************************* 
The contents of the e-mail and any transmitted files are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. Transport for London Street Management hereby excludes any
warranty and any liability as to the quality or accuracy of the contents of
this e-mail and any attached transmitted files. If you are not the intended
recipient, be advised that you have received this e-mail in error and that
any use, dissemination, forwarding, printing or copying of this e-mail is
strictly prohibited.

If you have received this e-mail in error please notify
[EMAIL PROTECTED] 

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

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to