Create Office Applications : Office « Windows « C# / CSharp Tutorial






using System;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using Word;

class MainClass 
{
  [STAThread]
  static void Main(string[] args)
  {
    Word.ApplicationClass MyWord = new Word.ApplicationClass();

    MyWord.Visible = true;
    System.Windows.Forms.Application.Run();
  }
}








29.14.Office
29.14.1.Office command bar
29.14.2.Create Office Applications