Visual Basic Interview Question

There are many things that you can do ahead of time to prepare for the interviewing process, and move yourself a step above of the competition. Updating your resume and reviewing frequently asked interview questions can be very effective, and goes a long way in getting the most out of your interview.

 

What are the scopes of the class?
Public, private, Friend

 

Have you create Properties and Methods for your own Controls?
Properties Public variable of a Class
Method Public procedure of a class

 

Private Dim x as integer. Valid ?
Private cannot be used in front of DIM.

 

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.

 

What are the different types of Dialog Box?
Predefined, Custom, User Defined.

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.

 

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.

 

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