Hi,
I wrote a c# console application that iterates over a folder of Visio 2010 files and makes some modifications on the shape's custom properties in each document. I noticed that for some of the files the save line fails:
app.ActiveDocument.Save();
this results with a vague exception "An exception occurred". when I quit the application using
app.Quit()
Each document that failed the saving is prompted with a save dialog box. needless to say, manually saving the files using the dialog box is not an option for me as I am iterating over thousand of files.
If I manually reduce the document size by deleting some of the shapes - the save operations succeeds.
Please advise,
Ilan
I wrote a c# console application that iterates over a folder of Visio 2010 files and makes some modifications on the shape's custom properties in each document. I noticed that for some of the files the save line fails:
app.ActiveDocument.Save();
this results with a vague exception "An exception occurred". when I quit the application using
app.Quit()
Each document that failed the saving is prompted with a save dialog box. needless to say, manually saving the files using the dialog box is not an option for me as I am iterating over thousand of files.
If I manually reduce the document size by deleting some of the shapes - the save operations succeeds.
Please advise,
Ilan