Merge to Word

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I have an asp.net app thrat merges to Word. It prepares an xml file by using
the old ADODB library to save a recordset (myRecordset.Save(XMLPath,
ADODB.PersistFormatEnum.adPersistXML), then downloads the file to the user
and uses client script to do the merge. Very similar to the way I did it with
ASP a few years ago.

ASP.NET version has been working very well for 9 months. User has to
configure I.E. settings tyo allow ActiveX to run from the site, and still
gets warning every time about running ActiveX.

Is there a more polished approach available (without buying expensive thrid
party tools)? Want to get rid of the vbscript if possible and want to
dispense with ADODB.

Any ideas/pointers would be appreciated.

David
 
Hi David,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to get rid of the warning
message to run an ActiveX on the client side. If there is any
misunderstanding, please feel free to let me know.

As far as I can see, this is a good practice to download the xml to client
side and merge them. To me, this is the only way I can imagine. If you need
to get rid of the prompt to download the ActiveX, you can try to add you
site to Trust Sites in IE. Set IE's Trust Sites security to low, and
customize the security setting to enable all ActiveX activities without
prompting.

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
Hi Kevin

Driving Word mail merge via vbscript has served us well. But sometimes we
want to interact with Word in a more intense way to customise the merged
documents (which we do in our regular client/server apps).

I'm thinking that we need a Smart Client to retrieve the data via web
services, and then we can interact with word using C# and have the full
capabilities of the machine at our disposal.

David
 
Hi David,

Using a smart client is also a good idea. However, we have to discard all
the existing code.

Thanks for sharing your idea with all the people here. If you have any
questions, please feel free to post them in the community. The following
newsgroup is fine for posting word automation questions for the merging
process.

microsoft.public.office.developer.automation

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
Back
Top