Processbook VB code to get list of Aliases for a UnitModule from PI AF

Discussion created by gkrueger on Dec 9, 2011
Latest reply on Jan 25, 2012 by gkrueger

Can anyone provide me some guidance on how to get a list of aliases for a UnitModule using the AF SDK but in VBA in ProcessBook?  I've searched the forum a bit and it appears that I need to do something with a .NET Add-in wrapper in order to expose the AF SDK in VBA.  I don't have any real experience with .NET and I was wondering if there was a procedure somewhere I could follow, or some pre-built code that would be straight forward to implement that would help me get this done. 


If I'm going to need to go out and get a .NET book or a take a class to learn how to do this stuff, I understand, I figure I would just ask to see if there's a way to get an out of date COM programmer like myself up to speed quickly to do a specific function like this.


I did figure out how to do this using the PI SDK with Module Database objects and methods, but it sounds like the MDB may be going away eventually, so I don't want my displays becoming obsolete too soon.