How to save diagramm in the vsd format using visio 2013 in c# visio control?
I am using the following code:
string filename = String.Format("{0}.vsd", Guid.NewGuid());
visioControl1.Document.SaveAs(temppath + filename); //Error!
This works fine under Visio 2003-2010, but in Visio 2013 it throws "File not found" exception. If I change extension to "vsdx" in the first line - it is ok again. But I have to support all the Visio versions.