First steps with NetOffice

Aug 13, 2014 at 8:39 PM
Edited Aug 13, 2014 at 8:40 PM
I'm a VB.NET amateur programmer, and I'm developing a new application to help my coworkers and myself in my job. It involves things like opening and saving documents, searching and replacing within its contents, and reading, creating and sending e-mails automatically

I'm already able to deal with Word.Application and Outlook.Application in late-bound fashion, and even was able to listen to some of Word's events, using things I learned in this site.
But a similar event listener didn't work for Outlook, and, to speak frankly, building my own wrapper for late-bound Office Applications lays far beyond my rookie abilities.

Therefore, I would like very much to use NetOffice in my project (namely for Word), however when I reference the dlls, all I have is some namespaces, including one named WordApi, but I can't find a Word class which I can instantiate and run my code against its members.

I don't know if I'm doing something wrong. I tried to reference the DLLs directly in VS2010Express (which is the one I normally use), and tried it also using NuGet with VS2013Express, with the same results.

What would it take, in very simple terms, to embed NetOffice assemblies inside a VB Windows Forms project, and use the code I already have for things like opening and saving documents, searching and replacing within its contents, and reading, creating and sending e-mails automatically?

Thank you already for any help anyone can offer me.
Aug 14, 2014 at 11:19 PM
In other (and simpler) words, how do I get to have the Word.Application, Excel.Application and Outlook.Application classes available in my project?
Which steps should I take from, let's say, if I had an empty Windows Form Aplication with one form and three buttons, and wanted each one of them to start a new instance of each of those three applications?
If someone can help me with that, I whink I can walk my further way alone. Thank you very much!