Hello,
I recommend you to do direct function calls to NI-IMAQ and NI Vision function libraries from Visual Basic as this will be a lot more efficient and improve rubustness of your application. During the installation of both software, you have the option to include support files for Visal Basic. Once these components are installed you should see the shipping examples in the following directories (if installed in the default path):
(NI-IMAQ) C:\Program Files\National Instruments\NI-IMAQ\Sample\VB
(NI Vision) C:\Program Files\National Instruments\MeasurementStudio\VB\Samples\IMAQ
There are additional examples that can be found in the Code Library (see the link on the left sidebar).
Let me know if you have further questions regarding this issue.
Regards,
Yusuf C.
Applications Engineering
National Instruments