Feb

28

Event Source: From where event generate like click

Event Listener: Which will listen the event

Event Handler: The code which will handle the event

Event Handling Process Diagram

Event Handling Process through VB Example

 

 

Filled Under: Visual Basic

Feb

27

Variables are named storage locations whose values can be manipulated during the execution of program i.e., during the program-run.

 

Data types are means to identify the type of data and associated operations with it.

 

Categories of Data Types

In VB, we can divide the data types in two major categories:

  1. Numeric Data Types
  2. Non-Numeric Data Types

1. Numeric Data Types:

Numeric data are the data that consists of numbers, which can be used in calculations. In VB, the numeric data can be represented in seven ways through following seven data types.

 

Type Storage
Byte 1 byte
Integer 2 bytes
Long 4 bytes
Single 4 bytes
Double 8 bytes
Currency 8 bytes
Decimal 12 bytes

 

2. Non-Numeric Data Types:

Non-numeric data values are those that cannot participate in calculations e.g., a string or a true value or a stored form etc. There are basically five (5) non-numeric data types in VB but two of these data types can further divided into two subtypes. Thus, the following table lists these seven non-numeric data types

 

Type Storage
String (fixed length) Length of string
String (variable length) Length + 10 bytes
Date 8 bytes
Boolean 2 bytes
Object 4 bytes
Variant (numeric) 16 bytes
Variant (text) Length + 22 bytes

 

The size of a fixed length string remains the same as declared, regardless of the information stored in it. However, variable length strings take the size equals to the number of characters assigned to it plus 10 bytes.

 

Filled Under: Visual Basic

Feb

20

VisualBasic 6.0 Integrated Development Environment Components:

VisualBasic 6.0 Integrated Development Environment

 

Filled Under: Visual Basic

Feb

19

Below are the software requirements to design and run Visual Basic 6.0 Program

 

  • You should have Microsoft Windows Environment i.e. MS Windows 95 and higher – below MS windows 7 Operating System in your laptop or desktop.
  • You have to install Microsoft Visual Studio 6.0 not higher version to work on Visual Basic 6.0
  • If you have installed Microsoft Visual Studio 6.0 on MS Windows-7 at any cost, may be possible some feature will not be available.
Filled Under: Visual Basic

Feb

18

MAHATMA GANDHI KASHI VIDYAPITH UNIVERSITY, VARANASI

BACHELOR OF COMPUTER APPLICATION (BCA)

BCA 404 : FRONT END DESIGN TOOLS

 

Unit 1:

Introduction of Visual Basic: Variable Names, Data Types, Assignment, If-then, If-then-else, expression, print statement, arrays, variable declaration, Built-in & User Defined types, Subroutine and functions, Boolean Operators, Arithmetic Operator, For-next, do-loop, while-wend, procedure/Public, Private and Static & Dim Statement.

 

Unit 2:

Structure of VB Program: Forms & Built in Controls, Properties and events, Code Module, Scale Modes, Printer Object (Printing text, setting font, graphics), Common dialog Boxes, picture controls, image-controls, send keys, MS-Common controls, Error Handling, Classes, Control Arrays, MDI, SDI.

 

Unit 3:

 

Database Interface: Review of ANSI SQL, ODBC, Pass through ODBC, DAO, MS-Jet Engine, Workspaces, Databases, recordsets, Data bound controls, ActiveX controls, ADO, ActiveX Data controls, RDO.

 

Unit 4:

 

Reports: Data view Window, Data Environment Designer, Crystal Report and Data Report Utility.

 

Unit 5:

 

COM/DCOM: Overview of COM/DCOM, using Windows API Functions, MAPI interface, Microsoft Transaction Server, Visual source safe.

Filled Under: Visual Basic

Jan

17

Welcome to Ram Gopal Gupta Blog, to share our knowledge..