Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Créer une application Office en C#: Exemple de document Word

Créer,une,application,Office,en,C#:,Exemple,de,document,Word
{filelink=15056}

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();
    }
  }
}

No comments yet.

Leave a Comment