Re: Windows.Forms.WebBrowser и документы Word
От: IngvarT Россия  
Дата: 19.03.08 13:53
Оценка:
Я делал так:

Word.Document document = axWebBrowser.Document as Word.Document;
if(document != null)
{
    object oMissing = System.Reflection.Missing.Value;
    object noReset = true;
    object password = @"qwerty";
    document.Protect(Word.WdProtectionType.wdAllowOnlyReading, 
        ref noReset,
        ref password,
        ref oMissing,
        ref oMissing); 
    document.Saved = true;
}
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.