-
What are the scopes of the class?
Public, private, Friend
-
-
In project properties if we set Unattended what is it mean?
This cannot have user interface. This can be used for the COM creation.
-
What are the Style Properties of Combo Box?
Simple, Dropdown list – We can type and select. Dropdown Combo – Only Drop Down.
-
What are the Style properties of List Box?
Simple –Single Select , Extended. – Multiple Select.
-
What are the different types of Dialog Box?
Predefined, Custom, User Defined.
-
What is Parser Bug?
It is difficult to use database objects declared in a module from within a form.
-
What is the Dll required for running the VB?
Vbrun300.dll
-
-
How to check the condition in Msgbox?
If(Msgbox("Do you want to delete this Record",VbYesNo)=VbYes)Then End if
-
What is difference between datagrid and flexgrid?
Datagrid – Editable. Flexigrid – Non-Editable. (Generally used for Read only purpose.)
-
What is ADO? What are its objects ?
ActiveX Data Object. ADO can access data from both flat files as well as the databases. I.e., It is encapsulation of DAO, RDO, and OLE that is why we call it as OLE-DB Technology. Objects are Connection, Record Set, Command, Parameter, field, Error, Property.
-
What is Dataware Control?
Any control bound to Data Control. Ex:- Textbox, Check Box, Picture Box, Image Control, Label, List box, Combo Box, DB Combo,
-
What are two validate with Data Control?
Data_Validate, Data_Error.
-
Record set types and Number available in VB?
3. 1- Dynaset, 0 – Table, 2 – Snap Shot.
-
What are the locks available in Visual Basic?
Locking is the process by which a DBMS restricts access to a row in a multi-user environment 4 types of locks. They are 1. Batch Optimistic 2. Optimistic 3. Pessimistic 4. ReadOnly Operations in a relational database act on a complete set of rows. The set of rows returned by a SELECT statement consists of all the rows that satisfy the conditions in the WHERE clause of the statement. This complete set...
-
How can we call Stored procedure of Back End in RDO and ADO ?
In RDO – We can call using RDO Query Objects. In ADO – We can call using Command Objects.
-
What are the Technologies for Accessing Database from Visual Basic?
DAO, Data Control, RDO, ODBCDIRECT, ADO, ODBC API , 0040.
-
What is MAPI ?
Messaging Application programming Interface.
-
Different type of Passing Value?
By value, By ref, Optional, Param Array. Note:- Optional keyword cannot be used while declaring arguments for a function using param array.
Visual Basic Interview Questions
Ans