admin管理员组

文章数量:1130349

**

C#调用PhotoShop打开指定路径图片

**

C#调用PhotoShop打开指定路径图片

传入照片路径,检测计算机中的PhotoShop,并打开指定图片

    private void GetSoftWarePath(string imgpath)
        {
   
   
            int i = 0;
            //找到所有安装程序
            using (RegistryKey key = Registry.LocalMachine.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\App Paths", false))
            {
   
   
                if (key != null)//判断对象存在
                {
   
   
                    foreach (string keyName in key

**

C#调用PhotoShop打开指定路径图片

**

C#调用PhotoShop打开指定路径图片

传入照片路径,检测计算机中的PhotoShop,并打开指定图片

    private void GetSoftWarePath(string imgpath)
        {
   
   
            int i = 0;
            //找到所有安装程序
            using (RegistryKey key = Registry.LocalMachine.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\App Paths", false))
            {
   
   
                if (key != null)//判断对象存在
                {
   
   
                    foreach (string keyName in key

本文标签: 路径图片photoshop