File handling

Submitted by: 
Its basically what the name suggests. If you happen to have a folder full of movies and you wanna watch a random movie and don't know which one to choose? This might come in handy during those times. Hope you learn from this.
Submitted by: 
TUTORIAL NO 10 3 Types of FILE IO part2 In this tutorial you will learn: File Reading using 1.Standard Input Output 2.New Input Output 3.New Input Output2 4.Anonymous classes Today we are going to write our remaining two filing functions i.e of new input output and new input output 2. If you haven’t followed my previous tutorial go through it first using this link https://www.sourcecodester.com/...
Submitted by: 
TUTORIAL NO 4 File Search using MultiThreading In this tutorial you will learn: 1. Reading from a file 2. Multi Threading 3. Recursion 4. Event handling 5. Layout Manager 6. JAVA awt basics 7. JAVA swing basics 8. Adapters 9. Anonymous classes Today I am going to teach you how to make a file searching program. It can search any file and display it’s contents. In this tutorial we will be working...
Submitted by: 
In this tutorial I will teach you how to create logs in Visual Basic 2008 . Logs are very important because it records previous transactions and day to day activities of the system. For instance, in a log in system, you can determine the time and who is the user that had logged in the system. And whenever your system has a problem you can easily determine what was it with the help of logs. So,...
Submitted by: 
In our previous tutorial we have learned how to open, close, read and write to a file. However, the ways which we wrote to a file so far have caused data that was stored in the file to be deleted. So in this lesson we’re going to deal on how to append to a file or to add on to the existing data, but we need to open the file in append mode. To start with, this application and if we want to add on...
Submitted by: 
In this tutorial, I’m going to show how to get information about the file details. To start in this lesson lets create a new PHP file called “file_detail.php”. And add the following code: <?php $testfile = 'hello.txt' ; echo filesize ( $testfile ) ; // this will echo in byte //this next line are the mdifcation time, and its more than just number //filemtime: last modified (changed content)...
Submitted by: 
In this tutorial I'm going to show how to read back information from files. So before we can read information from a file we need to use a function fopen just to open the file for reading. In this lesson, we’re going to use the “hello.txt” file that we created in the writing of file lesson. To start in this lesson, we are going to create a new PHP file called "readfile.php". Then add the...
Submitted by: 
If you have remembered in one of our lesson the writing of the file, we talked about the idea of the file pointer or its like a cursor in a word processor. So in file handling we have the ability to move the pointer around the file to write in different places within the file. And this will be our focus for this lesson. To start in this lesson lets create a new PHP file and lets call it as “...
Submitted by: 
In our last tutorial, we discussed on how access file using PHP. At this time, we’re going to focus on how write into a file. Since we know how to access files, writing into a file is really simple. To start on lesson lets create a new PHP file called “writefile.php”. Then add the following code: <?php //specify the filename and we call it as hello.txt $testfile = 'hello.txt' ; //and inside...
Submitted by: 
Tutorial is a continuation of our previous topic called “ File Handling: Adding a Save As Command ”. But this time we’re going to focus on how to use the form closing event in visual basic. Basically FormClosing event occurs when the user click the close button and the form is being closed. When the form is closed, it releases all the associated resources with the form. To start with this...

Pages