Visual Basic Interview Questions & Answers

Showing 10 of 101 questions | Page 5

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

41. What are the scopes of the class?

Public, private, Friend

42. Have you create Properties and Methods for your own Controls?

Properties Public variable of a Class Method Public procedure of a class

43. Private Dim x as integer. Valid ?

Private cannot be used in front of DIM.

44. Different type of Instantiation?

Private Only for the Specific Module. Public not creatable Private & Public Multi Use - Variable we have to declare. Single Use Not possible through dll. Global Multiuse Have variable not Required to Declare. Global Single Use - Only for exe.

45. What are the different types of Dialog Box?

Predefined, Custom, User Defined.

46. What is Seek Method which type of record set is available this?

Only in DbOpenTables. Syntax: rs.index = "empno" rs.seek "=" , 10 If with our setting the rs.index then run time error will occur.

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

48. Can us able to set Instancing properties like Singleuse, GlobalSingleuse to ActiveXDll?

No.

49. What are properties available in Clip Board?

No Properties Available. Only the methods they are SetText, GetText, Setdata(), Getformat(), Clear.

50. What is the different between Microsoft ODBC Driver and Oracle OBDC Driver?

Microsoft ODBC driver will support all the methods and properties of Visual Basic. Where as the Oracle not.
Questions and Answers for Competitive Exams Various Entrance Test