You don't need to make the calendar an int. In this code you are calling the setcalendar() method. However, the setcalendar method is declared as which means you need to pass an integer value which represents a year. So, as an example, to pass this year as an argument, you change your code to
Joined: Nov 15, 2006
problem sovled!!!thanks everyone!!!
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
subject: cannot apply...wrong type or wrong operator?help please!