Why the program operated well in Macro meets error in App creation

Hello Specialist:
            I finished a program using addin macro and it works well. Now I try to create App but it will report error, such as enumeration and below, could you please give advice how to do? Thank you.

Answers