I have been posting in the ASP.NET forums but this is in actual fact the best place to post I now think.

I'm creating an ASP.NET webpage that uses the Word Object Model to create word documents on the server.

I've managed to instantiate a word application but when I try to open a new document (oWordApp.Documents.Open) I get an error:

No overload for method 'Open' takes '16' arguments

I've had a scoot around the web and I found code opening a word document with 12 arguments but that gave me the error:

No overload for method 'Open' takes '12' arguments

Can anyone give me an example of a valid Open statement?

Help would be appreciated.

DJ