How to form irregular This time I want to show how to set up our form in visual basic. Net to have a totally different appearance to which we are accustomed, for example, as shown in the figure below: The first thing we need is to create the image you use as a basis for ...
Filter results by using DataView This time I want to show how we can filter records in a datagridview in visual basic. Net. This example is based on this earlier, but the difference is that instead of passing as datagridview datasource to a table, we pass a dataview. A DataView is just ...
TextBox only letters (validation) Hi, here I leave a very simple example in visual basic. Net to evaluate keystrokes when entering data into a textbox and only allow letters ignoring everything that is not a letter. It is basic but will serve as a starting point to validate any income. Then ...
Modify data in a ListView This time I want to display in visual basic. Net a way to modify the data show a ListView, we use our two forms. One with a listview and a textbox with a single data (column) that would like to modify. The two form should look like the following ...
Send e-mail from a windows application To send mail from our windows application in visual basic. Net System.Net.Mail.MailMessage use the class. For the following example we will create a form (Form1), a text box to type the message (TextBox1) and a button (Button1) to send text to send ...
Print using PrintDocument and PrintDialog This is intended to be a very simple and brief in visual basic. Net. Easy to understand quickly that it works and short (with very little code) so that nothing hinders us when to put our personal touch. The programmers are very creative and I spent many times to ...
Several ways to load a ListView We will see different ways to load a listview in visual basic. Net and in this example we will always do from a DataTable. A listview in an object, which in turn is a collection of objects ListViewItems, so if you want to fill a ListView, the first thing we must do is define ...
Connecting to a database of SQL Server and fill a DataGridView without writing code. Today I want to show a simple example of how to connect to SQL Server and populate a DataGridView visual basic. Net, but without writing a single line of code. This means that we will drag and drop controls with visual studio. A. - We have opened the browser panel ...
Knowing that I am running version deployment To know which version I'm running deployment use in visual basic. Net Deployment.CurrentVersion property My.Application namespace, but beware that fails if I run the application from the development environment into a place of a version installed (deployment). In ...
Connection Strings (Connection Strings) After writing the example of connecting to SQL Server and Microsoft Access Connection I realized that even though these are the two types most used databases when we program in visual basic. Net, there are "a lot" database and for each ...

«Previous Page