Visual Basic .NET

Library System in Visual Basic .NET 2008 and SQL Server 2008

Submitted by admin on
Here’s the full source code of the sample project, Visual Basic .NET 2008 Tutorial, I created this in addition with the tutorial that I've made several months ago. It is advised that you will follow the tutorial closely to understand how I created this project. There’s nothing so much information about this project for certainly, this project is not intended for advance programmer, thus it is

.NET TV Tuner (Digital/Cable/Analog )

Submitted by emond on
By 2015 all analog/Cable TV will be replalced by Digital TVs using Digital Signal like in Japan and other advance countries The NTC decided that the Philippines will use and adopt the ISDB-T, finally. So geek-gadgets people can watch live HD Channels for free and Paid (PPV) from their PSP, Mobile Phones ,Tablets and ofcource PC and Laptops. Sources: http://www.manilastandardtoday.com

How to Change the Data Type of a Column Using T-SQL

Submitted by admin on
There are some cases that you need to change the data type of a field in SQL Server by not using the Management Studio Tools. The reason is if your database is replicated. You cannot change it directly using the management studio tools so your best option is to use T-SQL. In my case I have a column name “TransDate” that has a datetime datatype.

How to Differentiate Two Cell Values in DataGridView Control

Submitted by admin on
I read a lot of question about this on the forum and thought it’s time to share with you on how to differentiate two cell values in DataGridView control. By default we use the Value property of cells like: QtyOrdered = InvoiceDetails("Qty", e.RowIndex).Value Another is to use the FormattedValue like: QtyOrdered = InvoiceDetails("Qty ", e.RowIndex).FormattedValue But the two code above will not work if you have a condition like If QtyOrdered > InvoiceDetails ("TotalQty", e.RowIndex).Value Then to determine if the Qty Ordered is less than the

Correct Way to Open a Windows Form in VB.NET

Submitted by admin on

Few months ago I encounter a problem with my windows form bound using a DataSet. When I open the form the first time, it seems that everything is fine. But when I open it again the second time, the fields are become blank. This happens when you trigger the “PerformClick” of “BindingNavigator” under the Form Load event.

This is not actually the common mistake that I encounter. But maybe, you encounter this problem also if you are used with VB 6.0 before.

Here’s the code to open the windows form the correct way:

ComboBox Binding Problem - Does Not Leave Focus

Submitted by admin on

After browsing several forum sites I found so many programmers having problem with ComboBox after they bind it to a DataSet.

The problem actually is not cause by a bug or the like. The error is caused by design. Here’s the following question on the internet that I found that will explain this error further:

http://thedailyreviewer.com/dotnet/view/data-bound-combobox-does-not-leave-focus-106127786

Add MDI Form and Main Menu

Submitted by admin on

In our previous tutorial I discuss on “How to Create Master/Detail Windows Forms” on our Library System Project.

Today we will add MDI Form and create a main menu to open the forms on our project. If you follow closely this tutorial you will have now several Windows Forms on your project.

Please follow the steps below to Add MDI Form and Main Menu on your Library System project.