C# ole打开word

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

 

namespace oleword
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

      

        private void button1_Click(object sender, EventArgs e)
        {
            this.webBrowser1.Navigate(@"C:\Documents and Settings\yanlei\My Documents\090334二次调查面积汇总讨论.doc");

        }
      

    }
}

posted @ 2010-02-25 10:53  闫磊博客  阅读(403)  评论(0编辑  收藏  举报