|
-
January 28th, 2008, 04:14 PM
#1
Office.Word in C#
Hey,
I've been doing alot of work with programmatically working with Microsoft Word to show a sample document which is manipulated by the user through external controls (lists and buttons and such on the form), the word document is embedded in the form also.
Obviously since the document is manipulated externally I don't want the user to be able to change the word document shown directly.
I have tried two different options, the first is
Code:
WinWordSample.Enabled = false;
so that the user cannot click the word control, this is not ideal as if the document becomes too long then the user cant use the scroll to see the bottom.
The other option was
Code:
WinWordSample.PrintPreview();
This is perfect except it takes flaming ages to load each time a change is made (cant make a change without exiting print preview and then entering again.)
Does anyone have any suggestions as to how i can disable editing of word yet keep the scroll bar??
any help is appreciated, thanks in advace.
(.NET Version 2.0.50727) VS2005
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|