Question
(a) Visual Basic is governed by an event processor. Explain the meaning of this phrase.
(b) Differentiate between an general procedure and event procedure.
(c) Write short notes on the following Visual basic errors:
(i) Syntax errors
(ii) Run-time errors
(iii) Logic errors.
(d) A Visual Basic application cannot directly interact with a database. There are two intermediate components between the application and the database. Using an appropriate diagram explain in details the two components.
(e) The ADO (ActiveX Data Object) data control is the primary interface between a Visual Basic application and a database. Explain the following properties associated with the ADO data control:
i. Command Type
ii. Connection String
iii. RecordSet
iv. RecourdSource