PB VBA vs PB Addin with ActiveView

Discussion created by AlistairFrith on Mar 16, 2009
Latest reply on Mar 18, 2009 by RJKSolutions

Our customer wants us to develop a dashboard system to be viewed using ActiveView. I am creating some demo / prototype dashboards using VBA at the moment but would like to do it in a neater fashion if possible. I was wondering what the ActiveView implications would be of developing the dashboard creation code as a ProcessBook addin.


The advantages that I can see are:

  1. I get to code in a better development environment and language of my choice (VBA has many shortcomings, C# and VB .NET are both superior)
  2. The code to generate the displays can be separate from the displays themselves

The disadvantages are:

  1. I am not as familiar with writing addins as I am with VBA, although I have access to the webinars and VS2005 addin templates.
  2. I do not know if ActiveView is compatible with addins.

Does activeviewsupport Processbook addins? If not the display creation could be done in PB by an addin for viewing separately in ActiveView but custom behaviour would still have to be created as VBA modules. Could an addin create VBA code modules in the display to implement any custom behaviour? I know I have experienced problems trying to get PB VBA to write code modules since the module being written gets parsed before it is complete and the whole thing falls over. Can an addin get around this by putting PB into build mode while it creates modules?


--- Alistair.