![]() 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. 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 Respond to user actions in the Visio Viewer interface.Customize the toolbar by adding or removing buttons.Control the color and visibility of reviewer markups (comments).Control the color and transparency of layers in the drawing.Customize the user interface by changing foreground and background colors and displaying or hiding the grid and the scroll bars.Customize the size and position of the Visio Viewer window.Display various Visio Viewer dialog boxes to the user.Visio Viewer provides an application programming interface (API) that lets solution developers perform numerous tasks, among them the following: You cannot, however, edit, save, or create a new Visio drawing in Visio Viewer. Visio Viewer is an ActiveX control that lets you open, view, or print Visio drawings, even if you don't have Visio.
0 Comments
Leave a Reply. |