Visual Basic Interview Questions & Answers

Showing 10 of 101 questions | Page 7

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

61. Suppose from form1 to form2 object property settings will arise to ?

Invalid procedure call or argument (Run time error 5)

62. What is the return type of Instr and Strcmp?

Instr integer (Numeric position) Strcmp - integer ( if both the string are equal they result = 0) Strcmp (Str1, Str2, Comparetype) Comparing mode = 0 Binary Comparing 1 Textual Comparing

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

64. What is Inprocess and Out of Process?

Inprocess It will run with in the memory. ( Local Machine). Out of Process It will run out of the memory Normally in the server side.

65. Where will we give the option explicit keyword and for what?

In the general declarations section. To trap undeclared variables.

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

67. What is Static Cursor?

In ADO Snap Shot is called so.

68. How to check the condition in Msgbox?

If(Msgbox("Do you want to delete this Record",VbYesNo)=VbYes)Then End if

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

70. 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).
Questions and Answers for Competitive Exams Various Entrance Test