ResourceManager rm = new ResourceManager("Bastion.Database.svrBrowse",GetType().Assembly)DataGridViewImageColumn imgCol = new DataGridViewImageColumn(); Icon colIcon = (Icon)rm.GetObject("check-green.ico"); // Line Throws a Object reference not set to an instance of an object. Errorrm.ReleaseAllResources();