file manipulation

Results 1 to 2 of 2

Thread: file manipulation

  1. #1
    Mikk Guest

    Default file manipulation

    I'm trying to use the FSO to copy the contents of a Microsoft Word document into a txt file for conversion to htm. It doesn't seem to be working. The text file contains only about 6 characters of gibberish afterwards. Does anyone how to do this or if cannot be done for sure? Thanks.

  2. #2
    James W. Guest

    Default RE: file manipulation

    It cannot be done using FSO. The .doc is in a format readable only by MS Word. There are two basic options that I can think of:<BR>1) have the doc saved as txt (possibly rtf). You&#039;d lose the formatting.<BR>2) convert the .doc using VBA, which can be done via ASP or better, a custom made .dll. Downfall is the document has to be opened, which may allow macros to run. This also requires Word to be installed on the server

Posting Permissions

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