通过c#运行.cpl文件. [英] Running a .cpl file through c#.

查看:106
本文介绍了通过c#运行.cpl文件.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai All


我想通过c#运行appwiz.cpl文件,其输出应在文本文件或数据表中.通过c#提供帮助.

Hai All


I want to run appwiz.cpl file through c# , the output of this should be in a text file or a datatable . help through c#.

推荐答案

这到底是什么意思? appwiz.cpl是一个控制面板组件,用于列出已安装的程序;其输出是从HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall下的注册表项中解析的.
What exactly do you mean by this? appwiz.cpl is a control panel component to list installed programs; its output is parsed from the registry keys under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall.


答案很简单.

您始终可以将System.Diagnostics.Process与C#一起运行"appwiz.cpl".有一个小问题:"appwiz.cpl" 没有输出.一点都不.这个词没有任何意义.算了.

—SA
The Answer is simple.

You always can run "appwiz.cpl" using System.Diagnostics.Process with C#. There is one little problem: "appwiz.cpl" does not have output. No. Not at all. Not in any sense of this word. Forget it.

—SA


这篇关于通过c#运行.cpl文件.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆