
OLE Automation Error Experienced with Word 7.0 not with Word 6.0
Quote:
>I have developed an application with VB 3.0, Jet Engine 2.0 which uses Access
>2.0. This application uses OLE to create a Word document. This application runs
>under Windows 3.1 or Windows95 when using Word 6.0, however,when I try and run
>it under Windows95 with Word 7.0 I get an OLE Automation Error "Microsoft Word
>Err - 1016 There is not enough memory to complete the operation. Can anybody
>give me some help with this because Microsoft sure can't!!! Thanks
Natalie,
Not sure if this helps (I'm having dificulty remembering the details
because it was a while ago!). I seem to recall that we had this error
message during development once when a developer was trying to make a
call between 16-bit and 32-bit environments. I think in this case it
was 16-bit Word (6.0) and a 32-bit app which Word was trying to
extract some data from. The lack of thunking problem caused Word to
generate strange messages - a consistent one of which was the
insufficient memory to complete operation.
We got around this by providing a thunking mechanism.
As Word 7 is 32-bit (at least I don't believe there is a 16-bit
version) it may be worthwhile trying the same operations from 32-bit
VB4.
Kevin Hodgson