public void CommitToFile()
public void CommitToFile(const BmgChar *fileName)
Saves the view to a file.
void DataView_CommitToFile(GeoCalc.DataView & dataView)
{
long folderID = 100;
if (!dataView.RemoveFolder(folderID ))
{
AfxMessageBox("RemoveFolder failed");
}
if(! dataView.CommitToFile())
{
AfxMessageBox(CString("unable to save dataview to ") + CString(_tochar(dataView.get_FileName()).c_str()));
}
}