>How is posible to send/receive Midi message through VFP?
You'd probably need to purchase an ActiveX control to manage the MIDI port - there's no internal mechanism built into VFP. Unless the application is database-intensive, it's likely that another language like VB would be a better choice for most MIDI applications I can think of.