摘要: void AutoStart() { try { string regPath = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run"; string path = Application.ExecutablePath.ToLower(); //将当前程序起动路径 //MessageBox.Show(path); string name = System.IO.Path.GetFileName(path); //获得应用程序名称 //MessageBox.Show(name); var regKey = Microsoft 阅读全文
posted @ 2012-02-28 17:02 zzljh 阅读(658) 评论(0) 推荐(0) 编辑