Tutorials

How to Create Master/Detail Windows Forms

Submitted by admin on

On my last tutorial I discuss on “How to Display Data in Windows Forms”. This time I will teach you on “How to Create Master/Detail Windows Forms”.

Creating a master/detail form still requires the same method as displaying data in windows forms. Except that we use additional control called “DataGridView”. This control will display the related record known as child form.

How to Change Connection String at Run Time

Submitted by admin on

One of the challenging parts in VB.NET is to change the connection string of your database location when you run your application.

This tutorial will help you solve this problem. This will apply only to SQL Server but it can be also modified easily to work with MS Access and other DBMS.

In my case I initialize this on the Form Load event on my Login form.

How to Display Data in Windows Forms

Submitted by admin on

In order to display data in windows forms all you need to do is drag Items from the Data Sources. For more information, see How to Add New Data Source.

Before you drag the Items (i.e. table name) make sure that you select the display type and type of control that you’d like to appear in the Windows Forms.

To do this expand the Item name and the arrow down to select the display type and type of control which you would like to appear.

Display type

How to Debug Visual Studio .NET Project in 64 Bit OS

Submitted by admin on

This tutorial will explain on:

How to Debug Visual Basic .NET and Visual C# project in 64 bit Operating System.

If you are running 32 Bit operating system before and were intrigued to install 64 bit OS to improved performance of your computer, then maybe you are having problems debugging your Visual Studio .NET source code.

I am once having this issue which stops me from debugging all of my VB.NET 2008 source code after I installed Windows 7 64 bit.

How to Select Startup Form

Submitted by admin on

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

Submitted by admin on

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

Learn about the VB.net to connect The Database

Submitted by princenathan on

study how to connect vb.net in the database

 

This website www.sourcecodester.com and Learn computer course is an introduction to Visual Basic.NET programming for beginners. This course assumes that you have no programming experience whatsoever. It's a lot easier than you think, and can be a very rewarding yeah.. jejejeje

How to Add New Data Source

Submitted by admin on

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

Submitted by admin on

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.