-
What will be the result for 15/4 and 154 ?
15/4 = 3.75 and 154 = 3
-
How many procedures are in VB?
2. function and sub procedures
-
What are types of binding?
Assigning variable with defined memory space. Late Binding - Memory size is allotted in later stage. Ex:- Dim x as object Early Binding - Memory size is allotted while declaring itself. New Key word is important. Ex:- Dim x as New Object
-
What is Mask Edit and why it is used?
Control. Restricted data input as well as formatted data output.
-
What are the type of validation available in VB?
Field, Form
-
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
-
-
Diff type of Datatypes?
LOB (Large Object Data type). CLOB (Stores Character Objects). BLOB ( Store Binary Objects such as Graphic, Video Chips and Sound files). BFILE(Store file pointers to LOB It may Contain filename for photo’s store on CD_ROM).
-
What is Zorder Method?
Object.Zorder = 1 or 0 Place a Specified mdiform form or control at the front or back of the z-order with n its Graphical Level.
-
What is the starting Index value? How to locate it?
It is tab control to place our controls with in the form in multiple sheets. Index starts with 1. And to identify If Tabstrip1.SelectedItem.Index = 1 Then ….. End if
-
What is Implicit?
Instance of specific copy of a class with its own settings for the properties defined in that class. Note: The implicitly defined variable is never equal to nothing.
-
What is the diff between RDO and ADO?
RDO is Hierarchy model where as ADO is Object model. ADO can access data from both flat files as well as the data bases. I.e., It is encapsulation of DAO, RDO , OLE that is why we call it as OLE-DB Technology.
-
Calling Stored Procedures in VB?
1. Calling Simply the Procedure with out Arguments "Call ProcedureName}" 2. If it is with Arguments Means then Declare the Query Def qy Set Qy as New Query def Qy.SQL = "{Call ProcedureName(?
-
List out controls which doest not have events
Line and shape controls
-
-
-
-
-
-
Visual Basic Interview Questions
Ans