Using Word Interop Assembly

M

Mark Rae [MVP]

The letters are finalized and approved before printing but I just want to
concentrate on replacing the mailmerge of SQL data with the templates. The
tool must allow endusers to create and make changes to the form letter
templates.


Whoa...!

We've now moved quite a distance away from getting ASP.NET to churn out a
Word document from a mailmerge operation - now you're saying that you need
the users to be able to create and/or amend the mailmerge templates - in a
browser...???

If that is really what you mean...?
 
N

Nick

Mark Rae said:
Whoa...!

We've now moved quite a distance away from getting ASP.NET to churn out a
Word document from a mailmerge operation - now you're saying that you need
the users to be able to create and/or amend the mailmerge templates - in a
browser...???

If that is really what you mean...?
MS Word is used create and/or amend the mailmerge templates.

ASP.NET will be used to provide a user interface to select SQL Data combine
it with the mailmerge templates and send create a Word document of form
letters. The old application is VB form application on WinXP connected to a
DCOM application running on Windows 2003.
 
M

Mark Rae [MVP]

MS Word is used create and/or amend the mailmerge templates.

That makes things a whole lot easier...
ASP.NET will be used to provide a user interface to select SQL Data
combine it with the mailmerge templates and send create a Word document of
form letters.

No problem, then...

1) The user selects the data - ASP.NET either populates a DataSet in memory,
or writes out a temporary CSV file.

2) The user selects the template to use from a DropDownList populated with
the GetFiles method of the Directory object in System.IO

3) ASP.NET uses Aspose to create a new Word document via mailmerge using the
data selected above

4) You save this document somewhere and provide a hyperlink for the users to
click and download it, or you stream it down to them so that it loads in
their browser - not recommended if the document is large...

5) The user checks the document, makes changes as requred, and then prints
it.
The old application is VB form application on WinXP connected to a DCOM
application running on Windows 2003.

I'm sure it did - but ASP.NET can't...
 
N

Nick

Mark Rae said:
That makes things a whole lot easier...


No problem, then...

1) The user selects the data - ASP.NET either populates a DataSet in
memory, or writes out a temporary CSV file.

2) The user selects the template to use from a DropDownList populated with
the GetFiles method of the Directory object in System.IO

3) ASP.NET uses Aspose to create a new Word document via mailmerge using
the data selected above

4) You save this document somewhere and provide a hyperlink for the users
to click and download it, or you stream it down to them so that it loads
in their browser - not recommended if the document is large...

5) The user checks the document, makes changes as requred, and then prints
it.


I'm sure it did - but ASP.NET can't...

I get it. Aspose.Words for .NET is recommended over MS Word Automation on
Windows 2003. Let me check out the trial version first.

Thank you for your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,577
Members
45,054
Latest member
LucyCarper

Latest Threads

Top