I'm trying to write an ActiveX control for my project in Visual Basic (It's a lot easier for me to debug VB than Lua, and I'm a lot better at it). However, I don't know how to expose properties, call functions or retrieve their results from MMF--the only thing I've figured out how to do is expose the variables to it.

Does anybody know how to do this stuff?