Word._Application : Word : Windows C# Examples


C# Examples » Windows » Word »

 

Word._Application









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

class  MainClass
{
    [STAThread]
    static  void  Main(string[]  args)
    {
        Word._Application  MyWord  =  (Word._Application)Marshal.GetActiveObject("Word.Application");

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




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Windows
» Word