这个是因为文件没有权限造成的 打开"我的电脑",菜单栏里选择"工具"-"文件夹选项"-"查看",把里面"使用简单文件共享(推荐)"前面的勾去掉,点"确定".然后找到C:\Documents and Settings\"你的用户名"\桌面,在这个文件夹上面点击鼠标右键,选择"属性"-"安全",找到你的用户名,把权限&quo
已经2018年了,windows mobile已经宣布不维护狠多年了,不要问我为什么还在开发windows mobile的程序,我也不想.公司有一批手持扫描枪设备依然是windows mobile的程序,依然有需求,总不能全部淘汰换成android的吧,新采购的是android的,老采购的还是windows mobile的,还有需求在提,没办法.所以..... 资料是真少得可怜.以下是创建软件快捷方式的代码.... using System; using System.Linq; using S
using System;using IWshRuntimeLibrary;using System.IO; namespace UavSystem.Common{ public class ShortcutCreator { //需要引入IWshRuntimeLibrary,搜索Windows Script Host Object Model //需要引用Microsoft.Csharp /// <summary> /// 创建快捷方式
在XP时代,有一个快速启动栏,创建快捷方式只需要把快捷方式放在“%AppData%\Roaming\Microsoft\Internet Explorer\Quick Launch”文件夹下即可,如果要在WIN7/8的任务栏上创建快捷方式,只需要注意[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband]的各个键值以及%AppData%\Roaming\Microsoft\Internet Ex