Kean,
I found an example for using the VISA with the TCPIP in VB6, starting page 72. copy edited and tested it. I found that using the win-sock, the data transfer is a little faster.
https://cdn.teledynelecroy.com/files/manuals/t3vna-programming-manual.pdfLeave the USB/TCP on USB.
Use the "Connect TCP VISA" for using the VISA communication... "Find and Connect" will revert to the USB/TCP Connection.
Your Rigol's IP address needs to be put in the box where I have my 192.168.0.155.
I tried 192.168.000.155 this did not work, it does not like the "000"
Using the VISA, the analyzer is put into RMT mode, however using the Win-sock it was not put in RMT mode.
I tested it on my RSA5065-TG.
Kean if the code won't load for you I can pull the Win-sock, and re-post for you. Thank you for the feedback, and making me learn new things.