>>The procedure runs fine when I test it as a *.app but not when I run it as an *.exe file.
>
>What version of Fox do you use? You have to compile the program for it to be useable, which you could do in the runtime (the .exe) starting in VFP6 SP3 and later using the COMPILE command.
I use version 7 with lastest SP's.
I was making the object variable oMenuPro and making it private. I solved the problem by making oMenuPro a property of the MenuLib class and firing "= this.oMenuPro.Procedure1" when the bar is selected rather than "= oMenuPro.Procedure1".
This work around works and this a better way to do it. I still do not know why the first solution worked when I ran as an *.app file and did not work when I ran it as a compiled *.exe file.
Best Regards
Don Simpson