Visual Basic Interview Questions(61-70)

How to check the condition in Msgbox?
If(Msgbox(”Do you want to delete this Record”,VbYesNo)=VbYes)Then End if

What is control array and how many we can have it with in the form?
Group of control share the same name. Max 32, 767.

What is diff between the Generic Variable and Specific Variable?
Generic Variable:
Create Object Ex:-Ole-Automation . No need refer the object library.
Specific Variable:
Binding Procedure Early and Late Binding ( Can be Remove from the Memory).

What is the diff. Between function and sub procedures?
Function will return value but a sub procedure wont return values

What is the max size allowed for Extension in Visual Basic?
Frm, bas, cls, res, vbx, ocx, frx, vbp, exe
What is FireHouse Cursors?
Forward Only Some time Updateable

With in the form we want to check all the text box control are typed or not? How?
For each currentcontrol in controls
if typeof currentcontrol is TextBox then
end if
next

What are the type of validation available in VB?
Field, Form

How to trap Data Base Error?
Dim x as RDOError
X(0).Des
X(1).Number

Setting the Cursors.
Default Cursor 0
ODBC Cursor (Client side) 1
ServerSide Cursors (More Network traffic) - 2

How to declare Dll Procedure?
Declare function “” lib “”
Alias “” (Arg, ..) as Return type.

Leave a Reply

You must be logged in to post a comment.

Close