FileSystemObject WriteLine Question

Results 1 to 2 of 2

Thread: FileSystemObject WriteLine Question

  1. #1
    Jason Guest

    Default FileSystemObject WriteLine Question

    I&#039m creating an asp code to write out an html file (template) using the filesystemobject. The content for the html page is input via a form-- the problem is when someone puts content in the form with a quotation mark, the asp stops writing at the quote. i can get the asp to preview the content with the Server.HTMLEncode feature, but the WriteLine quits writing at the quote. i do not want the user to have to type in & q u o t e ; can anyone help?? <BR><BR>thanks so much <BR>jason

  2. #2
    Join Date
    Dec 1969

    Default RE: FileSystemObject WriteLine Question

    Just before you write the string replace the quotes by & quot;<BR>For example: strX=replace(strX,chr(34),"& quot;"), ignore the space in between the & and the q.

Posting Permissions

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