TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
madura shantha
NA
4
4.6k
How to open a word editor and disable the save and print button in c#
Sep 21 2010 1:48 AM
Hi
I want to open a word document when a button is clicked in a windows form. I managed to do this by using the following code in the button click event.
Word.
_Application
oWord;
Word.
_Document
oDoc;
oWord =
new
Word.
Application
();
oWord.Visible =
true
;
oDoc = oWord.Documents.Add(
ref
oMissing,
ref
oMissing,
ref
oMissing,
ref
oMissing);
now I need to disable the save and print buttons in the opened word document. (this is really like the word window you add a post to this forum.) is this possible? how can I do this? appriciate any help.
Thanks
Reply
Answers (
1
)
In C# "Windows Form Application", How do you remove the duplicate number in an array?
Windows Service stops triggering monitoring event for starting process