-
Apr 25th, 2012, 11:03 PM
#1
Thread Starter
Fanatic Member
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?
-
Apr 25th, 2012, 11:29 PM
#2
Re: Launch PSD file
You can call Process.Start and pass a file path to mimic double-clicking that file in Windows Explorer.
-
May 4th, 2012, 01:24 AM
#3
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.
<<<------------
.NET Programming (2012 - 2018)
®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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|