VB.NET

Views:
 
Category: Education
     
 

Presentation Description

No description available.

Comments

Presentation Transcript

VB.NET:

VB.NET After the development of .Net, VB was added with more set of controls and components and thus evolved a new language VB .Net VB.NET----”The most productive tool for building .NET-connected applications. ”

Visual Basic.NET:

7/6/2011 Free Background from www.brainybetty.com 2 Visual Basic.NET Easier to Use More Powerful than VB 6.0 Garbage Collection for better memory management We can drag controls from the tool bar and drop them on the form and write code for the controls

Update to VB.NET ?:

7/6/2011 Free Background from www.brainybetty.com 3 Update to VB.NET ? “Visual Basic .NET represents a major departure form previous versions of Visual Basic in several ways.” ---- Microsoft Corporation Plenty changes in VB.NET will take lots of effort of even the experienced VB developers.

Update to VB.NET ? (cont.):

7/6/2011 Free Background from www.brainybetty.com 4 Update to VB.NET ? (cont.) VB Add-ins Games Graphics Drag and Drop Functionality Variants Windows APIs Dynamic Data Exchange

Creating VB .Net Project in VS 2005:

7/6/2011 Free Background from www.brainybetty.com 5 Creating VB .Net Project in VS 2005 Open Visual Studio 2005 Click File -> New -> Project Choose Language as VB .Net Choose Type Give the path under which the project need to be saved Click OK

Creating A Visual Basic .Net Windows-Based Application:

7/6/2011 Free Background from www.brainybetty.com 6 Creating A Visual Basic .Net Windows-Based Application

VB FORM:

7/6/2011 Free Background from www.brainybetty.com 7 VB FORM

Properties of a Windows Form Object:

7/6/2011 Free Background from www.brainybetty.com 8 Properties of a Windows Form Object

The Toolbox Window:

7/6/2011 Free Background from www.brainybetty.com 9 The Toolbox Window

Forms and other controls:

7/6/2011 Free Background from www.brainybetty.com 10 Forms and other controls Form is a container for other controls We can place the following in a form Label Text Box Check Box Radio Button Button Date Picker And more…

New Tools:

7/6/2011 Free Background from www.brainybetty.com 11 New Tools Calendar Tool Command Buttons are now called Buttons The Editor window (formerly the Code window) Form changes

General Changes:

7/6/2011 Free Background from www.brainybetty.com 12 General Changes In VB6, controls that were only visible at design-time still appeared on the form in the IDE Such as the Timer control VS .NET places controls that are invisible at runtime in a small area below the form This area is the Component Tray

Windows VB.NET Example:

7/6/2011 Free Background from www.brainybetty.com 13 Windows VB.NET Example