修改注册表,双击文件直接打开string strProject = "Exec"; string p_FileTypeName =".cdb";//文件后缀 string fileName = System.Windows.Forms.Application.ExecutablePath;// 获取启动了应用程序的可执行文件的路径及文件名 //string startPath = System.Windows.Forms.Application.StartupPath;//获取启动了应用程序的可执行文件的路径 //注册文件类型
|
|
来自: python_lover > 《待分类》