Export to word

J

Jonathan

Hi everyone

lain new to asp and am getting really good at writing basic reports

what I want to do is be able to let users export these report results into
word - I know I'right click allows users to export to Excel but I to export
txt not digits

is this possible ?

Tia

Jonathan
 
K

Kevin Spencer

Hi Jonathan,

It's certainly possible, but not by any means easy. You would have to write
a server-side app that uses the Word COM programming interface to create a
Word document. You would also have to write something that requests the page
via HTTP, and gets the result as a file stream. The File Stream could then
be programmatically imported into the Word document. Then the Word document
would be returned to the client. Note: This is a VERY simplified account of
what would be needed.

It would require expert programming skill.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
 
J

Jonathan

Thanks for that Kevin, I didn't think it would be easy - I think my users
will have to make do with the inbuilt "export to Excel" function and do it
from there.

Once again, thank you.
 
S

Stefan B Rusynko

Word (2000+) can open any Html doc
Just have them save the report page as Html and open it in MS Word




| Thanks for that Kevin, I didn't think it would be easy - I think my users
| will have to make do with the inbuilt "export to Excel" function and do it
| from there.
|
| Once again, thank you.
|
| "Kevin Spencer" wrote:
|
| > Hi Jonathan,
| >
| > It's certainly possible, but not by any means easy. You would have to write
| > a server-side app that uses the Word COM programming interface to create a
| > Word document. You would also have to write something that requests the page
| > via HTTP, and gets the result as a file stream. The File Stream could then
| > be programmatically imported into the Word document. Then the Word document
| > would be returned to the client. Note: This is a VERY simplified account of
| > what would be needed.
| >
| > It would require expert programming skill.
| >
| > --
| > HTH,
| >
| > Kevin Spencer
| > Microsoft MVP
| > ..Net Developer
| > What You Seek Is What You Get.
| >
| > | > > Hi everyone
| > >
| > > lain new to asp and am getting really good at writing basic reports
| > >
| > > what I want to do is be able to let users export these report results into
| > > word - I know I'right click allows users to export to Excel but I to
| > > export
| > > txt not digits
| > >
| > > is this possible ?
| > >
| > > Tia
| > >
| > > Jonathan
| >
| >
| >
 

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

Top