?
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
Medium Priority
?
522 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 1000 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 1000 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

Interactive Way of Training for the AWS CSA Exam

An interactive way of learning that will help you visualize core concepts so that you can be more effective when taking your AWS certification exam.  Built for students by a student to help them understand the concepts that they are being taught.

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

752 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