Hi,
I have folder "Icons". I need to access same inorder to add an icon to imageList. I'm using app.config file in that have a relative path. add key="doc" value="..\Icons_Microsoft Office Excel 97-2003 Worksheet.ico " and I'm using below code to add it to imgList ,however it throws "System.IO.FileNotFoundException".
smallImageList.Images.Add(Image.FromFile(ConfigurationSettings.AppSettings["doc"]));
Can anyone pls guide me.