

VISUAL STUDIO 2003 DOWNLOAD CODE
It creates a Visio Viewer control, displays the Properties and Settings dialog box, sets the location, size, and visibility of the control within the form, and loads a document named 'MyFile.vsd' into the control.Īdd the following code to the project that you created.
VISUAL STUDIO 2003 DOWNLOAD HOW TO
The following code shows how to instantiate Visio Viewer in a form in Visual Basic 6.0. On the Make tab, verify that Remove information about unused ActiveX controls is not selected. In your project, right-click the Toolbox, choose Components, select Microsoft Visio Viewer 14.0 Type Library, and then choose OK.īefore you compile your code, on the Project menu, choose Properties. In Visual Basic 6.0, open a new Standard EXE project. In Windows Vista or Windows 7, right-click the program shortcut, and then choose Run as administrator To get a reference to the Visio Viewer API in a Visual Basic 6.0 project Use the following steps to get a reference to the Visio Viewer API in a Visual Basic 6.0 project. Before you can do so, you must get a reference to the Visio Viewer API. You can use Visual Basic 6.0 to instantiate the Visio Viewer control in various containers (for example, a Windows form). Programming Visio Viewer in Visual Basic 6.0
