none
Open image on Paint 3D Appx thru command line RRS feed

  • Question

  • Hi,

    I am working on program that would open Paint 3D with a specific image as background.

    System.Diagnostics.Process paintProcess = new System.Diagnostics.Process();
    paintProcess.StartInfo.FileName = "Shell:AppsFolder\\Microsoft.MSPaint_8wekyb3d8bbwe!Microsoft.MSPaint";
    paintProcess.StartInfo.Arguments = imgFiltePath + "\\background.bmp";

    It will open the app without the background. If I change from "Shell:AppsFolder\\Microsoft.MSPaint_8wekyb3d8bbwe!Microsoft.MSPaint" to "System.IO.Path.Combine(Environment.SystemDirectory, "mspaint.exe")", it will work on regular mspaint with the background.bmp for me to edit.

    Any help would be appreciated!

    Thanks
    Tako
    Thursday, June 14, 2018 12:07 PM

All replies