View Single Post
  #1   Report Post  
scw-tzg
 
Posts: n/a
Default Encoding dlg shows up when automating Word 2003 mm

I am automating Word's mailmerge from a VB application.

Prior to VB code starting the mailmerge, I saved a data source as a text
file (actually saved by C++ code). The VB app sets this file as the data
source and then starts the mailmerge. One of my clients gets a File
Conversion dialog box that requests user to 'select the encoding that makes
your document readable.' If they press OK (selecting suggested value Unicode
(UTF-8)) one data source record will merge, then the dialog pops up again for
the 2nd record and continues to do the same for each record in datasource.
This is unreasonable of course, particularly because this application is
meant to run unattended.

This client is running the VB application on Win2K and automating Word 2003.
When I do the same, I do not get that prompt. They affirmed that the
'Confirm conversion at open' option is unchecked. Other clients use varying
combinations of Win2K/Win2KS/WinXPPro along with Word 2000/Word XP/Word 2003
and I haven't run across this problem before.

Does anyone have any idea... is there some other Word option(s) to be set?
.... Is this due to enhanced security issues? Should my controlling
application look out for this dialog and send it an OK if it finds it?

TIA