excel - OleAutoObj 没有在我的电脑中打开 Excel 应用程序
问题描述
以下 dxl 代码未在我的 PC 中打开 excel 应用程序。我怀疑我运行的早期 dxl 脚本。它激活了 Excel Ole Objects 并打开了它们。如何关闭由早期 dxl 脚本打开的所有 excel 进程?任何帮助将不胜感激。
OleAutoObj objExcel = oleCreateAutoObject("Excel.Application")
if (objExcel != null){
bool excelVisible
oleGet(objExcel, "Visible", excelVisible)
if (excelVisible == false){
olePut(objExcel, "Visible", true)
}
}
-Ashok Anumula
解决方案
有烫发oleCloseAutoObject( objExcel )
推荐阅读
- php - 使用 OAUTH2 登录用户进行 Discord,然后加入 Guild
- python - 如何增强循环中数据框的构建?
- java - 导入Android“包”会导入资源吗?
- opencv - 在 OpenCV 中导入 AutoML 边缘训练模型
- java - 是否可以编写 AOP 注释?
- c# - 删除嵌套集合中的实体
- javascript - 为什么在角度打字稿中使用 onclick 事件必须给它一个 void 类型?
- gradle - Gradle 构建扫描是否安全?
- python - 矩阵内的圆圈
- angular - 我正在尝试从 firestore 获取数据,然后将数据转换为数组。新数组应该是可观察的