Cannot use early binding

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
 
G

Guest

Similar code for Excel works on this machine for both
early and late binding. Does anyone have any ideas?
Anyone have a link that explains how early binding works
down to the registry? Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top