I'm writing an app in VB6 to use Word 2003 to send out the result of a Mailmerge to Emails
At .Mailmerge.Execute it actually works - puts the emails in Outlook's Outbox - but then it Errors giving the error message:
Automation error: "The object invoked has disconnected from its clients"
Is there something I'm doing wrong here? If so how can I fix it?
I have cleanup code that no longer runs after the Execute statement - and will have to be recoded if I can't solve this.
Help much appreciated.
Clive Elsworth (London UK)
Could it be the problem with unqualified objects described in
http://support.microsoft.com/kb/319832
?
Peter Jamieson
I'm writing an app in VB6 to use Word 2003 to send out the result of a Mailmerge to Emails
At .Mailmerge.Execute it actually works - puts the emails in Outlook's Outbox - but then it Errors giving the error message:
Automation error: "The object invoked has disconnected from its clients"
Is there something I'm doing wrong here? If so how can I fix it?
I have cleanup code that no longer runs after the Execute statement - and will have to be recoded if I can't solve this.
Help much appreciated.
Clive Elsworth (London UK)
Clive - 13 Mar 2007 18:15 GMT
Yes.
Thank you very much!
Could it be the problem with unqualified objects described in
http://support.microsoft.com/kb/319832
?
Peter Jamieson
"Clive" <clive.elsworth@takeoutonetel.net> wrote in message news:usBBXnXZHHA.4616@TK2MSFTNGP03.phx.gbl...
I'm writing an app in VB6 to use Word 2003 to send out the result of a Mailmerge to Emails
At .Mailmerge.Execute it actually works - puts the emails in Outlook's Outbox - but then it Errors giving the error message:
Automation error: "The object invoked has disconnected from its clients"
Is there something I'm doing wrong here? If so how can I fix it?
I have cleanup code that no longer runs after the Execute statement - and will have to be recoded if I can't solve this.
Help much appreciated.
Clive Elsworth (London UK)