Hi
After Installing (and running) Bentley Map SS3 Beta 2 something funny has happen to VBA both in SS3 and in SS2 version of Bentley Map. VBA ha stopped accepting classes from the XFT object as ByRef parameters when calling function between two mvba applications. How ever vba still accepts classes from the Dgn object.
Moving the functions to the calling application solves the problem, but that means that all my common function has do be duplicated into one and every Mvba application -- not very funny :-(
Is there any hope that this strange behavior will end when installing the official release of Bentley Map SS3 ?
I have also seen strange behaviour when I have BETA SS3 AND other version of Bentley Map installed on the same machine. I usually uninstall one or the other and do a repair on the remaining version and then my problems go away. Especially if the BETA SS3 is the enterprise tier.
I think this could be caused by COM registration. If it's the case, then we have had this behavior in previous releases as well. The last installed version has its COM objects registered so when you run in that version, VBA should work well.
The workaround to this is to start Bentley Map "as administrator" in Vista or Windows 7, which enables registration of COM objects at startup. You must do this every time you run, for all versions, for this to work properly.
Hope this helps,
Martin