简体   繁体   中英

WPF desktop application open local file e.x. (.doc,.pptx,pdf,.xls)

Smart people in the world. Anyone knows.. Can WPF desktop application manages to open a local file in its default open software. To give an example, when i clicks a .doc file in my WPF desktop application, Microsoft Word should open such a file

Simply use Process.Start and pass the file name. This has nothing to do with WPF.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM