The patches need to be pre loaded into the VST and then changed with PROGRAM CHANGE midi command. Not all VSTs support this and each VST has it's own way to preload the program numbers. In essence, you need to know what program number you loaded into the VST for each instrument and then use that program in your patch change MIDI command.
Sounds confusing but it is not.
Jim