文件名称:howto_net_createtext_appendtext_opentext
- 所属分类:
- 文件操作
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 9kb
- 下载次数:
- 0次
- 提 供 者:
- D
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
AssemblyInfo.vb
Form1.resx
Form1.vb
howto_net_createtext_appendtext_opentext.html
howto_net_createtext_appendtext_opentext.sln
howto_net_createtext_appendtext_opentext.vbproj
howto_net_createtext_appendtext_opentext.vbproj.user
Form1.resx
Form1.vb
howto_net_createtext_appendtext_opentext.html
howto_net_createtext_appendtext_opentext.sln
howto_net_createtext_appendtext_opentext.vbproj
howto_net_createtext_appendtext_opentext.vbproj.user