i am using this following code to restrict the "cash on delivery" payment method based on pin code.

/app/code/core/Mage/Payment/Model/Method/Cashondelivery.php 


Please check code here  

now if cash on delivery payment method is not visible means i want to display "cod is not available" under 

payment method. 

please help me to find solution.


Question: Visual Studio keeps changing resx files
Answer: Bit late, but this sounds like a problem I raised with Microsoft around Image Lists:https://connect.microsoft.com/VisualStudio/feedback/details/428868/png-files-corrupted-in-an-imagelist-when-opening-and-closing-a-form