I am new to sharepoint 2010 and i have Sharepoint 2010 Foundation installed on server. To open word document in browser i had installed Microsoft Office Web Apps on the server and configured it and set the default open behavior to it as well. Now the requirement is i want to progmatically create new word document and want to add some predefined content in it using the code and after that i need to store that document in the library and then after open that document in word web app viewer as well. And also want this same process for the excel file as well.
Please tell me what i need to do to achieve this requirement.
Thanx in advance, your response is appreciated.