文件名称:howto_net_createtext_appendtext_opentext
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:9.3kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Programs can use the StreamReader and StreamWriter classes to read and write text files in Visual Basic .NET. These methods make opening files easier.
When you click the Create File button, the program uses the CreateText function to open a file, overwriting the previous file if it exists. It writes text from the text box into the file and closes it.
When you click the Append File button, the program uses the AppendText function to open a file for appending to the end. If the file doesn t exist, AppendText creates it. The program writes text into the file and closes it.
When you click the Show File button, the program uses the Exists function to see if the file exists. If the file does exist, the program uses the OpenText function to open the file for reading. The program writes text into the file and closes it.
When you click the Create File button, the program uses the CreateText function to open a file, overwriting the previous file if it exists. It writes text from the text box into the file and closes it.
When you click the Append File button, the program uses the AppendText function to open a file for appending to the end. If the file doesn t exist, AppendText creates it. The program writes text into the file and closes it.
When you click the Show File button, the program uses the Exists function to see if the file exists. If the file does exist, the program uses the OpenText function to open the file for reading. The program writes text into the file and closes it.
相关搜索: append text to file
(系统自动生成,下载前可以参看下载内容)
下载文件列表
howto_net_createtext_appendtext_opentext.html
Form1.resx
Form1.vb
howto_net_createtext_appendtext_opentext.sln
AssemblyInfo.vb
howto_net_createtext_appendtext_opentext.vbproj
howto_net_createtext_appendtext_opentext.vbproj.user
Form1.resx
Form1.vb
howto_net_createtext_appendtext_opentext.sln
AssemblyInfo.vb
howto_net_createtext_appendtext_opentext.vbproj
howto_net_createtext_appendtext_opentext.vbproj.user
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.