Monday, January 12, 2015

Visual Basic 6.0

Visual Basic 6.0



Visual basic 6.0 is working on IDE (integrated development environment). It is provide graphical virtual development interdace. It is a event- driven programming method.
Event-Driven Program- in this, one function is called by another then it respond.
Our step to learning this-
Installation and configuration 
Form design and coding

Let's start installation
---------------------------

Double-click SETUP.EXE
On this and other Program Compatibility Assistant warnings, click Run Program.
Click Next.
Click "I accept agreement", then Next.
Enter name and company information, click Next.
Select Typical inatalation, click next 
If you do not have the MSDN CD, clear the checkbox on the next dialog, and click next. 
You'll be warned of the lack of MSDN, but just click Yes to accept.
On the next dialog,
 clear the checkbox for "Register Now", and finish

Overview of VB6.0
-----------------------------

1. Open vb6 project
2.Choose standard exe
3.Now press OK

Now you understand some important thing in VB6.0
  • Menu Bar
  • Tool Bar
  • Project Explorer
  • Properties window
  • Form Layout Window
  • Toolbox
  • Form Designer
  • Object Browser
Menu
-------------------------------
it contain different type of command to develop a project. The main menu items have sub menu items that can be chosen when needed.


Toolbox
-------------------------------
It provide different tool to create user interface and supporting tool. Like- button, timer,textbox and so on....


Lets know about tool.................
Pointer--Pointer control is used to resize and position a control.
Picture Box--The Visual Basic 6.0 PictureBox control is a container control; in addition to displaying pictures it can be used to group and display other controls.
  • The Picture Box control supports more properties, events, and methods than the Image control.
  • The Picture Box control consumes more resources than the Image control and, therefore, is not as efficient. 

 Label-- A label control is used to display text that a user cannot edit directly. However, you can write code to change the text that is displayed by assigning a string value to the label's Text property. Common uses of the label control are to display a message to the user and to identify another control (such as a textbox) so that the user has an idea of what should be entered into that textbox.

TextBox-- A textbox control (sometimes referred to as an edit field, edit box, or text entry control) is used to display information entered either by you at design time, by the user at run time, or by an assignment statement in the program code. The displayed text may be accessed by setting or reading the textbox's Text property.

Frame-- Frame is a container control as the Frame control is used as a container of other controls. The controls that are on the frame or contained in the frame are said to be the child controls. Use the Caption property to set the frame's title.