📌  相关文章
📜  c# 检查 word 是否安装 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:44.887000             🧑  作者: Mango

代码示例1
Type officeType = Type.GetTypeFromProgID("Word.Application");

if (officeType == null)
{
    // Word is not installed.
    // Show message or alert that Word is not installed.
}
else
{
    // Word is installed.
    // Continue your work.
}