Current Category: Features

Working with Dates

Today I want to tell some things about working with dates, those things that you say ... "But that everybody knows ...", but as this site is dedicated to experts but to help those new to this world of programming visual basic. net, it seems more than appropriate ...

Intellisence: "As useful", "As annoying"

When I began using the Visual Studio back in version 1.0 (in 2002 approx.) One of the things I liked was the IntelliSense. Enough to fill in the names of variables, functions, etc.., To suggest the properties and methods of classes and pass review ...

Automatically exports to Microsoft Excel DataTable

Today I want to show an example that has served me for a long time and yet I still use it. We will make an example to export a DataTable to Excel full regardless of the number of columns or rows that have. There may be many ways to do this, but I find it really ...

Creating a Timer

This time I want to show how to create a timer in visual basic. Net using the timer component. Well, do not pretend that this is a step by step example showing each of the modified properties of each control, on the contrary, I want to focus on functionality ...

Calculations between dates (DateTimePicker - DateDiff)

Today I want to show how to perform calculations between dates comfortable in visual basic. Net using the DateDiff function. Need a form, button, some label's and a DateTimePicker control as shown in the image below and click the button event will the following code: txtAños.Text ...

Group registration (SQL GROUP BY clause)

As the name indicates the GROUP BY clause groups the records that have the same value in the / s colnma / s indocadas as grupo.Por example, if we get the name of all menbers of the club execute a statement like the following: SELECT name FROM members Suppose we have ...

Degrade color panel - (Gradient)

This time I want to show a simple way to have a much more attractive panel with a gradient of two colors in visual basic. Net. For example we need a form and a panel, as shown in the following figure: then we double-click the panel and go to ...

Shell

Used to invoke an external program from our application. 'You can use any of the three options depending on the program you want to run Shell ("calc" AppWinStyle.NormalFocus) Shell ("calc.exe" AppWinStyle.NormalFocus) Shell ("c: \ windows \ calc.exe". ..