C++ Tutorial: Status Strip Control in C++/CLI

Submitted by Bright777 on
   Today we are going to talk about such component in Visual Studio 2012 as Status Strip. With component is mostly situated at the bottom of the main form and it shows progress of some event, warnings, errors or other additional information. In today’s program we will use this component. Preparation    You need to create new Windows Forms Application project. Then drag Status Strip component on the form and will be added to the project.

Valid or Invalid Date in VB.NET

Submitted by donbermoy on
Hi! In this tutorial, we will make a program that decides if a date is invalid or not. The main function that we will just going to use is the IsDate Function. This function checks if the given expression is a valid date and returns a boolean true or false. 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.

Finding Sum of the Date plus Number of Days in VB.NET

Submitted by donbermoy on
A few weeks ago, I had introduced how to find the Date Difference between the two Dates in VB.NET. Now, In this article, i will introduce another some twist of the Date Function in VB.NET, in which it will find the sum of the date and the number of days that you are going to add. 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.

77% of College Students Use Snapchat Daily

Submitted by blinkremz1 on
Based on the latest study, at least 77% of college students are now fond of using the photo-sharing app, Snapchat daily. Sumpto, a New York-based company conducted a research to be able to analyze the number of Snapchat users in the United States particularly college students. Snapchat is among the application which Facebook earlier aimed to acquire. However, $3 billion acquisition offer has been

Exception Handling

Submitted by donbermoy on
Sometimes, we encounter different errors along the program whenever we executed it. For example, the file does not exist in the given path, network connections are not connected, or any errors that you have experienced when you're learning how to program. This is what we've called Runtime Errors. One way to prevent it is the Structured exception handling. In this tutorial, we will used the Try-Catch-Finally statement.

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.