vb

Timer in Visual Basic

Introduction: This tutorial is on how to create a timer in Visual Basic. Threads: Te first thing you must know about this tutorial is how to use threads. Threads are essentially processes which run certain parts of your programs code, the main thread handles the design of your form as well as the code of your form, therefore, when you have a lot of long-running code, your UI will freeze.

Simple Clock in Visual Basic

Introduction: This tutorial is on how to create a simple clock in Visual Basic. Design: For this, we simply need a new Windows Form, with one label - call it; 'clockLbl'. You may center the label to the middle of the form in both x and y axis' and give it a large font size. We also need a timer, name this timer1. Set it's interval to 1000ms/1second and it's enabled state to 'True'. Form Load: On form load, we want to initiate the label with the current computer time.

How to Create a Docking Pane Form in VB6.0

Hi. In this tutorial, i will teach you how to create a program that has a docking pane interface in your form. This docking pane interface or tool is one of the functions that i have created mostly in my created projects and systems to beautify forms. Now, let's start this tutorial. 1. First, download first Codejock software in the web and then install it. 2. Go to the components menu and check Xtreme Docking Pane ActiveX Control. output 3. Create an MDI form.

File Comparison Tool in Visual Basic

Introduction: This tutorial is on how to create a file comparison tool in Visual Basic. Pseudo: First the user selects file #1. Then file #2. Stats are accumulated for each file. Stats are drawn on to the form. Design: For the form, we are simply going to use two listboxes (listbox1 and listbox2) to hold the stats and 'button1' with the text of 'Begin' to start the comparison process. File Selection: So now we create an OpenFileDialog to allow the user to select a file.

Sorting: Ascending and Descending Order in VB6

In this article, we will create a program that can sort values into ascending or descending order in numbers in visual basic 6.0. Now, let's start this tutorial! 1.Let's start this tutorial by following the following steps in Microsoft Visual Basic 6.0: Open Microsoft Visual Basic 6.0, click Choose Standard EXE, and click Open. 2. Next, add 2 Buttons named Command1 and labeled it as "Asc" for ascending order and Command2 and labeled it as "Desc" for descending order.