Visual Studio 2008 enables Visio to automate

Source: Internet
Author: User
Tags visual studio

Visio is a graphical production and process management tool for Microsoft, which helps it and business people visualize the analysis and communication of complex information. Visua Lstudio is a visual development platform for Applications. These two amorites content, they will have the intersection point?

Microsoft has turned this into a possibility. Simply put, some project templates are available in Visual Studio. These templates can help users to create application add-ins for Visio. These add-ins can help you automate Visio lines, extend the functionality of Visio, and so on. Two products are tightly linked through an application-level add-in architecture. In the daily project management, I often need to use Visual Studio tools to develop some of the personalized features of Visio. Here will be the author's experience to share with you, for your readers reference.

One, Visual Studio can bring to the improvement of Visio.

Simply put, using Visual Studio to automate Visio is mostly done through the API. This is a principle of content, the author should first emphasize. Although it can be done in other ways, it is not recommended. Because it will increase the complexity of the project. Generally speaking, most tasks can be written through the API to complete the code. The author's commonly used functions are as follows.

One is to manage the shapes in Visio based on the business logic and user input. such as the author uses Visio to manage the user's process production. The process has certain steps. When the user enters the information, if every step is pressed. If you skip a step, the user can enter the information to explore a question mark shape on the interface. This alerts the user that data must be entered according to the process.

Second, it can be used to control the visualization effect of the graph. When communicating with other users through Visio, it is often necessary to control the visualization of the graphs according to the actual situation. such as the translation or scaling of an object. A simpler example is to move the mouse over an object, or click to expand the object automatically. This allows other users to see the relevant content more clearly.

The third is to import the external data into Visio. If you need to import the contents of a document, such as word, into Visio, you can use its own imported tools. But if you need to have other documents, such as ACD files, you need to develop additional interfaces. If there is such a need, it is easier to use Visual Studio to do it.

The above three points may be the needs that are often encountered in actual work. Of course the cooperation between the two products is not limited to these aspects, there may be more. Due to the limitations of working experience, I only emphasize these points. If you have a more typical application, I hope you can share it and make progress together.

Related Article

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.