473,382 Members | 1,421 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,382 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 1530
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!)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.