User Profile

Collapse

Profile Sidebar

Collapse
jc9861
jc9861
Last Activity: Dec 7 '15, 06:50 PM
Joined: Nov 12 '15
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jc9861
    replied to ASP writeline command Parameter
    Correction... it's because Foreign characters makes the error. My question would be: How to write Chinese characters into a text file?

    Thanks
    See more | Go to post

    Leave a comment:


  • jc9861
    started a topic ASP writeline command Parameter

    ASP writeline command Parameter

    I can get the username from user's input and I need to write it to a text file. Anyone knows the

    Code:
    <%
    xName = "My name is: " + username
    
    set fs=Server.CreateObject("Scripting.FileSystemObject")
    set f=fs.CreateTextFile(NewFilePath,true)
    f.writeline(xName) ??? what's the correct parameter?
    f.Close
    set f=nothing
    set fs=nothing
    %>
    See more | Go to post
    Last edited by Rabbit; Nov 12 '15, 05:11 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data.
No activity results to display
Show More
Working...