转自:  http://www.cnblogs.com/cfanwolf/

1【转】在C#2005中创建快捷方式using System;
 2【转】在C#2005中创建快捷方式using System.Collections.Generic;
 3【转】在C#2005中创建快捷方式using System.Text;
 4【转】在C#2005中创建快捷方式using IWshRuntimeLibrary;
 5【转】在C#2005中创建快捷方式//在引用里面添加“Windows Script Host Object Model”
 6【转】在C#2005中创建快捷方式namespace Shortcuts
 7

上面的代码就是在C#中创建快捷方式的核心部分。其中这个类需要在引用中添加“Windows Script Host Object Model”并且USING IWshRuntimeLibrary
下面是一个在VS.NET2005中制作的WINFORM程序。这个程序将演示如何在桌面上创建自己的快捷方式。
 1【转】在C#2005中创建快捷方式using System;
 2【转】在C#2005中创建快捷方式using System.Collections.Generic;
 3【转】在C#2005中创建快捷方式using System.ComponentModel;
 4【转】在C#2005中创建快捷方式using System.Data;
 5【转】在C#2005中创建快捷方式using System.Drawing;
 6【转】在C#2005中创建快捷方式using System.Text;
 7【转】在C#2005中创建快捷方式using System.Windows.Forms;
 8【转】在C#2005中创建快捷方式
 9【转】在C#2005中创建快捷方式namespace 创建快捷方式
10}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
猜你喜欢
  • 2022-12-23
  • 2021-10-22
  • 2021-08-14
  • 2022-12-23
  • 2021-10-01
  • 2021-08-18
相关资源
相似解决方案