G
GerryM
I'm trying to automate a mailmerge, similar to KB828550. I'm using Windows XP
(SP2), Office 2003 (SP1), VB6.0 (SP6), have WindowsScript 5.6 installed, and
have verified that the Word.Application key in the registry is correct and
that the Normal.dot template is, well, "normal". The program (this part is
copied from KB828550) starts out with
Dim oApp as Word.Application
oApp = CreateObkect("Word.Application")
...
The first problem is the Dim statement, which hangs. Changing the statement
to just
Dim oApp
lets execution go on to the next statement which, however, causes Error 429:
ActiveX component can't create object.
What's going on here, and how can I fix it?
(SP2), Office 2003 (SP1), VB6.0 (SP6), have WindowsScript 5.6 installed, and
have verified that the Word.Application key in the registry is correct and
that the Normal.dot template is, well, "normal". The program (this part is
copied from KB828550) starts out with
Dim oApp as Word.Application
oApp = CreateObkect("Word.Application")
...
The first problem is the Dim statement, which hangs. Changing the statement
to just
Dim oApp
lets execution go on to the next statement which, however, causes Error 429:
ActiveX component can't create object.
What's going on here, and how can I fix it?