HOME  >  ÀÚ·á   >  ASPÀÚ·á½Ç
¹øÈ£ Á¦¸ñ Á¶È¸
45
ASP TextStream Object
743
È®´ë   Ãà¼Ò    
The TextStream object is used to access the contents of a text file.

The TextStream Object

The TextStream object is used to access the contents of text files.

The following code creates a text file (c:\test.txt) and then writes some text to the file (the variable f is an instance of the TextStream object):
<%
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject")
set f=fs.CreateTextFile("c:\test.txt",true)
f.WriteLine("Hello World!")
f.Close
set f=nothing
set fs=nothing
%>
44
ASP FileSystemObject Object
765
43
ASP ASPError Object
864
42
ASP Server Object
718
41
ASP Session Object
660
40
ASP Application Object
1140
39
VBScript Keywords
698
38
VBScript Year Function
909
37
VBScript WeekdayName Function
648
36
VBScript Weekday Function
657
35
VBScript TimeValue Function
674
34
VBScript TimeSerial Function
666
33
VBScript Timer Function
667
32
VBScript Time Function
697
31
VBScript Second Function
652
30
VBScript Now Function
659
29
VBScript MonthName Function
705
28
VBScript Month Function
749
27
VBScript Minute Function
805
26
VBScript IsDate Function
889
1 2 3

 
sitemap    
all right reserved : ÀÌ ¸ðµç °Å! ´Ù~ ³»²¨!