I want to use an USBADC11 card in Visual Basic 6
Searching this forum I found that there is no code in VB for the USB ADC11 card. In fact I have a picolog1216 but it seems to be compatible in terms of software.
I found inside the excel example a piece of code in VBA.
I copied into a VB module but it does not work. The example in excel works fine. In VB the handle returned by the UsbAdc11OpenUnit is zero always.
I don't understand why it works in excel and not in VB.
Any help is appreciated