VB Syllabus
VB Syllabus
UNIT I: Getting Started with VB6, Programming Environment, Working with Forms,
Developing an application, Variables, Data types and Modules, procedures and
control structures, arrays. Working with Controls: Creating and using controls,
working with control arrays.
UNIT II: Menus, Mouse events and Dialog boxes: Mouse events, Dialog boxes, MDI
and Flexgrid: MDI, Using the Flexgrid control.
UNIT III: ODBC and Data Access Objects: Data Access Options, ODBC, Remote
data objects, ActiveX EXE and ActiveX DLL: Introduction, Creating an ActiveX
EXE Component, Creating ActiveX DLL Component.
UNIT IV: Object Linking and Embedding: OLE fundamentals, Using OLE Container
Control, Using OLE Automation objects, OLE Drag and Drop, File and File System
Control: File System Controls, Accessing Files.
TEXT BOOKS:
1. Visual Basic 6.0 Programming, Content Development Group, TMH, 8th reprint,
2007. (Unit I to Unit IV)
2. Programming with Visual Basic 6.0, Mohammed Azam, Vikas Publishing House,
Fourth Reprint, 2006. (Unit V)
PROGRAMMING LAB – VB and Oracle
VISUAL BASIC
1. Write a simple VB program to accept a number as input and convert them into
ORACLE
1. Create a table for Employee details with Employee Number as primary key and following
fields: Name, Designation, Gender, Age, Date of Joining and Salary. Insert at least ten rows
and perform various queries using any one Comparison, Logical, Set, Sorting and Grouping
operators.
2. Create tables for library management system which demonstrate the use of primary key
and foreign key. Master table should have the following fields: Accno, Title, Author and
Rate. Transaction table should have the following fields: User id, Accno, Date of Issue and
Date of Return. Create a Report(Select verb) with fields Accno, Title, Date of Issue for the
given Date of Return with column formats.
3. Write a PL/SQL to update the rate field by 20% more than the current rate in inventory
table which has the following fields: Prono, ProName and Rate. After updating the table a
new field (Alter) called for Number of item and place for values for the new field without
using PL/SQL block.
4. Write a PL/SQL to split the student table into two tables based on result (One table for
―Pass‖ and another for ―Fail‖). Use cursor for handling records of student table. Assume
necessary fields and create a student details table.
5. Create a database trigger to implement on master and transaction tables which are based on
inventory management system for checking data validity. Assume the necessary fields for
both tables.
6. Write a PL/SQL to raise the following Exception in Bank Account Management table
when deposit amount is zero.