VB app automates Visio (VBAutomateVisio)

The VBAutomateWord example demonstrates how to write VB code to create a Microsoft Visio instance

VB.NET (50.4 KB)
 
 
 
 
 
3 Star
(1)
9,183 times
Add to favorites
4/5/2011
E-mail Twitter del.icio.us Digg Facebook
'****************************** Module Header ******************************'
' Module Name:  MainModule.vb
' Project:      VBAutomateVisio
' Copyright (c) Microsoft Corporation.
' 
' The VBAutomateVisio sample demonstrates how to use Visio Object Model to 
' automate Office Visio 2007.
' 
' This source is subject to the Microsoft Public License.
' See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
' All other rights reserved.
' 
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, 
' EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED 
' WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
'***************************************************************************'


Module MainModule

    <STAThread()> _
    Sub Main()

        Solution1.AutomateVisio()

        Console.WriteLine()

        Solution2.AutomateVisio()

    End Sub

End Module