The simplest way is "MIDI Learn". Right click the knob, select "MIDI Learn", turn knob on controller, done.
The only problem is when that message is already controlling something else... then you should find what that "else" is. That is VST specific.