Programmatic Interaction with Control Panel using VS.Net 2005
来源:互联网 发布:ip与mac绑定设置 编辑:程序博客网 时间:2024/05/15 20:22
By February 21, 2006
This is simple sample on using Shell and some of its methods. Provided code will open windows that represent Control Panel’s applications. It’s just demonstration on shell usage.
Download Files
The Microsoft Windows User interface (UI) provides users with access to a wide variety of objects necessary for running applications and managing the operating system. The most numerous and familiar of these objects are the folders and files that reside on computer disk drives. There are also a number of virtual objects that allow the user to do tasks such as sending files to remote printers or accessing the Recycle Bin. The Shell organizes these objects into a hierarchical namespace, and provides users and applications with a consistent and efficient way to access and manage objects.
The normal location of this file is C:/windows/system32/shell32.dll
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System;
// this is COM component that can be found under the name "Microsoft Shell Controls And Automation"
// this must be added to project references
using Shell32;
Shell objshell = new Shell();
private void Form1_Load(object sender, EventArgs e)
{
listBox2.Items.Add("access.cpl");
listBox2.Items.Add("appwiz.cpl");
listBox2.Items.Add("btcpl.cpl");
listBox2.Items.Add("desk.cpl");
listBox2.Items.Add("directx.cpl");
listBox2.Items.Add("hdwwiz.cpl");
listBox2.Items.Add("inetcpl.cpl");
listBox2.Items.Add("intl.cpl");
listBox2.Items.Add("irprops.cpl");
}
- Programmatic Interaction with Control Panel using VS.Net 2005
- *Using the ASP.NET Panel Control...
- How to debug Control Panel applet (cpl) in VS .NET 2005
- Using Templates With the ASP.NET Repeater Control...
- Using jQuery with the ASP.NET CustomValidator Control(转)
- Working with Windows Service Using VS 2005
- Using Version Control with Unity
- using update panel do sync job , update UI control async
- Getting started with programmatic audio
- Working with Data in ASP.NET 2.0 :: Using TemplateFields in the GridView Control
- Using Beyond Compare with Version Control Systems
- Using Beyond Compare with Version Control Systems
- Using ASP.NET AJAX UpdateProgress Control
- Control Panel Applet 实现
- control your panel
- Vesta Control Panel 安装
- Using Delegates with Data Readers to Control DAL Responsibility
- Using Beyond Compare with Version Control Systems(zt)
- 文件锁
- 电子邮件管理办法新规定:滥发邮件可罚3万
- 对比.NET PetShop和Duwamish来探讨Ado.NET的数据库编程模式[转贴]
- JSP实用篇
- VB创建快捷方式的简易方法--运用Wscript.Shell
- Programmatic Interaction with Control Panel using VS.Net 2005
- 时间,日期和本地化函数
- JSP问答
- Microsoft Visual Studio 2005 Team System Web 测试简介
- 关于面试与加薪
- 搜索条件
- 模拟收发LOTUS邮件的连接错误解决方案
- 06.2.22曾经期盼的手提电脑
- 将 Web 项目从 Visual Studio .Net 2002/2003 转换到 Visual Studio 2005 的分步指南