Guest_imported
New member
- Jan 1, 1970
- 0
hi,
i am creating a web site using asp. There i need to create rtf files very often. but when i use the following script
<%
set objFSO = Server.CreateObject("Scripting.FileSystemObject"
set objTStream = objFSO.CreateTextFile("c:\NewFold\test1.rtf",true,true)
objTStream.WriteLine "At last i can create files with vbscript"
objTStream.WriteLine
objTStream.WriteLine "Here are thee blank lines : "
objTStream.WriteLine
objTStream.WriteLine "Here are thee blank linesasdf : "
objTStream.WriteLine
objTStream.WriteLine "Here are thee blank linesasdf : "
objTStream.WriteBlankLines 3
objTStream.WriteLine "....... and this is "
objTStream.WriteLine "Thank you, this is shiva "
objTStream.close
%>
even it is saving under .rtf extension but not actually in rtf format only saving as text format.
if you help me how to sava a file in rtf format i will very much thankful to you
thank you,
shiva
i am creating a web site using asp. There i need to create rtf files very often. but when i use the following script
<%
set objFSO = Server.CreateObject("Scripting.FileSystemObject"
set objTStream = objFSO.CreateTextFile("c:\NewFold\test1.rtf",true,true)
objTStream.WriteLine "At last i can create files with vbscript"
objTStream.WriteLine
objTStream.WriteLine "Here are thee blank lines : "
objTStream.WriteLine
objTStream.WriteLine "Here are thee blank linesasdf : "
objTStream.WriteLine
objTStream.WriteLine "Here are thee blank linesasdf : "
objTStream.WriteBlankLines 3
objTStream.WriteLine "....... and this is "
objTStream.WriteLine "Thank you, this is shiva "
objTStream.close
%>
even it is saving under .rtf extension but not actually in rtf format only saving as text format.
if you help me how to sava a file in rtf format i will very much thankful to you
thank you,
shiva