File handling

Search Application in JAVA


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. interface In this tutorial we will be working in JAVA SWING.

File Handling : Creating the Logs in Visual Basic 2008

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, let’s begin: Open Visual Basic 2008, create a New Windows application , drag a RichTextBox, and a Button in the Form. And it will look like this.

PHP File Handling: File Append

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 to a file we need to open it up in append mode. To do this, let’s create first a new file PHP file called “append.php”.

PHP File Handling: Reading File

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".

File Handling: Form Closing Event

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.