Visual Basic .NET

Connecting MySQL Database using Visual Basic.NET

Submitted by joken on
In this tutorial I am going to show you the process on how to connect Basic using MySQL Database. To begin with, you need to download the MySQL Connector/NET first from this link http://dev.mysql.com/downloads/connector/odbc/. After downloading, you need to install it so the connector will now available to use under the Reference. Now let’s begin creating our application using VB.NET (I’m Using VB Express 2008 edition). And this time you need to add a reference using MySQL Connector.

Variables

Submitted by admin on
Variable plays an important role in computer programming. Every programming language are using variable to store temporary data and holds it until it is freed. By using a variable, you can use it one or more times even up to millionth times if it is necessary. Consider if you want to display the following string a millionth times: "The quick brown fox jumps over the lazy dog." You would need to type it 44 times over and over again to print the same result. But if you store it in a variable, all you need to do is call that variable and display the same result.

Hello World Application

Submitted by admin on

Hello World Application

The first thing you need to do if you want to learn certain programming language like Visual Basic is to familiarize the IDE. The most popular source code that is being run is the "Hello World".

Any programming language has its own version of "Hello World" Application. To learn more about the list of Hello World Program, visit Wikipedia’s example.

Visual Basic Tutorial

Submitted by admin on

This section will teach you on how to begin programming with Visual Basic 2008 and above. Please take note that Microsoft has already changed the name from Visual Basic .NET to Visual Basic – that is, by eliminating the word “.NET”. The purpose of changing this is to avoid confusion to the language. So, if you refer to version 2008 or 2012, you would say “Visual Basic 2008” or “Visual Basic 2012”.

Screen Lock with IniFile

Submitted by vcarabbacan on
This code will allow you to disable alt + f4, ctrl + alt + del, alt + tab, alt + esc, windows key, ctrl + esc. Sample code: Public Class Form1 Public g_IniSettings As New IniFile #Region "Alt + F4" Protected Overrides ReadOnly Property CreateParams() As CreateParams Get Dim cp As CreateParams = MyBase.CreateParams Const CS_NOCLOSE As Integer = &H200 cp.ClassStyle = cp.ClassStyle Or CS_NOCLOSE

Full Sreen Application + (Disabled CTRL+ALT+DEL) + (Disabled Start Menu)

Submitted by Qaalid on
This application is built in vb.net 2005 i want it to use for screen lock with password protected but no database, in the future i want to make it with password. Features -------- 1. Full screen mode 2. Taskbar is disabled 3. ALT+CTRL+DEL is disabled 4. Start Menu is disabled Weaknesses ---------- 1. ALT+TAB is still working 2. ALT+F4 is still working 3. No database for passwords Contact qaalid207