Technical data
78 Agilent VEE - Practical Graphical Programming
4 DotNet Control and Communications
Exercise 4.2 - Selecting Alternate Ways of Choosing dotNET Files
This example demonstrates how to use the OpenFileDialog class to display
and apply a Windows standard open file dialog box.
Clear your Work Area and maximize Main.
Applying the OpenFileDialog class
1 Go to Help => Open Example => DotNET => SelectFiles. See Figure 4- 3.
This figure offers the Select Files program included in one object.
Figure 4-3 DotNET => SelectFiles in one object
2 Go to Menu Bar => Device => Function & Object Browser and select the
Type, Assembly, Namespace, Type and Members shown in Figure 4- 4.
Click on Create Instance. The "openfiledialog" shown below is the result.