Current Category: Tutorials

Dialog box to select a color (ColorDialog)

Example very, very easy on the use of the dialog box to select colors in visual basic. Net. We just need a form, a button and a ColorDialog component for this example. and in the click event of BotCon copy the following code: If ColorDialog1.ShowDialog ...

Read a full text file

I want to show on this occasion a very simple example of how one can read and load a text file in a TextBox with visual basic. Net. For example we need a form with two text boxes, button OpenFileDialog component n. As shown in the figure below: In the ...

Move items from one listview

This is a simple, but very rarely seen, example of how we do in visual basic. Net to move (in code) items in a listview. Need a form with a listview and two buttons: Now, fill the listview with some data for the example and we will do in the event ...

Report with grouped data (Reporting Services)

I want to show how we can make a report with grouped data in visual basic. Net. We build on this and the previous example. Our report looks like this: Select the row of data (middle) and clicking the right mouse button, we display the context menu ...

Formatting a Report (Reporting Services)

Based on the above example (how to create a report), I show how we can "format" that report for a more professional presentation using visual basic reporting services from. Net. Open the report on which will work, will be more or less like ...

How to create a report (reportviewer)

I want to show at this time how to create a report in visual basic. Net using reporting services and control ReportView. The first thing we need is to create a connection to a database, and we will do as follows: From the Server Explorer (if you can not see it activate ...

Digital Clock (Timer)

Today I want to show a simple and easy to create in visual basic. Net a digital clock. We will do this using a label and a Timer. The form should look similar to that of the next image> For this example where only time will show, change the ...

Listview with images of state (StateImage)

I want to show two important issues when working with a listview in visual basic. Net: a) how to place an image to the left of each item and modify it at runtime b) and perform a task that involves all the selected items . In this example (very simple for ...

Create Groups in a ListView (ListViewGroup)

As I said several times, the listview control is one of the most use when developing an application in visual basic. Net. Today I want to show a way to get more out of this control and also leave a lot more attractive by creating groups and on ...

Sort data in a ListView

basis using the previous example, we will see how to, visual basic. net listview sort data by any of its columns. The previous project will add two buttons to select which is the desired order. As shown in the picture below: Then in the same code ...

«Previous Page Next Page »