Follow vsto and start from C # reading word

Source: Internet
Author: User
Vsto: Visual Studio Tools for the Microsoft Office System!

These days I suddenly became interested in VBA. I saw how to use C # To operate Word and Excel in a few days and found that there are still many good things, I used to be very familiar with word, and knew many word functions that "many people don't know! It can be said to be an advanced user.

It is very troublesome to use C # To operate word. The key is that there are many parameters, and different versions of office correspond to different DLL, and many officexp functions are different. Please note! I used office2003 and found it word11.0. Haha, I don't know that Microsoft has already released so many versions.

If you write the word program for the first time, refer to this picture.

I found a problem, no matter how I use Microsoft. office. interOP; or other namespaces, word cannot be used directly. applicationclass, and Microsoft. office. interOP. word. applicationclass, Microsoft. office. interOP. word. paragraph, etc. I don't know if it's a bug or...
Note: The environment is office2003,. NET 2003, XP Professional!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.