Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default ASP to MS-Word

    Hi,

    I am sending the output of an ASP page in Word format
    (using Response.ContentType).

    Everything is all right, the out pus is in doc format, the
    user can save it etc.

    But the problem is,

    1)I want some header/footer text for this document.

    2) I also want table headers to be repeated in each pag
    (while viewing it in Print Layout).

    How could I do that?


    Any help...

    --surajIT

    Surajit Guest

  2. Similar Questions and Discussions

    1. Getting Word Count from MS Word files
      I would like to get the word count of MS Word files. I found a CFX tag on the exchange: CFX_FileSummary, but the download page is a dead link, as...
    2. Preventing MS Word Footers being used in word to pdf conversion
      Is it possible to stop Adobe PDF 6.0 pro from importing the page headers and/or footers on a batch of Word documents when converting the docuements...
    3. pdf to ms word ?
      Hi , Is there any modules to convert pdf documents to MS word documents? I din't find any in search.cpan.org. Thanks, Abhijit
    4. Editing Word documents in Perl (Openoffice Writer or MS Word)
      Hello, I want to read and edit openoffice / staroffice writer documents. Does anyone know of any modules for that? Ideally, I would've liked a...
    5. "Word too long" ? And exactly WHAT word might that be? Curious
      I have a script that runs fine, but on invocation in csh or bash or tcsh or ksh, the script reports: Word too long before a single line is...
  3. #2

    Default Re: ASP to MS-Word

    Surajit wrote:
    > Hi,
    >
    > I am sending the output of an ASP page in Word format
    > (using Response.ContentType).
    >
    > Everything is all right, the out pus is in doc format, the
    > user can save it etc.
    >
    > But the problem is,
    >
    > 1)I want some header/footer text for this document.
    You can use ADODB.Stream and response.binarywrite to include other files in
    your page.

    > 2) I also want table headers to be repeated in each pag
    > (while viewing it in Print Layout).
    <thead> but I think UA support is poor.

    --
    William Tasso - [url]http://WilliamTasso.com[/url]


    William Tasso Guest

  4. #3

    Default Re: ASP to MS-Word

    > But the problem is,
    >
    > 1)I want some header/footer text for this document.
    >
    > 2) I also want table headers to be repeated in each pag
    > (while viewing it in Print Layout).
    >
    > How could I do that?
    myLittleWriter allows you to do that but it generates RTF files and not
    real DOC files.
    You can have more info on [url]http://www.mylittletools.net/mlw[/url]

    Best regards


    el.c. - myLittleTools.net Guest

  5. #4

    Default Re: ASP to MS-Word

    Hi,
    Sorry but I dont get, how can I BinaryWrite the whole
    stream.
    There is no file in the filesystem, I am creating the file
    on the fly.

    regards,
    surajIT

    Surajit Laha Guest

  6. #5

    Default Re: ASP to MS-Word

    Surajit Laha wrote:
    > ...
    > There is no file in the filesystem, I am creating the file
    > on the fly.
    didn't see that - sorry. I have no experience of using MS-Office on a web
    server but AIUI MS-Word has the concept of headings etc. you can almost
    certainly create such things right there in your stream.

    alt: there is always iframe I suppose.

    --
    William Tasso - [url]http://WilliamTasso.com[/url]


    William Tasso Guest

  7. #6

    Default ASP to MS-Word

    Hi,
    Any more help please!


    Surajit Laha Guest

  8. #7

    Default Re: ASP to MS-Word

    "Surajit Laha" <anonymous@discussions.microsoft.com> wrote in message
    news:078c01c39923$02cf21e0$a301280a@phx.gbl...
    > Hi,
    > Any more help please!
    [url]http://support.microsoft.com/?kbid=257757[/url]

    --
    Tom Kaminski IIS MVP
    [url]http://www.iistoolshed.com/[/url] - tools, scripts, and utilities for running IIS
    [url]http://mvp.support.microsoft.com/[/url]
    [url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]



    Tom Kaminski [MVP] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139