-
-
How to trap Data Base Error?
Dim x as RDOError X(0).Des X(1).Number
-
-
-
-
-
-
-
What is the max size allowed for Extension in Visual Basic
Frm, bas, cls, res, vbx, ocx, frx, vbp, exe
-
Drag and Drop state numbers and functions?
State 0 – Source control is being dragged with the range of a target. 1 – Out of the range of a target. 2 – One position in the target to another.
-
Suppose from form1 to form2 object property settings will arise to ?
Invalid procedure call or argument (Run time error – 5)
-
What are the scopes of the class?
Public, private, Friend
-
How to increase the Date corresponding with month,date,year?
DateSerial(year(Now),Month(Now)+1,1) Hour, min, sec, month, year, DateSerial, dateadd, datediff, weekday, datevalue, timeserial,timevalue.
-
What is Static Variable?
Its Scope will be available through out the life time.
-
-
-
-
ActiveX Component
What project option causes the necessary files to be generated when the project is compiled?
-
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 difference between datagrid and flexgrid?
Datagrid – Editable. Flexigrid – Non-Editable. (Generally used for Read only purpose.)
Visual Basic Interview Questions
Ans