wfetherolf
13 years agoOccasional Contributor
Code Associations with User Forms
I have created a set of user forms, along with a script unit to control the events on the forms (button clicks and form loads). I want to use these forms in multiple projects. When I import the forms and run my project, the event associations are gone, and I get errors in the log similar to the following:
Type Message Time Priority Has Picture Link
Unable to execute the "OnShow" event of the "Root_0AA8315E_7F1E_44C7_9CC8_9A3C7AF4B163" object. The "RunConfig_OnShow" method cannot be found or it has an invalid number of parameters. 11:50:22 0
If I re-associate the event, it breaks the event associations with projects I've configured before.
How can I prevent having to reconfigure the form every time, or having to re-associate my events for each project, while maintaining the common code location for all the projects?
Thanks for your help,
Will
Type Message Time Priority Has Picture Link
Unable to execute the "OnShow" event of the "Root_0AA8315E_7F1E_44C7_9CC8_9A3C7AF4B163" object. The "RunConfig_OnShow" method cannot be found or it has an invalid number of parameters. 11:50:22 0
If I re-associate the event, it breaks the event associations with projects I've configured before.
How can I prevent having to reconfigure the form every time, or having to re-associate my events for each project, while maintaining the common code location for all the projects?
Thanks for your help,
Will