DEFINE CLASS object AS Session OF OLEPUBLIC appName = "" DIMENSION appName_COMATTRIB(4) appName_COMATTRIB[1] = COMATTRIB_HIDDEN appName_COMATTRIB[2] = [Application Name] appName_COMATTRIB[3] = [appName] && This COMATTRIB keeps the capitalization you specify. If you specified appName, after build it will keep as appName. if you specified ApPnAmE, it should be ApPnAmE after the building appName_COMATTRIB[4] = [String] *-- Put the rest of implemetation of the COM here ENDPROCI think it takes care of all,