Hello Brian,
The NIDAQ32.BAS module you're attempting to load was written by National Instruments to provide Visual Basic 6.0 users with the ability to use the Traditional NI-DAQ API. However, the Visual Basic language changed between VB6.0 and VB.NET, so that's why you aren't be able to load the .BAS file directly into VB.NET.
You can try converting the declarations for VB6 to VB.NET syntax (see
Creating Prototypes in Managed Code at MSDN), but this is not supported by National Instruments. I have had varying success with this approach.
National Instruments does support the use of the new NI-DAQmx driver under VB.NET.
You can use this approach if your data acquisition device is supported by DAQmx (
NI-DAQ Driver Support for Windows). The latest NI-DAQ driver includes the .NET assemblies which you can use to program with.
David Mc.
NI Applications Engineering