I'm using this code to transfer html tags from from my database to an html file. However, during the writing process two "s are added to the front and back end of the file because it's a string. How can I write to a file and not include the "s? The codes still launch ok and I can preview what it's going to look like but the "s detract from the look.

VB Code:
  1. Dim temppath As String, slength As Integer, strFilename As String, strTags As String
  2. Dim tagfile As SHELLEXECUTEINFO
  3. temppath = Space(255)
  4. slength = GetTempPath(255, temppath)
  5. temppath = left(temppath, slength)
  6. strFilename = temppath & "tmptags.html"
  7. strTags = Tags.Value
  8. If Dir(strFilename) <> "" Then Kill (strFilename)
  9. Open strFilename For Output As #1
  10. Write #1, strTags
  11. Close #1
  12. With tagfile
  13.      .cbSize = Len(tagfile)
  14.      .hwnd = Me.hwnd
  15.      .lpDirectory = temppath
  16.      .lpFile = temppath & "tmptags.html"
  17.      .lpVerb = "open"
  18.      .nShow = SW_SHOWNORMAL
  19. End With
  20. Call ShellExecuteEx(tagfile)