Showing posts with label visual basic. Show all posts
Showing posts with label visual basic. Show all posts

Monday, October 6, 2008

Visual Basic: Creating a Windows forms application that uses custom-made class library

In this presentation you will see how to create a Windows forms application that uses our custom-made MyVBClassLib class library. In this example you will also see how to add a new project to a solution.

Presentation type: Flash SWF
Software needed to apply: Microsoft Visual Studio 2005

Open the presentation here.
Separate code listings can be found here (you can open them while the presentation, too).

Friday, October 3, 2008

Visual Basic: Creating a class library

In this presentation you will see how to create a simple class library using Visual Basic. Class library is a re-usable collection, or a component, of classes and operations, which serve some common purpose that different applications can use. In this example we create a class library containing a class called MyServer, which has a method called Calculate. This method calculates two integer operands by using the given operator (+, -, /, *). So, the operands and the operator are the parameters of the method. There is also a code listing in a separate file (PDF) where you can see the complete code of the class and write it into your class. Later we will create a few client applications, which use this class library to perform calculations. Note that the compiled version of the library will have a file extension .dll. This example applies also to Visual C# and Visual J#.

Presentation type: Flash SWF
Software needed to apply: Microsoft Visual Studio 2005

Open the presentation here.
Separate code listings can be found here (you can open them while the presentation, too).

ASP.NET/Visual Basic: Creating a simple web application

This presentation shows how to create and test a simple ASP.NET web application using Visual Basic. This example applies also to Visual C# and Visual J#.

Presentation type: Flash SWF
Software needed to apply: Microsoft Visual Studio 2005

Open the presentation here.