This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Please use ctrl-C ctrl-V to copy your code, so as to avoid spelling errors like
You ought not to use the == operator to check objects (which includes Strings); try
instead. And make sure that you are using exactly the correct spelling for ALL. Have you really declared "double d" in the if? In that case the code won't compile in the first place. PostRealCode, please.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com