>I have created a DLL that I need to get the version number from. The problem is, FullPath(Sys(16,0)) returns the name of the class library file (d:\myappdir\mylib.vct), and there is no version information associated with it. If I do AGETFILEVERSION(myarr,"mylib.dll") it works just fine. Of course everything works when you try it from the command window. TIA
One way to do this is to look in the registry for HKEY_CLASSES_ROOT\
ProgID\CLSID, which will contain the GUID for the server. The registry key HKEY_CLASSES_ROOT\CLSID\
GUID\InProcServer32 will contain the full path of the .DLL file.