A Beta release of the Microsoft Visio 2010 SDK is now available for download! Due to high demand for an early version of the SDK, we have released a Beta version of the SDK with a partial set of supported features. Additional features and functionality will be available in the RTM version of the Visio SDK.
There are two versions available depending on whether you are running the 32-bit or 64-bit version of Visio. It is important to install the right version of the SDK to ensure that all the SDK tools function correctly.
The Microsoft Visio 2010 SDK contains the following items:
We explain these items in more detail below. Features listed with an asterisk (*) are not supported in the Beta version of the Visio SDK.
Once you install the Visio SDK, you will see SDK Tools available on the Developer tab in Visio.
The Event Monitor tool watches for events that are raised in Visio and it can help you debug your solution when handling events.
The Persistent Events tool provides a user interface that lets you add and modify persisted events.
The Print ShapeSheet tool provides a user interface that lets you print the contents of a ShapeSheet.
The Visio SDK also includes the Microsoft Visio Solution Publishing Tool*, which is an executable that you can run from outside Visio. This tool works with Windows Installer to add Visio-specific entries, such as Visio add-ons (.vsl and .exe files), stencils (.vss and .vsx files), templates (.vst and .vtx files), and Help files (.chm files), to the PublishComponent table of the .msi file that you create to install your solution on your users' computers.
The Visio SDK also includes a number of sample applications written in either Microsoft Visual Basic .NET, Microsoft Visual C#, or Microsoft Visual C++. You can experiment with these samples as you develop your own custom solutions for Microsoft Visio 2010. By default, the sample applications target the 32-bit version of Visio 2010.
After installing the Visio SDK, you will see a new category of template on the New tab of the Backstage View.
The samples are not functional, however, until after they are built in Visual Studio and then installed using the generated setup.exe or .msi file. Once a sample application is installed, the application can be launched by opening the corresponding template in the SDK folder shown above. The only exception is the Office Plan Sample, which uses the Microsoft Visio 2010 Drawing Control inside a Microsoft Windows Form and is launched from outside Visio. The available sample applications are shown below.
The Flowchart Chart Sample (available in C#, VB.NET and C++*):
The TreeView Sample* (available in VB.NET):
The Office Plan Sample (available in C#):
The Visio SDK installs wizards for creating Visio add-on projects in Microsoft Visual Studio 2005 and Microsoft Visual Studio 2008. These Wizards let you set up new Visio add-on projects in Microsoft Visual Basic .NET, Microsoft Visual C#, and Microsoft Visual C++, and create corresponding setup programs to install add-ons. Once you have used the wizard to create a Visio project, you can explore the project code and settings to learn more about how Visio add-ons should work.
Microsoft Visual Studio 2010 also includes wizards to generate Visio 2010 VSTO add-in projects. The Visio SDK is not required to use these wizards.
The Visio SDK includes documentation like the Visio Automation Reference, the Visio ShapeSheet Reference, the Visio Save As Web Reference, the Visio Viewer Reference and the Visio XML Reference. In addition, it includes the Code Sample Library—a library of interesting code samples. Note that the documentation included with the Beta SDK is Visio 2007 documentation.
We also include a number of support files in the SDK. We provide type libraries for three application programming interfaces (APIs) that Microsoft Visio 2010 exposes: the Visio type library, the Save as Web type library, and the Microsoft Office Visio Drawing Control type library. In addition, we provide support files to help C++ developers automate Visio. The Beta versions of these support files are in this release of the SDK.
Along with the content described above, we are working on some new features for the RTM version of the SDK. We are currently planning to release the following additions at RTM:
As you explore the SDK and use the tools provided, we encourage you to provide feedback about your experience. You can use the Office 2010 Send a Smile functionality to send us feedback about the SDK, or you can comment on the blog.
I haven't found the ShapeStudio in the SDK Beta. Will the RTM version contain it?
Good question. The ShapeStudio tool has been discontinued and will not be included in the Visio 2010 SDK. Perhaps we can discuss this more in a future blog post.
Mark Nelson - Visio Team
Are you planning to add Visio 2010 add-in project template for VisualStudio 2008?
Will there be an update to the "Developing Visio Solutions" book for Visio 2010, the last was for Visio 2002 and Graham Wideman's last book was "Visio 2003 Developer's Survival Pack". All the way through Visio 3, 4, 5, 2000 and 2002 there were "Developing Visio Solutions" books for each version. On-line documentation is fine for reference, but it's not so good for learning about new features.
Is a help on customizing Visio WebPart access will be available ?
The link to the visio 2010 SDK is wrong. The dsk is stil the 2007 one.
Could you please update it with
We need the ShapeStudio! How can i draw new stencils?
The Visio SDK Beta does not include 2010 documentation, but you can download some of our help files separately. As you pointed out, beta versions of the Visio Automation Reference and Visio ShapeSheet Reference are available at:
After you download and run Visio2010AutoRef.exe and Visio2010ShapeSheetRef.exe, you will get the files Visio.Dev.hxs and Visio.ShapeSheet.hxs. These files can be viewed with an HxS viewer or directly within Visio 2010.
To view the files in Visio 2010:
1. Copy the two files into your Office14\1033 directory. (As an example, I copied the files to C:\Program Files\Microsoft Office\Office14\1033.) Note that you will already have older versions of these files in this directory, and you may want to back up the older versions first.
2. Open Visio and use F1 to open help.
3. Click on the dropdown menu to the right of the word “Search”, and click either “Developer Reference” or “Visio ShapeSheet help”.
4. For easy browsing of the help file, you can show the table of contents by clicking on the book icon in the help toolbar.
I don't see an answer on shape studio.
I create new stencils all the time. Is that capability still part of the product or should everyone be looking for a competative product?
British reporters are known for doing almost anything to get a Mulberry Bags. But reports that a newspaper secretly listened to telephone messages of murdered schoolgirls and other private citizens have produced Mulberry Handbags and anger.
On Friday, British police arrested Andy Coulson, former editor of Mulberry Bag Britain's best-selling newspaper, News of Mulberry Outlet the World. The investigation led him to Mulberry UK Sale resign in January as communications director to Prime Minister David Cameron.
The arrest came in a widening investigation of Mulberry UK telephone hacking. Other accusations include paying police for mulberry shoulder bags information on stories. The Reuters news agency reported that Mr. Coulson was released on Mulberry Bag UK until a date in October.
Prime Minister Cameron promised Men's Mulberry Bags Friday that a judge will lead a full public inquiry into Women's Mulberry Bags the case after police complete their investigation.
DAVID CAMERON: "Murder victims, terrorist victims, families who have lost loved ones, sometimes defending our country, that these people could have had their phones hacked into, in order to generate stories for Mulberry Bags Mulberry Handbags Mulberry Bag Mulberry Outlet Mulberry UK mulberry bayswater bag Mulberry Alexa Bag, is simply disgusting."