It sounds like you are probably using the CWDAQ ActiveX control in VB6. In that case, unfortunately, there is not a way to get this information.
If you are using DAQmx, you could use the C API or LabVIEW or CVI to get this information, but it is not yet supported in the .NET or C++ APIs. If you need more information on calling C functions from .NET or C++, please post a reply to this message.
Unfortunately, this is not possible in Visual Basic. This functionality exists in LabVIEW, but it is not available through the ActiveX controls or NI-DAQ function calls.
Ta, I had a horrible feeling this was the reply I would get but Rats anyway!
I don't suppose anyone knows how to extract this info from the MAX config file? All I want to do is generate a list box with all my declared virtual channels (trying to save me typing them in more than once)