Visual Basic Interview Questions & Answers

Showing 10 of 101 questions | Page 10

Technical interview questions and answers are important for a Visual Basic Interview because many companies still use VB for maintaining legacy applications, automation tasks, and Windows-based tools. Recruiters expect candidates to understand syntax, variables, loops, functions, event-driven programming, and form design. Visual Basic remains relevant for industries that rely on older but stable systems, so questions from VB often appear in interviews at companies like TCS, Infosys, Wipro, Cognizant, and Accenture. This guide includes frequently asked Visual Basic interview questions with simple, clear explanations that help freshers and job seekers prepare effectively. These questions will strengthen your understanding of VB fundamentals and improve your performance in both technical rounds and project discussions during campus placements.

Showing 10 of 101 questions

91. What methods are used for DBGrid in unbound mode?

AddData, EditData, Readdata, WriteData.

92. 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.

93. What is the max size allowed for Max Text box length.

32,000

94. Record set types and Number available in VB?

3. 1- Dynaset, 0 Table, 2 Snap Shot.

95. What is the max size allowed for Max Control Names length?

255

96. How many procedures are in VB?

2. function and sub procedures

97. What is the max size allowed for Max label caption length.?

2,048

98. What is the max size allowed for Msgbox Prompt and Input Box?

1024

99. what will be the result for 15/4 and 154 ?

15/4 = 3.75 and 154 = 3

100. 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(?
Questions and Answers for Competitive Exams Various Entrance Test