C++ Tutorial: Simple Text viewer

Submitted by Bright777 on
   The program for today is text viewer. It works this way – you click on a button, then you choose a file with *.txt extension, after that you click “Open” and you can see all file in your main form. For coding this program we will use Borland C++ Builder 6. Preparation    First of all create new application. On the main form put such controls as Button, Rich Edit control and OpenFile Dialog. After you have done that you need to configure properties of Rich Edit control.

Get the Difference of Two Time using PHP

Submitted by argie on
This tutorial will teach you on how to get the difference of two time in PHP using php shorttime function. This code will help to thus programmer who want to limit the number of attempts in failed login and can login again with the defined time. To understand more about this tutorial, follow the steps bellow.

Creating Our script that get the difference and display the result

The code bellow will subtract and get the difference of two time using the php date and short time function.

C++ Tutorial: Make Simple Picture Viewer

Submitted by Bright777 on
   In this tutorial we will make a simple program called “Picture viewer”. This program will open a selected picture or image and it will be shown on the main form of the program. In the process of coding of this program we will use Open File Dialog component and Picture box component. Preparation    First of all you need to create a new “Windows Forms Application” project. Then you need to put a Picture box component and Button component on the form. After that you also need to add Open File Dialog to the project.

Hotel Reservation Version 1.0 Complete Package Using Ajax, Bootstrap, Jquery, and Object C For Advance Trapping

Submitted by michael.galanza on
1. Create database "kingsfields_database". 2. Import the kingsfields_database.sql file.(or run all sql query which is in "kingsfields_database.sql" file) 3. Edit the connect.php file with your config.(which is in session folder). [database username, password, host, database] 4. Administrator username: admin / password: admin 5. To log-in client reserved of make an transactions 1st ang log-in ur

C++ Tutorial: Change the Color and the Font of the Label

Submitted by Bright777 on
   In previous tutorial we have changed the background color of our main form. Today we are going to continue learning Dialog components. In this tutorial we will change the font of the label using Font dialog component and the color of the text using Color Dialog, which we used in previous tutorial. Preparations    The view of form is very simple. It consists of a label control and two button controls. First button will modify the font of the label and the other will modify the foreground color of the same label.

Acquire Computer Drive

Submitted by donbermoy on
Hi! This is my tutorial entitled "Acquire Computer Drive using VB.Net". Sometimes we have require to get the drives of our computer, but this tutorial gets the list of available drives in ListView. So, 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.

RadioButton Control in VB.NET

Submitted by donbermoy on
The RadioButton component lets you force a user to make a single selection from a set of choices. This component must be used in a group of at least two RadioButton instances. Only one member of the group can be selected at any given time. Now, we will create a RadioButtons that when chose it will change the background color of the Form. So, now let's start this tutorial! 1.

CheckBox Control

Submitted by donbermoy on
I had discussed RadioButton a while ago and now I will introduce the CheckBox Control in VB.NET. CheckBox and RadioButton controls have a similar function: they allow the user to choose from a list of options. CheckBox controls let the user pick a combination of options. In contrast, RadioButton controls allow a user to choose from mutually exclusive options. They have the same popular event of .Checked. 1.

ProgressBar Control

Submitted by donbermoy on
This is my 3rd tutorial for the controls in vb.net. The one that i will introduce today is the ProgressBar Control. A ProgressBar indicates the progress of an operation. The ProgressBar control consists of a window that is filled with the system highlight color as an operation progresses. So, now let's start this tutorial! 1.