我有一些代码:
FileInfo file = new FileInfo(name);
Excel.Workbook book =
ExcelApp.Workbooks.Open(file.FullName,
Type.Missing, Type.Missing, Type.Missing, Type.Missing,
Type.Missing, Type.Missing, Type.Missing, Type.Missing,
Type.Missing, Type.Missing, Type.Missing, Type.Missing,
Type.Missing, Type.Missing);
当它从 App-V 内部运行时从我的应用程序中调用它意味着 Excel 抱怨该文件不存在。该文件与应用程序位于同一文件夹中(它是随附的模板),看起来 Excel 是在 Bubble 之外生成的,这意味着它在虚拟化文件夹中看不到任何内容。
有人设法让这个工作吗?