Click here to Skip to main content
15,881,739 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I designed an application for browsing a file and sending it to some other location using folderbrowserdialog control now I want to view the file can you help me plz.
Posted

1 solution

Easiest way:
C#
System.Diagnostics.Process.Start(@"D:\Temp\mydocument.docx");
 
Share this answer
 
Comments
Member 10849000 29-May-14 5:26am    
Thank you sir, its working,
but if we have to select a file by using fileopendialog to choose a perticular file then what is the modification code.
OriginalGriff 29-May-14 5:34am    
You are joking, right?
You don't know how to use strings? Or you don't know how to use OpenFileDialog?
Member 10849000 29-May-14 5:47am    
I"m not joking sir, I am a fresher in .net can you plz tell me

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