M
mr
Using the simple code below with Word 2000. The early
binding generates the runtime error 432, file name or
class name not found during automation operation. The
late binding works fine. I have tried executing
winword /r and regtlib msword9.olb, but still have the
problem. I appreciate any help.
Early Binding
Dim obj1 As Word.Application
Set obj1 = New Word.Application
obj1.Visible = True
Late Binding
Dim obj2 As Object
Set obj2 = CreateObject("Word.Application")
obj2.Visible = True
binding generates the runtime error 432, file name or
class name not found during automation operation. The
late binding works fine. I have tried executing
winword /r and regtlib msword9.olb, but still have the
problem. I appreciate any help.
Early Binding
Dim obj1 As Word.Application
Set obj1 = New Word.Application
obj1.Visible = True
Late Binding
Dim obj2 As Object
Set obj2 = CreateObject("Word.Application")
obj2.Visible = True