R
Rich
I am attempting to automate Word via VB6 - something I have done many
times in the past. However, I'm now getting an "Automation Error -
the specified module could not be found" error from the following test
code:
Dim o As Word.Application
Set o = New Word.Application
o.Quit
Set o = Nothing
I am running on XP Pro. I'm referencing the Microsoft Word 11.0
Object Library.
Attempted and failed resolutions:
1. Installed the latest and greatest MDAC components
2. Tried late binding
3. I can automate other Office products (Excel, Outlook) in this way
without problem. It's just Word that is producing an error.
I've seen this error a couple of other times on this board but I have
yet to see a suggested resolution that worked for me. Any help is
appreciated.
Thanks.
times in the past. However, I'm now getting an "Automation Error -
the specified module could not be found" error from the following test
code:
Dim o As Word.Application
Set o = New Word.Application
o.Quit
Set o = Nothing
I am running on XP Pro. I'm referencing the Microsoft Word 11.0
Object Library.
Attempted and failed resolutions:
1. Installed the latest and greatest MDAC components
2. Tried late binding
3. I can automate other Office products (Excel, Outlook) in this way
without problem. It's just Word that is producing an error.
I've seen this error a couple of other times on this board but I have
yet to see a suggested resolution that worked for me. Any help is
appreciated.
Thanks.