The examples referenced above are Visual Basic 6 examples and use the Traditional DAQ driver.
If you are using Visual Basic .NET instead of Visual Basic 6, you are better off using the native .NET class library for the DAQmx driver. Examples that use this class library are installed by default to Program Files\National Instruments\MeasurementStudioVS2003\DotNET\Examples\DAQmx
Analog output examples are in the Analog Out subdirectory.
Documentation on the DAQmx .NET class library is, by default, in Start>>Programs>>National Instruments>>Measurement Studio for VS .NET 2003>>Documentation. The documentation is in the start menu by default only if you have Measurement Studio installed. Otherwise, see
this post for information on how to get to the documentation.
The paths I've specified might be different on your system, depending on the version of DAQ that you have.