473,387 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Merge to Word

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
Jul 21 '05 #1
2 1531
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."

Jul 21 '05 #2
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

"Kevin Yu [MSFT]" wrote:
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."

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: William Wisnieski | last post by:
Hi Everyone, Access 2000 I have some code behind a button that performs a word merge with a query data source. The merge works fine. But what I'd like to do somehow is after the merge is...
5
by: stemc © | last post by:
Hi there, In work, we often mail merge letters and post them to contacts. But more and more, we've been emailing information to people instead. So far, I've been writing a single generic...
2
by: Aaron | last post by:
hello, i am perfoming a mail merge with the following code. Public Function MergeIt() Dim objWord As Object Set objWord = GetObject("C:\MyMerge.doc", "Word.Document") ' Make Word visible....
8
by: Squirrel | last post by:
Hi everyone, I've created a mail merge Word doc. (using Office XP) , the data source is an Access query. Functionality I'm attempting to set up is: User sets a boolean field to true for...
8
by: Darryl Kerkeslager | last post by:
I hope that although this is 25% Access and 75% Word, that someone will know ... The whole problem here arises because 1) Microsoft acknowledges an 'issue' wherein TextInput type FormFields are...
3
by: Andy Davis | last post by:
I have set up a mail merge document in Word 2003 which gets its data from my Access 2000 database. I want to set up a button on a form that: 1. runs the query to provide the dat for the merge...
4
by: lesperancer | last post by:
I have 3 tables (office97) tblQuote quoteNbr tblDetails ( quote : 1 <-> M: quoteDetails) quoteNbr detailLine product value
8
by: Ron B | last post by:
Help!!! What am I doing wrong? I am working with Office 2003 and am trying to create a command button on an Access form that will create a mail merge in Word from an Access table. I want to...
7
by: giladp1 | last post by:
I found Albert Kallal's great "Super easy Word Merge" code in his site at: http://www.members.shaw.ca/AlbertKallal/msaccess/msaccess.html Thanks Albert so much for sharing this. I am looking...
1
by: Esther Lane | last post by:
Hello! First off, many many thanks to Albert who wrote the Mail Merge code for MS Access I am using. It has been working beautifully for a few years. However, my client just (without notice!)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.