Discussion:
What's HRESULT 0x800A1066? (in Word 2003 OLE Automation)
(too old to reply)
Enrico Pangan
2005-02-21 11:05:40 UTC
Permalink
I get this unknown error (HRESULT 0x800A1066) when opening a Word file
using MS Word 2003 Automation. I searched the MSDN website and no
results were found. I also searched Google Groups much to no avail. I
searched the rest of the web, same thing.

Please help me. I'm stuck. :-(

(I discovered somebody from this newsgroup also reported this error but
he got no replies. That was in 1998 and he/she was using MS Word 97
Automation. I hope after 7 years, I'll be luckier.)
Enrico Pangan
2005-02-22 12:44:16 UTC
Permalink
Post by Enrico Pangan
HRESULT 0x800A1066
I found the answer. I mistakenly passed BSTR("") instead of the actual
file path for file name. Stupid me. ;-)

But still, HRESULT 0x800A1066 should still be in Microsoft's
documentation. So much time wasted figuring that one out. :-(

Hope this post helps future googlers who may have made the same
mistake.

Loading...