Hey There all you clever people. Its Ruan here.
I am using vb 2010, and i really would like to Just open, not modify a word document.
Now i have browsed the internet, and this is what i have found..
in project menu>refferences> select .. microsoft word 9.0 object library
Private Sub Command1_Click() Dim objWord As Word.Application ' this would be faster with a "with objWord" but for clarity I use the explicit Set objWord = New Word.Application objWord.Visible = True objWord.Documents.Open "c:\sql performance tips.doc", , , True End Sub
Now, my problem is, that i only have microsoft word 14.0 object library
So now it throws me "Word.Application" unknown errors
I have no idea what to do now?
Does any body now of new code i should add, or another reference?
Edited by Mr.BunyRabit: n/a