if (this.openFileDialog1.ShowDialog() == DialogResult.OK)
{
object fileName = openFileDialog1.FileName;
object readOnly = false;
object isVisible = true;
object password1="012op678";//密码
object missing = System.Reflection.Missing.Value;     Word.ApplicationClass WordApp=new Word.ApplicationClass();
WordApp.Visible = true;   

  //打开有密码的文档
 Word.Document aDoc = WordApp.Documents.Open(ref fileName, ref missing,ref readOnly, 
ref missing, ref password1,  ref missing, ref missing, ref password1, ref missing, ref missing, ref missing, ref isVisible);
           

aDoc.Activate();
}