Solved

How to get the application name, in c#, which is the default PDF reader in the machine? With VS2005 c#.

Posted on 2011-09-19
5
505 Views
Last Modified: 2013-12-17
Hi,
How to get the application name, in c#, which is the default PDF reader in the machine? With VS2005 c#.
Thanks.
0
Comment
Question by:bobdylan75
5 Comments
 
LVL 10

Accepted Solution

by:
eguilherme earned 250 total points
ID: 36559878
check here for a generic function,

its in vb.net but should be easy to convert to c#

http://windevblog.blogspot.com/2008/09/get-default-application-in-windows-xp.html
0
 
LVL 22

Expert Comment

by:Ivo Stoykov
ID: 36559881
try this

HTH

Ivo Stoykov
string path = "mypdf.pdf";

// open in default PDF application
Process process = Process.Start(path);

Open in new window

0
 
LVL 14

Assisted Solution

by:nishant joshi
nishant joshi earned 250 total points
ID: 36559892
0
 
LVL 14

Expert Comment

by:nishant joshi
ID: 36559967
0
 

Author Closing Comment

by:bobdylan75
ID: 36565142
Thanks,
I have to analyze the two codes in order to find my personal solution.
thanks.
0

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB.NET 2008 - Windows Protected Your PC 7 42
jquery + C#.net radiobuttonlist 3 30
IDE for Python 5 26
TFS 2015 Access denied. 1 15
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question