I just "doodled" a bit with this and it seems to be functional.
Years ago, I coded with Perl, and used something similar there, which had lots of capability, that may also be avail here.
When using the Perl implementation, I was able to modify some of the VB structures to set the Refresh rate...