开发者

How to launch a file using OpenFileDialog in WinForm/WPF?

After the file has been selected from OpenFileDialog, I want file to be launched in the respective application - PDF in acrobat reader, word in 开发者_高级运维winword and so forth.I am looking for built in functionality if it exists, please advise.


Try Process.Start("file.pdf")

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜