Early binding results in error 432

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 reinstalling Office 2003, executing winword /r, and regtlib msword9.olb, but still have the problem. 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

Early Bindin
Dim obj1 As Word.Applicatio
Set obj1 = New Word.Applicatio
obj1.Visible = Tru

Late Bindin
Dim obj2 As Objec
Set obj2 = CreateObject("Word.Application"
obj2.Visible = Tru
 

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