jhen095
January 28th, 2008, 03:14 PM
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
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
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.
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
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
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.