我无法从 Visual Studio 将 VISIO .vsd 文件保存到我的 C 盘?

I can't save a VISIO .vsd file on my C Drive from Visual Studio?

当我尝试通过 visual studio.

将 VISIO 文件保存到 C:\SimpleFlowchart.vsd 时出现以下情况

我使用了

Function SaveAs(FileName As String) As Short

命令

An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in VisioTestApp.exe

当前版本的 Windows 确实不喜欢将内容保存到驱动器的根目录。如果你不能将它保存在你的用户文件夹中,那么至少从 C: 中创建一个临时目录并将其保存在那里