ADVERTISEMENT
ADVERTISEMENT

VB.Net File Handling Programs

A file is a set of data that is stored in the disk with a specific name and path. When a file is being opened for the writing or reading process, it becomes a stream and a stream is a bytes sequence that is being passed through the communication path. In the VB.Net programming language, input and output streams are used for this purpose.

This section contains the solved VB.Net file handling programs. Practice these programs to learn the concept of file handling, these programs contain the solved code, outputs, and the detailed explanation of the statements, functions used in the VB.Net file handling programs.

VB.Net File Handling Programs

  1. VB.Net program to write data into a text file
  2. VB.Net program to read data from a text file
  3. VB.Net program to append text into an already existing file
  4. VB.Net program to replace the content of one file with another file and create a backup file
  5. VB.Net program to delete a specified file
  6. VB.Net program to print file creation time
  7. VB.Net program to set file creation time
  8. VB.Net program to get attributes of the specified file
  9. VB.Net program to set the attributes of the specified file
  10. VB.Net program to copy the content of one file to another file
  11. VB.Net program to copy the content of one file to another file by overwriting the file
  12. VB.Net program to get the last access time of a specified file or directory
  13. VB.Net program to set the last access time of a specified file or directory
  14. VB.Net program to get the last access time of a specified file or directory in UTC format
  15. VB.Net program to set the last access time of a specified file or directory in UTC format
  16. VB.Net program to get the last write time of a specified file or directory
  17. VB.Net program to get the last write time of a specified file or directory in UTC format
  18. VB.Net program to set the last write time of a specified file
  19. VB.Net program to set the last write time of a specified file in UTC format
  20. VB.Net program to move a file from one location to another location
  21. VB.Net program to read all lines of a text file
  22. VB.Net program to write multiple lines to the text file
  23. VB.Net program to write multiple bytes into a file
  24. VB.Net program to read all bytes from a file
  25. VB.Net program to create an empty XML file
  26. VB.Net program to create an XML file with employee data
ADVERTISEMENT




ADVERTISEMENT



Comments and Discussions!

ADVERTISEMENT

ADVERTISEMENT

ADVERTISEMENT

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT

Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates

© https://www.includehelp.com some rights reserved.