Database Reference
In-Depth Information
vsoDataRecordset.DataConnection.connectionString =
"DataModule=Altsis.VisioDataService,VisioDataService;"
ActiveDocument.DiagramServicesEnabled = diagramServices
End Sub
The code in Listing 4-8 is explained toward the end of this chapter in the section
“Understanding the Custom Data provider code.” You will need to customize the connection
string and the Data module assembly details in the code.
Note
The Microsoft Visual Basic for Applications window should look like the one shown in
Figure 4-66 .
Figure 4-66. Microsoft Visual Basic for Applications
Press F5 or click on the run button on the menu to execute the LoadData( )
subroutine. Pressing Alt+F11 will toggle back to the Visio diagram. Under the
external Data tab, the data will be loaded, as shown in Figure 4-67 .
 
Search WWH ::




Custom Search