Results 1 to 3 of 3

Thread: Launch PSD file

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2006

    Launch PSD file

    i have a photoshop file (*.psd) which i want to open using C#? it will automatically open the file in Photoshop application. or even in other file/application.. what code should I write?

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Sydney, Australia

    Re: Launch PSD file

    You can call Process.Start and pass a file path to mimic double-clicking that file in Windows Explorer.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3
    Fanatic Member AceInfinity's Avatar
    Join Date
    May 2011

    Re: Launch PSD file

    Photoshop does take command line argument input, so you could start the photoshop binary, and pipeline the .pdf file as an argument to that executable...; With, the Process method jmcilhinney suggested even. This ensures that it opens in Photoshop if this is what you want, instead of it opening in a default "other" program. Depending on what is set.
    Improving Managed Code Performance | .NET Application Performance
    < Please if this helped you out. Any kind of thanks is gladly appreciated >

    .NET Programming (2012 - Present)
    ®Crestron - DMC-T Certified Programmer | Software Developer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


Click Here to Expand Forum to Full Width

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.