When you generate the menu in the menu designer, a new file (with an .mpr extension) is created that is the generated code. This can be executed by:
DO menucode.mpr
where menucode is the file name of the menu. You would have to select which menu code to execute in your code. Also, add the following to turn-off the normal menus: