1 Type objTypeWord = Type.GetTypeFromProgID("Word.Application");
2
3 object objWord = Activator.CreateInstance(objTypeWord);
4
5
6 objTypeWord.InvokeMember("Visible", System.Reflection.BindingFlags.Default | System.Reflection.BindingFlags.SetProperty ,
7 null,
8 objWord,
9 new object [] {true });
10
11
12
13