using System;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using Word;
namespace office
{
public class CreationApplicationOffice
{
// Créer un objet Microsoft Word et lancer
[STAThread]
static void Main(string[] args)
{
Word.ApplicationClass testWord = new Word.ApplicationClass();
testWord.Visible = true;
System.Windows.Forms.Application.Run();
}
}
}