Install Add-In as compiled version (accde) #435
Replies: 5 comments 4 replies
-
Interesting... Personally, I prefer the ability to debug and step through code in the add-in project. You are certainly welcome to run the add-in as an accde, but I believe the greater number of users prefer the accda format. (Others can feel free to chime in here and we can see what the response is like from the developer community.) |
Beta Was this translation helpful? Give feedback.
-
Since the add-in function is now called with Application.Run using the full name, a compiled add-in also works without problems. |
Beta Was this translation helpful? Give feedback.
-
Just adding a further note here for future reference... It appears that there are some limitations that affect add-ins compiled as
Due to these limitations, I would generally recommend installing the add-in as a non-compiled version, unless there is a specific reason or requirement to utilize the compiled version. That being said, it does support the compiled option for now, but we may review that in the future if we encounter a lot of issues affecting end users. Update@josef-poetzl actually helped me work through the last two issues, so this may not be as big of a problem after all. 😄 |
Beta Was this translation helpful? Give feedback.
-
If execution from the compiled add-in causes problems, an attempt is made to change something in the add-in. Trick: activate the appropriate VBProject.
/edit: upd. ActivateCurrentProject |
Beta Was this translation helpful? Give feedback.
-
Why would you even want to start a procedure in the current application using the full path?
or
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I like to install add-ins as accde so that the built-in error handling runs stably, since I usually develop with option "Break on All Errors".
This feature is easy to install:
see: https://github.com/josef-poetzl/msaccess-vcs-addin/tree/Create-compiled-add-in-file
Note: In the form frmVCSInstall I added a checkbox for the selection if an accde should be created.
Beta Was this translation helpful? Give feedback.
All reactions