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
Marek
NA
1
0
Word 2007 - How to disable Close button.
Mar 30 2010 4:53 AM
Hi, I'm currently working on Word 2007 automation using Interoperability library. I need to disable somehow Close button (and maybe also Minimize and Maximize buttons) of Word Application. I found than in previous Word versions it was possible to use Windows API function: EnableMenuItem. In 2007 it doesn't work this way.
Maybe someone had the same problem and knows the solution? I'll be very grateful for any help.
Thanks,
Marek
Update:
I already tried to use DocumentBeforeClose event and setting Cancel to true, but it only takes care of closing is chosen from menu. Close button doesn't fire this event.
Reply
Answers (
0
)
copy image to clipboard not working on Windows server 2008
Excel Refresh Question