I have been working on a vb.net project for the last month and part of the coding refrences microsoft office.
Until recently i had the Microsoft Office 2010 Trial Version installed on my machine and just switched to Microsoft Office 2007 and the refrences stopped working. I went into the project refrences and refrenced the Microsoft Office 12.0 Object libary but I am still getting errors.
Previously I had this and it worked
Imports Microsoft.Office.interop.word
Public Class Form2
Dim thisDoc As Word.Document
Now its not working at all. What am i doing wrong?
Thank you in advance.
Until recently i had the Microsoft Office 2010 Trial Version installed on my machine and just switched to Microsoft Office 2007 and the refrences stopped working. I went into the project refrences and refrenced the Microsoft Office 12.0 Object libary but I am still getting errors.
Previously I had this and it worked
Imports Microsoft.Office.interop.word
Public Class Form2
Dim thisDoc As Word.Document
Now its not working at all. What am i doing wrong?
Thank you in advance.