- World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.

Get it now !!
Send your Resume to 6000 Companies
Visual Basic Interview Questions & Answers - Learning Mode

Visual Basic Interview Questions & Answers - Learning Mode

Visual Basic (VB) is a programming environment from Microsoft in which a programmer uses a graphical user interface (GUI) to choose and modify preselected sections of code written in the BASIC programming language. "Visual" refers to the method used to create what the user sees?the graphical user interface, or GUI. "Basic" refers to the BASIC (Beginners All-Purpose Symbolic Instruction Code) programming language, a language used by more programmers than any other language in the history of computing.

Try Visual Basic Interview Questions & Answers - Exam Mode

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 >> Next

Sort By : Latest First | Oldest First | By Rating

Visual Basic Interview Questions & Answers - Learning Mode
Try Visual Basic Interview Questions & Answers - Exam Mode
Question: 3 main differences between flexgrid control and dbgrid control?

Question: What is the difference between ADODC and ADODB

Answer: When u build connection with database through coding, then its ADODB..

When u build connection with database through ADO component, then its ADODC ............
Question: What is the Dll required for running the VB?

Answer: Vbrun300.dll Source:
Question: What is option base? diff between option base
and option explicit?

Answer: Option Base -

When an array is declared by default starting index number is 0. By using this statement the programmer can change the starting index number. Well but according to coding conventions this concept should not be used.

Option Explicit -

Declaring a variable in Visual Basic by default is not must. Due to this by default every variable are considered as Variant hence unnecessart memory wastage. Well good practice is to declare variable of the type you want to use. Source:
Question: Dim x, y as integer. What is x and y data type?

Answer: X as variant and y as integer. Source:
Question: ___,_____ and ____ container objects.

Answer: Form,PictureBox,OLE Source:
Question: Does VB Supports OOPS Concepts? Explain..

Answer: Visual Basic is not supprt Inheritance and Data binding OOPS Concept
Question: How many event in VB6 form.

Answer: 31 Source:
Question: What is the difference between Property Get, Set and Let?

Answer: Set ? Value is assigned to ActiveX Object from the form.
Let ? Value is retried to ActiveX Object from the form.
Get- Assigns the value of an expression to a variable or property. Source:
Question: What are the type of validation available in VB?

Answer: Field, Form Source:
Question: Difference between Class Module and Standard Module?

Answer: standard module:

1)place for variable declarations,procedures etc.and we can access these procedures in wherever in the project.

2)Available only for the existing modules where they are used.

class module:

1)Unlike standard module,members of class like object's properties,events can be accessed only whenever an instance of class is created.

2)We can make use of it whenever an object reference of the particular class is created for number of applications
Question: How to get Cursor position using API?

Question: Which property of menu cannot be set at run time?

Answer: Name property Source:
Question: List out controls which does not have events

Answer: Line and Shape Control does not have a single event. Source:
Question: To populate a single column value which dbcontrols you to use?

Question: Types of cursors in DAO?

Question: What is adUseClient and adUseServer?
Where it is going to affect in runtime?

Answer: These are constants in CursorLocationEnum of CursorLocation property on a ADO Connection object.

If the CursorLocation property is set to adUseClient then the recordset will be in read only mode, i.e. the recordset cannot be used to update records in the database. A recordset with the CursorLocation asUseClient is typically used when an active Recordset is Disconnected for viewing data.

By setting the CursorLocation as adUseServer the recordset can perform any transaction with the Source:
Question: How do I call oracle pl/sql stored procedure from vb6?

Answer: First create ADO objects (Conection,Command)
Let us assume,
connection object as ObjCon
Command object as SqlCmd

SqlCmd.CommandType = adCmdStoredProc
Question: Difference between Linked Object and Embedded Object?

Answer: Embedding objects - When you embed an object, a copy of the object is inserted into the destination document. There's no link to the original file. When you change information in the source document, no changes will be reflected in the destination document. The actual data for the object is stored within the destination file. To make changes to the embedded object, double click it and it will launch the original application the source file was in.o Linking objects - Information is updated wh Source:
Question: What is oops? what is polymorphism ?
does vb supports oops concept in totality?
pl explain

Answer: Oops Is the concept. It is Object Oriented Technology. In Oops, concepts like, Class, Structure, Object, Methods, Function, Property, Inheritance, Polimorphism, Abstraction etc. is there.

When you use same method name but for diffrent purpose is call polymorphism. For example, Area() method in Shape class. There are many shape are there , Circle, Rectangle etc. To count area , there should be different caculation. For this, we derieve child class from Shape Parent class like, Circle, Re Source:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 >> Next

India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0.015625 Seconds