Could you please attach the link to the example to take a look into it.
Maybe the problem is that the program uses a task that you haven't created in MAX and it can't find that.
Thank you very much for your answer!!
The link is http://www.ni.com/swf/demos/us/mstudio/vb6daq/default.htm, we have copied the steps that the example gives but is possible that we have forgot anything!! If you could say us what is we'll be very thanked you!!
Then, is valid the 5.0 version of VB?
I have seen that the link is a video demo and as I have said previuosly, at the begining, an analog input task is configured and created in MAX ( Measurement and Automation Explorer ). Then, this taks is used in the Visual Basic example. So, did you create the task? If not, please do it and maybe you will not have that error.
I hope this helps.