2 Replies Latest reply on May 13, 2009 2:32 PM by dhollebeek

    Change / set the order in which Add–ins load in ProcessBook.

    arash.khoddamy

      Hi everyone,

       

      I have written several different Add–ins for ProcessBook I want to know how can I change / set the order in which they load in ProcessBook.

        • Re: Change / set the order in which Add–ins load in ProcessBook.

          I don't believe there is any setting (registry/ini) that can specify the order from ProcessBook.

           

          I have read somewhere that addins for Microsoft applications are loaded in reverse alphabetical order, maybe ProcessBook inherits this too? (Haven't tested this)

           

          Failing all that an unreliable method () you could adopt is to have a loading addin that has its startup behaviour set to loaded, whilst your other addins set to not loaded.  Then in the loading addin you specify & control the order in which other addins are loaded/started.  Problem with this being a user could change the startup behaviour...

          • Re: Change / set the order in which Add–ins load in ProcessBook.
            dhollebeek

            The add-in loading is actually handled by VBA not ProcessBook, so it's whatever order Microsoft decides (and I don't know off hand what order that ends up being).  One possible thing to try would be to make Add-In B have a reference to Add-In A.  Hopefully this would cause Add-In A to load first.  That assumes that VBA is smart enough to negotiate the load order based on what refers to what and that having Add-Ins reference each other isn't inherently bad (I've never tried).