Visual Basic .NET Tutorial

  • Submitted by: 
    This tutorial will teach you on how to change the database password of an Access database programmatically using visual basic 6.0. CN. Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & DatabasePath & ";Persist Security Info=False;Mode=12;Jet OLEDB:Database Password=" current password here " sqlExecStr = "ALTER Database Password " & txtNewPass...
  • Submitted by: 
    This sample program demonstrates how to get youtube video thumbnails using VB 2008. Just enter the video URL at the textbox then using simple string manipulation, the program extracts the video id from the URL. The video id is the unique identifier of the video generated by youtube when the video was uploaded. This video id is necessary for retrieving the thumbnails for the videos.
  • Submitted by: 
    Detecting the selected value of ComboBox is done by using the event like SelectedIndexChanged , SelectedValueChanged , and SelectionChangeCommitted . This event is being fired once you select a value in a ComboBox. However, if you have a ComboBox column in DataGridView control, you cannot easily use those events without adding a Handler. So, in this case, you need to create a procedure that will...
  • Submitted by: 
    This video tutorial will teach you on how to create a Master/Detail Windows Form using VB.NET. I used the Library System project to create this tutorial. You can access the source code at Library System in Visual Basic .NET 2008 and SQL Server 2008 . Only the Borrowing of books is being discussed in this video. The important is you will learn how to create a Dataset and drag it into you form...
  • Submitted by: 
    This password generator is based on the class created by Obviex. The generator can create a unique password that does not include ambiguous character. It can create alphanumeric and special character password. The password will always start with a letter. The best part here is that you can choose if you want to include a special character or numeric value by simply adding the pre-defined constant...
  • Submitted by: 
    In some cases, you want to add new rows to the DataGridView programmatically. If you are using a data-bound DataGridView control, you cannot easily use the cells properties of the DataGridView control. All you need to do is use the dataset where the DataGridView control is connected. Say you want to get the record from employees table and put it in DataGridView. Here’s how to do it: Dim strSQL As...
  • Submitted by: 
    Getting a value from a ListView is one of the most common questions I found on the Internet. So, to help you find the value of a SelectedItem in your Listview, let’s take some example. Supposed you have a Listview with the following column: With lvList . Clear ( ) . View = View. Details . FullRowSelect = True . GridLines = True . Columns . Add ( "ProductDetailID" , 0 ) . Columns . Add ( "Category...
  • Submitted by: 
    How to make a report with Visual Basic .NET? Download Source Code and Tutorial simple Report with Selection Formula on VB .NET
  • Submitted by: 
    Do have a report and want to hide some rows based on the value of a certain column in your RDLC report? This can be done easily using the Row Visibility of your Tablix control. Take note that you can suppress row based on any value that you want. For the sake of this tutorial we will assume that the value of the column is zero and you want to suppress the whole row. Follow the steps below to...
  • Submitted by: 
    When you add a DataSet to your Windows Form a BindingNavigator is automatically created with navigation to your record and it also includes Delete and Add button. When you click the Delete button there is no confirmation if you want to cancel the operation. The solution to this is to set the DeleteItem to None. See screenshot below: Here's the code in the Delete button under BindingNavigator:...

Pages