Tutorials

Easy Way to implement A Dynamic Clock in Java using Threads

Submitted by mehfuza on
Introduction: In this Tutorial, creation of clock which updates every second is explained. Here we create an Application for clock. It shows Hour, minutes and seconds which updates every second. Main Idea: The Dynamic clock can be created using Java's Timer thread but here we will see how to use our own thread and accomplish the task. This tutorial can clear any doubts you have in Java Threads.

TextBox Validation in Delphi

Submitted by teody882012 on
Delphi validation program Follow the instructions / procedures below: 1. Open your Delphi IDE 2. Create a Form with 2 TLabels, 2 TEdit and 1 TButton, Just like this: 3. Copy and paste the sourcecodes below: unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TForm1 = class(TForm) Edit1: TEdit; Label1: TLabel; Edit2: TEdit;

Creating a Dependent Dropdown List with PHP, jQuery and Ajax.

Submitted by kabiru10 on
There are times in a web application where you want to populate a dropdown list based on the value of another drop down list. Scenarios like this can be populating a Country’s State dropdown based on the value of the Country selected, populating product sub-categories based on the parent category. In this example, we will be creating a dropdown list for category/subcategory for a product in an eCommerce website. Create a database called dependent_list.

How to Create Web Browser Using VB.Net 2012

Submitted by princenathan on
The Web Browser control in VB.NET 2012 allows you to host Web pages and other web browser enabled documents in your Windows Forms applications. You can add browser control in your VB.Net 2012 projects and it displays the web pages like normal commercial web browsers . You can use the Browser control to add your existing Web based controls to your Windows Forms client applications. The Web Browser control has several properties, methods, and events related to navigation.

Contact Us Script Using sqlite

Submitted by gateluv on
Sqlite is a relational database management system contained in a small C programming library. Sqlite is a popular embedded database system that stores records in a little file on the system source code. Data can be retrieved through the use of write and read ability of sqlite. Moreover, Instead of saving the record into a RDMS tool like “phpmyadmin”, Sqlite can be used instead as it will save the record into a separate file on the host machine. To create a contact us page on our website using sqlite.

How to Make VB.NET Console Application with MS Access Databse 2007

Submitted by teody882012 on
This is a VB.Net Console Application program using Access Database 2007. It is very helpful in learning VB.Net with Database Programming. Instead of using Windows Forms, this program is using console application to insert record into MS Access database. Please follow the steps below on how to create a console application from scratch. 1. Create the database file called "database1.mdb" by opening the MS Word file called "How to Create DB in 2007.doc" and follow the instruction. 2. Open Visual Studio Editor. 3.

4 Simple Steps to Emulating Real Sequences in MySQL

Submitted by intellicon on
If all you want to do is create a unique ID for a record, the auto_increment feature in MySQL will do the job nicely. Sometimes, however, you need more functionality. Unfortunately, unlike Oracle or PostgreSQL, MySQL doesn't have native support for the nextval() function, so creating real sequences is a little more challenging. First, we need to define what we want the nextval() function to achieve. We want to be able to begin the sequence with any number, and auto increment in multiples of any number, not just 1, including negative integers (-1 for example).