如何在按钮上单击以打开一个新的ms字 [英] how to open a new ms word on button click

查看:97
本文介绍了如何在按钮上单击以打开一个新的ms字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我想使用C#3.0在窗口应用程序中的按钮单击上打开一个新的Word文档.

我用过

System.Diagnostics.Process.Start("msword");

但它不起作用

hi all

i want to open a new word document on button click in window application using c# 3.0

i used

System.Diagnostics.Process.Start("msword");

but it does not work

推荐答案



请尝试以下操作:

Hi,

Please try following:

System.Diagnostics.Process.Start("winword");




如有任何疑问,请告诉我.

如果有帮助,请提供"投票",如果这是正确的答案,请提供"A 接受答案".

谢谢,
Imdadhusen




Please do let me know, if you have any doubt.

Please provide "Vote" if this would be helpful, and make "Accept Answer" if this would be correct answer.

Thanks,
Imdadhusen


这篇关于如何在按钮上单击以打开一个新的ms字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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