I'm updating a program for the ADC-10 that I originally wrote in VB4 using the Pico sample code. Using VB4 this worked perfectly and the resulting software has given years of service with the ADC-10.
When I recently loaded the program code into VB6 I found that the adc10_open_unit(port, product) worked only once on the very first attempt with a freshly booted VB6. Subsequent attempts to run adc10_open_unit(port, product) did not open the ADC-10.
I then tried loading the Pico VB sample code into VB6. From a text box it appears it was written in an earlier version of VB. Again it ran on the initial attempt with a freshly booted VB6 but could not find the ADC-10 on subsequent run attempts.
I'm somewhat puzzled and would welcome any help or advice!