AnsweredAssumed Answered

Check if file exists

Question asked by stanynek on Nov 6, 2012
Latest reply on Nov 9, 2012 by stanynek

have 2 parts question. I've file path loaded into textbox by user... I don't know what data type it is (File, mdb or shapefile.. vector or raster...).

1. I'd like to check if that file path exists. I can use System.IO.File.Exists, but it works only for shapefiles.
2. I'd like to add that file into ArcMap if it is possible. I know how to do this with File geodatabase, but again - I don't know what data type it is