Early binding results in error 432

Early binding results in error 432

Post by bXI » Mon, 09 Feb 2004 11:01:07


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