File

How to Create a Log File in Java

Submitted by donbermoy on
Today, I will teach you how to create a log file in java. We all know that a file is a list actions that occurred in which a program records events, such as user access or data manipulation as they occur to serve as an audit trail or warning message. So, now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of logFile.java. 2. Import java.io package. Hence we will use an input/output in creating files and for the IOException class.

Convert Audio File into Text in Visual Basic 2008

Submitted by janobe on
In this tutorial I will show how to convert the audio file into text by using Visual Basic 2008. This method helps you, how to recognize the content of your audio file. For instance, if the audio file cannot be heard or cannot be understood. It will be recognized, because the content of it will appear in the Box through text. Let’s begin: Open the Visual Basic 2008, create a new Windows Application and drag a RichTextBox, TextBox and the Button.

Android Media Browser (Play Music, View Images, Play Videos)

Submitted by donbermoy on
This is an application that can view and browse all media such as audio, video, and image files. I have created this one using Basic4Andriod. It can browse all media files whether in different locations or directories and will categorize whether audio, image, and video files. It can also play music and videos with the important information like locations, albums, date created, track, and duration

Extension File Converter in VB.NET

Submitted by donbermoy on
This tutorial provides to make a program that can convert a file into any any file that is changing the extension filename of this file using vb.net. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2.

Get Length of the File using LOF Function in VB.NET

Submitted by donzzsky on
In this tutorial, we will create a program that can get the exact length of any kinds of file using the LOF function and without importing the system.IO. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2.

Management System in Python - #1 - Main Menu & Adding Users

Submitted by Yorkiebar on
Introduction: In this tutorial we will begin making a local user management system in Python. We have done this before in a simple SQLite database, but this series will be storing the information in simple plain text files ready for editing manually and portable safe. The Main System: First we want to create a main function which will be our menu system. The user will loop around this until they enter "0" to exit the program.

How to Read and Write To/From Files in Python

Submitted by Yorkiebar on
Introduction: In this tutorial, we are going to be covering handling files in Python. Generic: To read or write from/to a file, we first need to create a stream. To do this we use the Python function 'open' which takes two parameters, the file, and the mode. The file should a file name (including directory location if it is not in the same directory as the current program) as a string, while the mode should also be a string. Don't forget to replace any backslashes in the directory with two backslashes to avoid Python escape character problems.

Work with Files in Java: Searching and Replacing Elements of Array

Submitted by pavel7_7_7 on
This article is an example of a typical college assignment. This article describes the opening file processes, and resolves some problems relevant to array usage. Often, students are asked to implement some assignments that are connected with different array algorithms. Another popular task is the reading of data from file. In this article I'll describe an example of assignment, that is connected with files and arrays in Java.

Work with Files in C++

Submitted by pavel7_7_7 on
In this article you'll read about how to work with files in c++. Files allow users to read a huge amount of data directly from the disc without entering the data from keyboard. There are two main types of files : text files and binary files. Text files are files that consist of the sequences of any symbols. This sequence is organized in rows that are separated by the newline character "\n".