You need to put the VNC path in two places, possibly with * or *.* on the end:
Right-click on the Avast sphere. Then, On-Access Protection Control -> Standard Shield -> Customize -> Advanced -> Add. Once you've put in the path, Enter and OK your way out.
Right-click on the Avast sphere. Then, Start Avast! Antivirus -> up-arrow in upper left corner -> Settings -> Exclusions -> Browse. Then browse to the path for your VNC app, and Enter/OK your way out
Dan