The .NET Framework Architecture Part 1 This is the first tutorial as part of the Visual Basic .NET 2005 Training. In this tutorials we will be learning about the basics of The .NET Framework Architecture The .NET vision Common Language Runtime CLR .NET Framework Class Library and Microsoft Intermediate Language MSIL . It s very important to learn the basics before we actually start...
The .NET Framework Architecture Part 2 VB.NET 2005 Free Training The .NET Framework Architecture Part 2. In this tutorial of The .NET Framework Architecture Part 2 we will learn about Just-In-Time JIT compilation Assemblies native assemblies Global Assembly Cache GAC and Comparison of VB.NET C and J . Just-In-Time JIT compilation As stated above the Just in time compiler...
Differences between VB.NET 1.0 and VB.NET 2.0 VB.NET 2005 Free Training Differences between VB.NET 1.0 and VB.NET 2.0 VB.NET 2005 comes with a number of enhancements. The IntelliSense Code snippets the Windows Forms designer updates IntelliSense filtering debugger data tips exception Assistant etc make the software a pleasure to work with. The language has been spruced up with generics unsigned...
Introducing VB.NET Windows Forms Introducing VB.NET 2005 Windows Forms We will be learning in the next series of articles as part of VB.NET 2005 Free Training Introducing Windows Forms in the following topics with code samples and screen shots. Introducing Windows Forms Designing Windows Application is simpler and less time consuming with Visual Basic 2005. A number of new facilities...
Implementing Class Library Object Implementing Class Library Object in VB.NET 2005 Class Classical Object Oriented Concepts explain a class as a cookie cutter. A class allows you to create objects of the class. As a programmer you define a class with data fields properties methods and events. Then you can create objects based on that class that have state fields properties and...
Implementing Inheritance Introduction and Implementing Inheritance The usefulness of inheritance is depnding on the choice of its usage. You can use inheritance if the derived class is a kind of base class but not has a relationship with the base class. Such a situation empowers you to reuse the code from the base class. It is also more useful if the hierarchy is very shallow....
Visual Studio.NET Namespaces Visual Studio.NET Namespaces The .NET Framework class library has thousands of classes which are needed for developing and deploying solutions. In order to organize all those classes for ease of use .NET Framework uses namespaces. This Gives the Classes their own space and prevents conflicts between the various names in these classes. For instance...
Visual Studio Windows Forms Designer Using The System.Windows.Forms.Form class System.Windows .Forms.Form class is the foundation class for all forms to be created. All the forms that are created in VB .NET are also inheriting from this base class. This class provides for all the facilities needed for the form. Additional functionality can be added by separate codes. In the .NET Framework...
Exploring the Forms Designer generated code VB.NET 2005 Free Training Exploring the Forms Designer generated code As you create a new project in the Visual Basic the IDE generally automatically adds lots of lines of code on its own. Visual Basic 2005 comes with an option to skip over this behavior of the Visual Basic IDE. The default option comes with this behavior enabled. These codes are...
Application Class and Message Class Using Application Class Visual Basic 2005 introduces a speedy way to access many important classes relating to the Computer on which the application is running the user running it the application itself its forms and any associated web services. The best part of it all is that you can access it all using the new My object. The new My object has...
Setting and Adding Properties to Windows Form Setting and Adding Properties to a Windows Form In this tutorial we wil leran about Setting and Adding Properties to a Windows Form Using the Visual Designer to set Windows Form Properties Setting Windows Forms Properties programatically and Using Visual Inheritance along with the sample project and screen shots. Using the Visual Designer to...
Event Handling in Visual Basic .NET Introduction to Event Handling One of the most useful capabilities of the OOP Languages is their inbuilt ability to be aware of a large number of events like MouseOver MouseClick and so on so that we can write codes to react to any event that we are interested. This is made possible by the rich set of classes that have been built in the .NET Framework The...
Building Graphical Interface elements Building graphical interface elements by using the System.Drawing namespace In this tutorial we will learn about Graphics Object The Windows Forms Coordinate System Drawing Text on a Form Drawing Shapes and Working with images. Understanding The Graphics Object Graphics handling in Visual Basic .NET is based on GDI Graphics...
Visual Studio Adding Controls to Windows Form Visual Studio Adding Controls In this tutorial let s discuss about Adding Controls to a Windows Form Adding Controls using Windows Forms Designer Adding Controls Dynamically and Setting properties of Controls. Sample source codes used in this tutorial are included. Forms are containers for control objects. All controls have properties methods and...
Common Controls and Handling Control Events Common Controls and Handling Control Events In this tutorial we will be learning how to use common control like Control Hierarchy Label and LinkLabel TextBox and RichTextBox PictureBox GroupBox and Panel Button CheckBox and RadioButton ListBox CheckedListBox and ComboBox DomainUpDown and NumericUpDown MonthCalendar and DateTimePicker TreeView...
Dialog Boxes in Visual Basic .NET Dialog Boxes in Visual Basic .NET Most Windows applications request for user input. Dialog boxes are one means of requesting users for specific kinds of inputs. Therefore VB.NET allows its designers to create a number of different types of dialog boxes. Standard Dialog boxes are included in classes that fall within the purview of the CommonDialog....
.NET Common Windows Forms Controls Part 1 .NET Common Windows Forms Controls In this tutorial we will learn about Common Windows Forms Controls in Visual Basic .NET 2005. IN this part 1 of this article We will be learning the controls like Control Hierarchy Label LinkLabel TextBox RichTextBox PictureBox GroupBox Panel Button CheckBox RadioButton ListBox CheckedListBox and...
DomainUpDown and NumericUpDown Controls DomainUpDown and NumericUpDown Controls DomaiUpDown The windows Forms System.Windows.DomainUpDown control looks like a combination of a text box and a pair of buttons for moving up or down through a list. This control displays and sets a text string from a list of choices. You can select the string by clicking up and down buttons to navigate through...
.NET Common Windows Forms Controls Part 2 .NET Common Windows Form Controls part 2 In this tutorial we will learn about Common Windows Forms Controls in Visual Basic .NET 2005. In this part 2 of this article We will be learning the controls like Control MonthCalendar and DateTimePicker TreeView and ListView Timer TrackBar and ProgressBar HScrollBar and VScrollBar MonthCalendar MonthCalendar...
Working with Menu Controls Creating Menu and Menu Items In this tutorial we will learn about Creating Menu and Menu Items - Main Menu Context Menu StatusBar and ToolBar. Main Menu Windows users are familiar with Menu objects. The MainMenu control represents the container for the menu structure of the form. Menus are made up of MenuItem objects that represent the individual...
VB.NET MDI Applications Creating Multiple-Document Interface MDI Applications In this tutorial you will learn about Creating Multiple Document Interface MDI Applications. Creating Multiple-Document Interface MDI Applications In most real time applications we often find that multiple windows open within another window. This kind of need is satisfied by implementing...
VB.NET Validation Controls VB.NET Validation Controls In this tutorial you will learn about User Input Validation Required Field Validators Comparison Validators Range Validators Regular Expression Validator Custom Validators ErrorProvider Enabling Controls Based On Input and Other Properties of Validation. User Input Validation While any application can...
.NET Exceptions .NET Exceptions In this tutorial you will learn about Exceptions Common Exceptions Handling Exceptions - Try Block Catch Block Throw Statement Finally Block Salient points about error handling Custom Exceptions - Managing Unhandled Exception Exceptions Abnormal conditions can become obstacles in the execution of very good programs....
VB.NET Creating and Managing Components Part 2 Creating and Managing Components Part 2 In Section 2 of Creating and Managing Components You will learn about Hosting a control inside Internet Explorer HTMLAnchor Control HTMLButton Control HTMLGeneric Control Creating Components by extending the Control class Creating a custom control and Creating components by extending the Component class....
VB.NET Creating and Managing Components Part 1 VB.NET Creating and Managing Components Part 1 In this tutorial you will learn about Components Best practices in using Components Creating Components by extending the UserControl Class Testing the Control Creating and implementing Events Extending a control through Visual Inheritance and Inheriting from a UserControl. A component is a reusable...
.NET Assemblies Creating and Managing .NET Assemblies Single-file and multi-file assemblies Combining modules written in different languages Creating a multi-file assembly End Namespace Static and dynamic assemblies Private and shared assemblies Sharing an assembly Satellite and Resource-only assemblies Compiling Satellite Assemblies Compiling Satellite...
Simple Data Binding VB.NET 2005 Tutorials Simple Data Binding In Section 1 of Data Binding you will learn about definition of Data Binding Bindable Entities The Architecture of Data Binding Bind Data to the User Interface and Simple Data Binding Data Binding The process of binding a control to a data source is called data binding. Visual Studio 2005 includes...
.NET Complex Data Binding In this tutorial you will learn about Complex Data Binding Binding to a ComboBox or ListBox Binding to a DataGrid. Complex Data Binding Complex data binding is the ability of a control to bind to more than one data element typically more than one record in a database or to more than one of any other type of bindable data elements. Examples of...
.NET Data Form Wizard In this tutorial you will learn about Using the Data Form Wizard - Building a Single-Table Data Form Transform and Filter Data Using Server Explorer Drag-and-Drop From Server Explorer What the user Can and Cannot Drag from Server Explorer Filtering Data Filtering With DataViews Filtering At the Server Transforming Data with Lookups and Master...
SQL Server Ad Hoc Queries In this tutorial you will learn about Consuming and Manipulating Data Viz. Access and Manipulate SQL Server data - Using Ad Hoc Queries; Running Queries The SELECT Statement The INSERT Statement The UPDATE Statement and The DELETE Statement. Access and Manipulate SQL Server data - Using Ad Hoc Queries Consuming and Manipulating Data Modern...
Working with File System in .NET In this tutorial you will learn about Access and Manipulate Data Working with Disk Files Browsing for Files Streams and Backing Stores Using the FileStream Class Using the StreamReader and StreamWriter Classes Using the BinaryReader and BinaryWriter Classes. Access and Manipulate Data - Working with Disk Files Working with Disk Files Temporary...
SQL Server Stored Procedures In this tutorial you will learn further more about Access and Manipulate SQL Server data - Using Stored Procedures Creating a Stored Procedure Running Stored Procedures from .NET Using Parameters in Stored Procedures The IDENTITY Variable Access and Manipulate SQL Server data - Using Stored Procedures Using Stored Procedures Stored procedures...
ADO.NET Object Model In this tutorial you will learn about The ADO .NET Object Model Data Providers and Their Objects and the Dataset Objects Access and Manipulate Data - The ADO .NET Object Model The ADO .NET Object Model ADO .NET renders very good support for working with disconnected data. ADO .NET 2.0 comes with additional features that enhance the performance...
Working with DataSets Access and Manipulate Data - Using DataSets In this tutorial you will learn about Using DataSets Populating a DataSet From a Database Moving Around in DataSets and Retrieving Data Using Strongly Typed DataSets DataSets With Multiple Tables. Populating a DataSet from a Database As already discussed DataSets do not contain any data when they are...
Using XML Data Using XML Data In this tutorial you will learn about Using XML Data - XML Basics Using XmlDocument Class Treating XML as Relational Data The Introduction The database Handle Data Errors - Handle Database Errors and Handling Multi-User Errors.Using XML Data XML Basics In this section we shall see some of the features of XML with reference...
Finding and Sorting Data in DataSets Finding and Sorting Data in DataSets In this tutorial you will learn about Finding and Sorting Data in DataSets - Filtering on Row State and Version Sorting and Data View Manager. Finding and Sorting Data in DataSets Using the table s Select method or the RowFilter property of a data view the user can filter records in a data table to make available...
Data Manipulation with ADO.NET Editing Data With ADO .NET In this tutorial you will learn about Editing Data With ADO .NET - Updating Data Adding Data Typed data set Untyped data set Deleting Data Editing with a DataGrid. Updating Data The SqlDataAdapter’ s update method is called whenever the changes made to a DataSet has to be applied to the underlying table. The...
Web Services - SOAP, WSDL, Disco and UDDI Web Services - SOAP WSDL Disco and UDDI In this tutorial you will learn about Web Services - Understanding Web Services Simple Object Access Protocol SOAP The Web Service Discovery Tool DISCO Universal Description Discovery and Integration UDDI Web Service Discovery Language WSDL . Web Services - SOAP WSDL Disco and UDDI Understanding...
Instantiating - Invoking Web Services, Creating Proxy Classes with WSDL Instantiating - Invoking Web Services Creating Proxy Classes with WSDL In this tutorial you will learn about Discovering Web Services Instantiating and Invoking Web Services Creating Proxy Classes with the Web Services Description Language Tool wsdl.exe VB.NET 2005 Tutorials Instantiating - Invoking Web Services and Creating Proxy Classes...
Creating Web Service Creating Web Service Project In this tutorial you will learn about Creating a Web Service Project. Creating Web Services Creating a Web Service Project Purpose To create an XML Web service project and thereby separate the functionality of the web service from the web site 1. On the File menu point to New and then click Web Site. 2. In...
Web Reference and Web Services In this tutorial you will learn about Using Web Reference - Adding a Web reference To create an ASP.NET Web application Adding a Web Reference Testing a Web Service Accessing the XML Web Service and To access the XML Web service VB.NET 2005 Tutorials Web Reference ASP.NET Web Application and XML Web Service Using Web Reference A Web...
Web Application Testing in VB.NET 2005 VB.NET 2005 Turorials Testing a Web Application In this tutorial you will learn about Testing a Web Application Configuring ASP.NET Unit Tests Using Run Configuration Creating and Removing Run Configurations Subsequent run configurations removing run configuration and editing run configuration. An application is software is created to function...
Web Application Tracing and Debugging Tracing and Debugging a Web Application In this tutorial you will learn how to trace and debug a web application. Tracing - Using the TraceContext class Using Trace and Debug Trace listeners Trace Switches and Conditional Compilation. Debugging - you will learn setting breakpoints and conditional breakpoints how to debug a running...
Windows Application Testing Testing a Windows Application In this tutorial you will learn how to test a windows application tracing using tracing and debug to display information code tracing and debugging output from tracing six debug members and trace methods Trace Listeners Trace Switches Conditional Compilation and Conditional Compilation Constants. In the...
ActiveX Controls and Legacy Code Working with Legacy Code - ActiveX Control In this tutorial you will learn how to use ActiveX Control the windows forms ActiveX Control Importer Importing Controls with Toolbox Using ActiveX Controls on Windows Forms and you will also learn how to use Platform Invoke. As enterprises grow in strength and reach IT challenges loom large. All enterprises...
Working with Legacy Code and COM Components Working with Legacy Code - COM Components In this tutorial you will learn to use COM Components Understand Runtime Callable Wrappers Type Library Importer TLBIMP Using COM Components Directly Using COM Components and Creating Com Application. Using COM Components Component Object Model COM is a language-independent architecture...
Debugging Windows Applications in Visual Studio.NET 2005 VB.NET 2005 Tutorials Debugging a Windows Application In this tutorial you will learn how to Debug a Windows Application Step through Program Execution Stop Debugging or Stop Execution Stepping Through Code Setting BreakPoints Analyzing Program State to Resolve Errors Debugging on Errors Exception Assistant Debugging a Running Process Debugging...
Deploying Windows Applications in Visual Studio.NET 2005 VB.NET 2005 Tutorials Deploying Windows Applications In this tutorial you will learn how to Deploy a Windows-based Application Create a Setup Project Configuring Deployment Properties Customizing a Setup Project File System Editor The Registry Editor The File Types Editor The User Interface Editor The Custom Actions Editor and The Launch Conditions...
Customizing Setup Project in Visual Studio.NET 2005 VIB.NET 2005 Tutorials Customizing a Setup Project Deployment projects in Visual Studio.NET allow the specification of where and how the application will be deployed on the user system. Each of the setup editors contain a file system configuration editor. The setup can sometimes include Registry configuration options and options to check special... Comments (7)
The Registry Editor in Visual Studio.NET 2005 Visual Basic.NET 2005 Training The Registry Editor The Registry Editor is used for 1. Creating registry keys 2. Creating values for registry keys 3. Importing a registry file. Like the File System Editor the Registry Editor is split into two panes The left-hand pane of the editor represents the registry keys on the target computer. When...
VB.NET Windows Application Testing VB.NET 2005 Tutorials Testing a Windows Application In this tutorial you will learn how to Test a Windows Application Creating Unit Tests Generating an ASP.NET Unit Test benefits of unit testing Integration Testing Different approaches to Integration Testing Regression Testing goals of regression testing and Testing International Applications....
Tracing VB.NET Windows Application VB.NET 2005 Tutorials Tracing a Windows Application In this tutorial you will learn about Tracing Using Trace and Debug to display information Code Tracing and Debugging Output from Tracing The six Debug Members and Trace Methods Trace Listeners Types of predefined Trace Listeners Trace Switches Conditional Compilation and Conditional Compilation...
The File Types Editor The File Types Editor The File Types Editor can be used to create the required registry to establish a file association for the application being installed. A file association is simply a link between a particular file extension and a particular application. For example the file extension .xls is normally associated with Microsoft Excel....
Shared Assembly VB.NET 2005 Tutorials Shared Assembly In this tutorial you will learn about Shared Assembly how to Assign Strong name to an assembly Microsoft Windows Installer 2.0 Using the Global Assembly Cache tool Gacutil.exe Removing an Assembly from the Global Assembly Cache Referencing an Assembly from Global Assembly Cache Creating a Setup project...
Microsoft .NET Creating Installation Components VB.NET 2005 Tutorials Creating Installation Components In this tutorial you will learn how to Create installation components Work with predefined Installation Components Deploying an Assembly containing the Installation Components Working with Installer Classes URL Remoting Launching a Remote Application The Download Cache Code Access Security...