Tutorials

How to Create a Simple NotifyIcon in Visual Basic 2008

Submitted by janobe on
In this tutorial I will teach you how to create a simple NotifyIcon by using Visual Basic 2008. This NotifyIcon contains the system information that allows you to know the current date and the kind of operating system (OS) that you are using. So let’s begin: Open Visual Basic 2008 and create a new Windows Application. Drag a “ContextMenuStrip”, ”NotifyIcon”, ”Button” and “Label”.

Timer in Visual Basic

Submitted by Yorkiebar on
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

Submitted by Yorkiebar on
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.