Getting Flash to talk to a Visual Basic or c++ App

Hey everyone,

I was just wondering if anyone out there has had any luck
trying to get a flash app to talk to either a visual basic or
c++ application?

I need to build a player [flash embeded into the vb or c++
application] that when the user say, pushes a button, calls
a function or action from within the app.

Any Idea How would I go about this?

Thanks in Advance

Aaron.