if we had a MenuStript input form application, that include a subMenu is be name History,and click on the menu to open a new form application.
I want in the form open a word file.
i do this, what commands shold i use?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sam HobbsPosted Jun 25, 2011, 11:39 PM
Mahesh ChandPosted Jun 25, 2011, 1:08 PM
To open a word file on a menu click, user must have MS-Word or Office installed on his machine. You need to use the Process class and run winword.exe (Windows Word) and pass your file name in it as an argument.
Alternatively, you can use Office Interop for that. Check out Office Interop section of this site. Also search, how to open a word fine in C# using site search.
Namaste!