Sunteți pe pagina 1din 28

DEPARTMENT OF TECHNICAL EDUCATION

NDHRA PRADESH
Name of the faculty : G. Radha
Designation : Lecturer
Branch : CCP
Institute : SG Govt. Polytechnic, Adilabad
Year / Semester : V Semester
Subject : Visual Basic – I
Subject Code : CCP - 503
Topic : Understand the Basics of VisualBasic
Duration : 50 Mts.
Sub Topic : Know about the Help System in VB &
how to Save, Debug and
Distribute VB Application
Teaching Aids : Animations & Images
CCP-503.4 1
Objectives:
On completion of this period, you would be able to
 Understand the Help System of Visual Basic
 Save, Debug and distribute VB application
Recap

In the previous period, we have discussed


about

 Browsing through various menus on the Menu


Bar

CCP-503.4 3
Following points will be covered
in this Period

 Understand the Help System in Visual Basic


 Save, Debug and Distribute VB Application

CCP-503.4 4
Help System in VB

 The setup program that installs VB


automatically installs huge volume of help
information
 VB comes with a large collection of help files
 On-line help system is one of the important
features in VB
 Help is last option of VB Menu Bar

CCP-503.4 5
Help Menu

CCP-503.4 6
Help Menu Options
It gives the user a detailed guide on how to
use the help system. The options are :
 Contents
 Index
 Search
 Technical Support
 Microsoft on the Web
 About Microsoft Visual Basic

CCP-503.4 7
Contents Option

 It tells the user how


the VB help system
is organized

CCP-503.4 8
Index Option

 This choice takes the


user to exactly the
same places as help
topics

CCP-503.4 9
Search Option

 It helps the user to


search help on a
specific topic

CCP-503.4 10
Technical Support Option

 It tells the user how to


get help from Microsoft
 This option also
contains hints on
advanced topics

CCP-503.4 11
Microsoft on the Web Option

 It provides the URL for


Microsoft Web Pages
 It also includes the
Internet address of the
MS FTP sites for VB

CCP-503.4 12
About Microsoft Visual Basic Option

 It displays the
System
Information button

CCP-503.4 13
System Information

CCP-503.4 14
To Save VB Application

 Select the File Option from the Menu Bar


 Click on the item SAVE PROJECT AS
 Specify a name to your application and click on
the button SAVE

CCP-503.4 15
Saving VB Application

CCP-503.4 16
Debugging an Application

 Debugging means removing errors in a program


 To debug an application we have 3 key windows
in VB. They are :
 Immediate Window
 Watch Window
 Local Window

CCP-503.4 17
Debugging Options

CCP-503.4 18
Immediate Window

 It opens automatically when your application is


in break mode
 We can then type or paste a line of code and
press Enter to run it

CCP-503.4 19
Watch Windows

 It allows the user to watch the value of variables


in the application that we place in the window
 We can update the values of the variables at any
run time during a break to see the effect

CCP-503.4 20
Local Window

 It automatically displays all the declared


variables in the current procedure and their
values

CCP-503.4 21
Distribute VB Application

 The application setup wizard takes care of


packaging your application for distribution
 It creates exe file of the Main form of VB
Application
 It breaks the installation program into pieces to
distribute in diskettes
 It creates a new application whose purpose is to
install your application on the host computer

CCP-503.4 22
Summary

We have discussed about :

 Help option of Menu Bar in VB and its


options. Menu option
 Saving, Debugging and Distributing the VB
Application Project

CCP-503.4 23
Quiz

CCP-503.4 24
1. Help option is available in ______
A. Menu Bar
B. Standard Tool Bar
C. Edit Tool Bar
D. Format Tool Bar

CCP-503.4 25
2. Save Project option is available under
which option of Menu Bar ?
A. Project
B. View
C. File
D. Tools

CCP-503.4 26
3. Debugging is
A. Running the Application
B. Removing errors
C. Compiling the Application
D. Editing the code

CCP-503.4 27
Frequently Asked Questions

1. Explain in brief about Help System in Visual Basic.


2. Write the procedure to
a) Save
b) Debug
c) Distribute VB Application.

CCP-503.4 28

S-ar putea să vă placă și