Click here to Skip to main content
15,893,622 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
Dear Friends,


How to open File PDF File while Enter Invoice Number that PDF i have local Folder. I want reterive PDF File through AppConfing file.


For Example Enter Invoice No, i want show that invoice corresponding PDF using Windows Application.



Thanks&Regs
Manavalan
Posted
Updated 4-Apr-14 3:07am
v2
Comments
Prasad Khandekar 4-Apr-14 9:10am    
Maciej Los 4-Apr-14 11:03am    
What you mean by "open pdf file"?

Try the following:
C#
System.Diagnostics.Process.Start(@"c:\myfile.pdf");
 
Share this answer
 
Please, read my comment to the question. If you want to open pdf file in associated application, please see: How to Launch PDF Reader using C#[^]. But if you would like to open pdf file in your application, please see: Display .pdf or .doc contents on to a Windows Form Control using C#[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900