Visual Basic .NET

How to Select Startup Form

One of the common questions I received from newbie’s is on how to set a certain form to be the Startup Form.

Undoubtedly, this is a very simple question but if you are a beginner trying to learn Visual Basic you will find it very difficult to find what you are looking for because of so many options to choose from. Visual Basic is considerably one of the famous programming languages to date and its features evolve overtime, not to mention that it was a product by Microsoft.

Now let’s head on…

How to Add Windows Forms

Before we begin binding our database using Windows Form please take a look on this tutorial on how to add new windows forms to your project.

Windows Forms serves as a container for all the controls that you’d like to add. Examples are TextBox, Label, Button, CheckBox, ComboBox, etc.

When you create a new project, visual studio automatically provides you one windows forms which you can use right away, run it, or compile or project but without anything in it. It just a plain form waiting to be filled with controls.

To add a Windows Form

.NET Language Translator using Google Translate API

This is a sample app written in .NET on how to use the Google Translate API. Can be ported to your existing App or even use as a Client Google Translator (Windows version) Feature: Support all functions of Google Ajax Language API. CLS compatible. It can be used by any .NET languages (VB.NET, C++/CLI etc.) Google Translate API for .NET Description: Provides a simple, unofficial, .NET Framework API

Sending SMS using SMS Gateway (Clickatell) as requested !!

As requested here's my sample of Sending SMS using SMS gateway (HTTP). No need for SIM, Modems or even load.. All we need is an account from Clickatell and Buy Credits using Paypal or CC from the Best SMS Gateway (Clickatell). This SMS Gateway is using by Big Companies like Easy Forex, T-MAC, Global Forex Trading, Money Bookers, etc,, Even me , Im using this Superb SMS services ,(",) (too bad its

How to Add New Data Source

One of the coolest features of Visual Studio .NET is the ability to bind a database into Windows Forms easily using DataSet. Since VB 6.0, I’m waiting for this kind of feature to be implemented in VB.NET. I am used with MS Access before and seem that VB.NET and MS Access has no difference when it comes to DataBinding.

There are many ways to bind your data. You can use the old fashion which is hard-coding, but this is out the scope of this tutorial. Why use hard-coding if you can do it easily using drag and drop operation?

How to Create a Windows Application Project

In order to create an application in Visual Basic .NET like Payroll System, Accounting System, Enrollment System, Calculator, Point of Sale System, and Library System you need to create a project called “Windows Application”.

If you are new to programming and want to learn Visual Basic, you will probably confuse with so many option to choose in starting a Visual Basic Editor.

Please look at the screen below.

How to Attach and Detach a Database

Sometimes you want to transfer or backup your database in SQL Server. When the database is attached you cannot copy/move it to any location. All you have to do is detach it first using SQL Server Management Tools.

Another reason why I write this tutorial is to teach you so that when we finish the Library System project you will be able to switch from my own database to your own database just in case you want to differentiate each of the table.

To attach a database

1. Open SQL Server Management Tools.

2. Right click Database and click Attach.