Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
scw-tzg scw-tzg is offline
external usenet poster
 
Posts: 10
Default Security Update for Word 2003 (KB950241)

I have an application that automates Word to run Mail Merge (C++, Word2003).
We expect that a template document will be provided that has been set up as a
mail merge form letter with a header file attached and NO data source. Upon
installation of security update (KB950241), the process fails when the
template file is opened and we're checking that it is a Main mail merge
document with header file attached -- it has been changed to a Normal doc. I
see that when I open the template manually, I get the error "Opening this
will run the following SQL command" with a blank line following as there is
no data source information. When I select No in response to "Do you want to
continue", the document ceases to be a mail merge document. And based on the
information in KB825765, I see this is what I can expect when the process is
automated; since I have DisplayAlerts set to no, No is assumed as the
response to the dialog.

It seems to me that this takes unattended automation of mail merge
completely out of the picture, unless I have all my clients set up the
Registry hack (workaround) that essentially undoes the security update. And
what kills me is that I don't have a data source attached in the first place!


Can anyone recommend any solution other than applying the Registry
workaround? One thing I can consider is to apply this registry change
programmatically when I am about to open the template document, then remove
it when I am done with the merge. At least that leaves the security solution
intact any other time Word is used on the machine. Any comments?
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Security Update for Word 2003 (KB950241)

You could start with a template that is a normal Word document and then, a
new document is created from the template, use Code to convert it to a mail
merge main document and attach the header and data sources.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"scw-tzg" susan 1DOT wolitz AT trizetto 1DOT com wrote in message
...
I have an application that automates Word to run Mail Merge (C++,
Word2003).
We expect that a template document will be provided that has been set up
as a
mail merge form letter with a header file attached and NO data source.
Upon
installation of security update (KB950241), the process fails when the
template file is opened and we're checking that it is a Main mail merge
document with header file attached -- it has been changed to a Normal doc.
I
see that when I open the template manually, I get the error "Opening this
will run the following SQL command" with a blank line following as there
is
no data source information. When I select No in response to "Do you want
to
continue", the document ceases to be a mail merge document. And based on
the
information in KB825765, I see this is what I can expect when the process
is
automated; since I have DisplayAlerts set to no, No is assumed as the
response to the dialog.

It seems to me that this takes unattended automation of mail merge
completely out of the picture, unless I have all my clients set up the
Registry hack (workaround) that essentially undoes the security update.
And
what kills me is that I don't have a data source attached in the first
place!


Can anyone recommend any solution other than applying the Registry
workaround? One thing I can consider is to apply this registry change
programmatically when I am about to open the template document, then
remove
it when I am done with the merge. At least that leaves the security
solution
intact any other time Word is used on the machine. Any comments?



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why won't Security Update for Word Viewer 2003 (KB923276) install. blueskieswoman Microsoft Word Help 1 November 6th 06 01:09 AM
Word Freezing after security update 908531 (security bulletin MS06 V Burke Microsoft Word Help 0 June 1st 06 07:56 PM
MS Word locked after 8/13/05 MS Security update jpmcn Microsoft Word Help 2 August 16th 05 06:45 PM
WORD Security Update ATK31 Microsoft Word Help 4 April 30th 05 02:42 PM
Security Update for Word KM1 Microsoft Word Help 1 April 22nd 05 07:06 PM


All times are GMT +1. The time now is 03:33 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"