要打开保存在特定文件夹中的Word文档 [英] want to open a word document that is saved in a particular folder

查看:83
本文介绍了要打开保存在特定文件夹中的Word文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hai all

您能帮我打开打开保存的Word文件的代码吗?

我希望一键打开Word文件...




在此先感谢

hai all

can u plz help me with code for opening a saved word file.

i want the word file to be open in one click...




thanks in advance

推荐答案

阅读MSDN.

http://msdn.microsoft.com/en-us/library/tcyt0y1f%28v = vs.80%29.aspx
Read the MSDN.

http://msdn.microsoft.com/en-us/library/tcyt0y1f%28v=vs.80%29.aspx


Process.Start[^] would be an alternative to CodingLover''s suggestion.
E.g.
Process.Start(@"C:\documents\word.docx")


这篇关于要打开保存在特定文件夹中的Word文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆