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
516 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

Question has a verified solution.

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

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

695 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