IDCS - Elective Unit - DEE002 – Visual Basic

Introduction  

Since its launch in 1990, the Visual Basic approach has become the standard for programming languages. The release of VB with its capacity to create high performance components and applications has consolidated its position as one of the program languages most in demand.  

This workbook has been written to provide readers with a firm foundation and knowledge of the VB6 programming environment based upon good programming techniques and practical exercises.  

General Objectives  

Upon successful completion of this module candidates will be able to demonstrate a satisfactory performance in the following topic areas:  

A. VB Development.

B. Intrinsic Controls.

C. Multiple Document Interface.

D. Database Development in VB.

E. Custom Controls.

F. MS Windows Common Controls.

G. Object Linking and Embedding.

H. Reading and Writing Files.

I. Advanced ActiveX Controls & WIN API.

J. ActiveX Code Components.

K. Creating ActiveX Controls.

L. Creating & Using ActiveX Documents.  

Specific Objectives  

Objective A: VB Development

A1.Explain Event-Driven Programming.

A2.Explain VB features such as Objects & Classes, Data Types, Variables and Constants, Input Box and Message Box.

A3.Create a sample VB application that uses Class Modules.  

Objective B: Intrinsic Controls 

B1.Use Intrinsic Controls, e.g. Picture Box, Label, List Box, Combo Box, Image, Line and Shape, Timer, Drive, Directory, File List Box, Scroll Bar, Option Button, Check Box and Data Control.

Objective C: Multiple Document Interface  

C1.Explain the Multiple Document Interface.

Objective D: Database Development in VB  

D1.Create a database using the VB Data Manager program.

D2.Explain Database Development topic areas as Data Access Objects, working with Data Files, Retrieving Remote Data, Referential Integrity, Multiple user issues, Performance Issues and Attaching SQL tables.  

Objective E: Custom Controls  

E1.Use VB custom controls such as, MS Chart Control, SS Tab Control, and Grid Control.  

Objective F: MS Windows Common Controls

F1.Use MS Windows Common Controls such as, Tool Bar, Status bar, Progress Bar, Slider Control, List View and Tab Strip Control.  

Objective G: Object Linking and Embedding  

G1.Use OLE in VB.  

Objective H: Reading and Writing Files

H1.Create sequential files.

H2.Create random access files.

H3.Write information to disk and read information from disk.  

Objective I: Advanced ActiveX Controls & WIN API  

I1.Use VB Advanced ActiveX controls such as, Animation Control, Winsock Control, Internet / Transfer Control and Web Browser Control.

I2.Access the Microsoft API in VB.  

Objective J: ActiveX Code Components

J1.Create a class module, create an instance of a class, class module events and creating methods and properties.

J2.Create a VB standard EXE projects using class modules and activeX Dll’s.  

Objective K: Creating ActiveX Controls

K1.Create new ActiveX Controls.

Objective L: Creating & Using ActiveX Documents  

L1.Use ActiveX Documents by creating a VB Application.