Cubase to match a MIDI track output to the appropriate MIDI port in VE.
Since we're at it...
1) Very first thing: Open the VE server. Add your viframe.
2) Open Cubase, load your project.
3) Open the VST Instruments window (option in one of the menus). Insert a VE plug-in instance. (if you have no idea what I'm talking about >>> Cubase manual). Close the VST Instrument window.
4) Track list, insert (create) a new MIDI track (or use the one Cubase probably asked you to create by default when you added VE).
5) On the Track Inspector, first section within the MIDI track contains all the basic set-up config. Assign the MIDI port there (just click around if you don't know how until you see the VE ports pop up), and MIDI channel. Voila.