Only way I see it happening is by
- Opening a general txt or xml data file
- Then open that txt file in OpenCV, write your communication
- Close txt file in OpenCV
- Read in data in VB and process
- Again close the file in VB (due to access rights)
- Open the changed data in OpenCV
However, you can edit RGB ( remember OpenCV uses BGR ) and HSV values through OpenCV, why go around using VB?