Hi everybody,
do you now a possibility to show the AliasNames of a shapefiel with vb.net?
The IFields Interface does not provide this functionality as the help says:
IField.AliasName Property: "This is only supported on fields from object classes and feature classes that are registered with the geodatabase; Personal, File or ArcSDE geodatabases. For fields coming from other data sources (shapefiles, coverages, etc) the AliasName will be the same string as the field name."
Any other idea?
Thanks for any help
Selda
You can't show what isn't there. In other words, there is no builtin facility for giving fields an alias. If your data source does not support it directly then you have to do it. You can implement aliases yourself by saving them in a database table, a file, or as an ArcGIS extension. (I considered developing an extension myself but the down side of that is that the user of your map must have the extension. It seemed much simpler just to store the settings in a file and read them whenever the user needed to select a field.)