VB6.0 INTERVIEW QUESTIONS AND ANSWERS PDF

Internet Explorer is the most widely used world wide web,which is used to communicate and compete with different web browsers. It is bundled with the Microsoft Windows operating system. Uses of IE 1. Surfing the net 2. Downloading better browsers. Before closing application unload query event called you find your query before close.

Author:Vudojar Sami
Country:Belarus
Language:English (Spanish)
Genre:Software
Published (Last):15 July 2015
Pages:220
PDF File Size:11.21 Mb
ePub File Size:20.93 Mb
ISBN:538-3-82148-712-4
Downloads:57745
Price:Free* [*Free Regsitration Required]
Uploader:Mizahn



These are good theoretical questions, but most companies will not ask many theoretical questions, if any. Instead they'll give you practical coding questions to solve, like these VB. Post a comment. Visual Basic 6. What are the three main differences between flexgrid control and dbgrid Data bound Grid control? It allows complete flexibility to sort, merge, and format tables containing strings and pictures. The data grids are bound controls; that is, they require a data source that actually connects to a database and retrieves their data.

OCX that can be added to any project. What is difference between inprocess and out of process? An in-process component is implemented as a DLL, and runs in the same process space as its client app, enabling the most efficient communication between client and component.

Each client app that uses the component starts a new instance of it. An out of process component is implemented as an EXE, and unlike a dll, runs in its own process space. A single instance of an out of process component can service many clients. In-process components are used by applications or other in-process components. The client is usually an application running in another process. The code running in an ActiveX Exe is running in a separate process space.

You would usually use this in N-Tier programming. Explain single thread and multithread thread apartments? A single-threaded component has only one apartment, which contains all the objects the component provides. This means that a single-threaded DLL created with Visual Basic is safe to use with a multithreaded client.

Calls from all client threads except one are marshaled, just as if they were out-of-process calls. What is a Component? If you compile an ActiveX dll, it becomes a component. If you compile an ActiveX Control, it becomes both a component and a control. Which is better? Early binding uses type library information at design time to reference procedures, while late binding handles this at run time. Late binding handles this by interrogating the reference before each call to insure that it supports a particular method.

Since every call to a late bound object actually requires two calls. Except where early binding is not supported ASP, scripting, etc. This is not the case. The type declaration of the object variable determines whether it is late or early bound, as in the following:. What are the Advantages of disconnected recordsets?

A disconnected Recordset, as its name implies, is a Recordset that lacks a connection. It can save you time and effort and make your code more scalable. In order to create a disconnected Recordset two Recordset properties must be set appropriately. VB automatically assigns batch optimistic locking to newly created, connectionless recordsets. To create one of these structures, then, the only thing you need do is create the object variable instance.

After that, you can simply begin adding fields to the construct. This method requires two parameters , the field name and the field data type. Additional, optional Append method parameters include DefinedSize and Attrib. The DefinedSize argument takes the size of the field. Fill the Attrib parameter with constants that define additional field characteristics, such as whether it will allow null values or is updatable. Disconnected Recordsets, first available with ADO 2. They are call disconnected because the connection to the database is closed.

The collections, properties, and methods of a disconnected Recordset are still available even though the connection is closed. This frees up server resources, given that the number of open connections is limited and database locking is a non-issue. What are Benefits of wrapping database calls into MTS transactions?

If database calls are made within the context of a transaction, aborting the transaction will undo and changes that occur within that transaction. This removes the possibility of stranded, or partial data. Database connections are put to? As opposed to being created and destroyed and are activated upon request. How to register a component? Controls which do not have events?

Shape and line controls are useful for drawing graphical elements on the surface of a form. The image, shape and line controls are considered to be lightweight controls; that is, they support only a subset of the properties, methods, and events found in the picture box. Because of this, they typically require less system resources and load faster than the picture box control. What are the Control Categories? These controls are contained inside the Visual Basic.

Intrinsic controls are always included in the toolbox. These include controls that are available in all editions of Visual Basic DataCombo, DataList controls, and so on and those that are available only in the Professional and Enterprise editions such as Listview, Toolbar, Animation, and Tabbed Dialog. Many third-party ActiveX controls are also available. Since these can be added to the toolbox, they can be considered controls.

What is the difference between Image and Picture box controls? The sizing behavior of the image control differs from that of the picture box. It has a Stretch property while the picture box has an AutoSize property.

Setting the AutoSize property to True causes a picture box to resize to the dimensions of the picture; setting it to False causes the picture to be cropped only a portion of the picture is visible. When set to False the default , the Stretch property of the image control causes it to resize to the dimensions of the picture. Setting the Stretch property to True causes the picture to resize to the size of the image control, which may cause the picture to appear distorted.

What is the Default property of datacontrol? Define the scope of Public, Private, Friend procedures? The set of public variables, methods, properties, and events described in a class module define the interface for an object. Additionally, constants user-defined types, and Declare statements within a class module must always be private. The Friend keyword makes a procedure private to the project: The procedure is available to any code running within the project, but it is not available to a referencing project.

This allows MTS to reuse database connections. Object pooling is an important design concept required for high-performance applications. A performance optimization based on using collections of preallocated resources, such as objects or database connections.

Pooling results in more efficient resource allocation. What is the Difference between a function and a subroutine? A function accepts any number of parameters possibly zero , does something with them, and returns a value. There are two differences between a function and a subroutine: A How they are invoked. B How they are accessed. A function call has the following syntax :: function arg1, arg2, … where: function Is the name of the function.

In addition, on some platforms, the functions are available immediately; whereas, the subroutines are available in a special subroutine library that you must access. 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. This dynamic updating is very handy for things such as the aforementioned monthly report.

You can open up the Excel spreadsheet that is referenced within your Word document. Make changes to the spreadsheet, close Excel, and when you open your Word document… viola! The changes are already there. If that object is linked to ten other Word files, the changes are already in those ten files, too! What is the Difference between listbox and combo box? If the number of items exceeds the number that can be displayed, a scroll bar is automatically added to the ListBox control.

This control allows the user to select an item either by typing text into the combo box, or by selecting it from the list. DIFF::Generally, a combo box is appropriate when there is a list of suggested choices, and a list box is appropriate when you want to limit input to what is on the list. A combo box contains an edit field, so choices not on the list can be typed in this field. What is the Difference between Dynaset and Snapshot?

All Recordset objects are constructed using records rows and fields columns. There are five types of Recordset objects:.

LIAHONA JULIO 2002 PDF

Visual Basic 6 Interview Questions Answers

Spring is an open source framework created to address the complexity of enterprise application development. One of the chief advantages of the Spring framework is its layered architecture, which allows you to be selective about which of its components you use while also providing a cohesive framework for J2EE application development. A BeanFactory is like a factory class that contains a collection of beans. The BeanFactory holds Bean Definitions of multiple beans within itself and then instantiates the bean whenever asked for by clients.

CPCSEA GUIDELINES FOR LABORATORY ANIMAL FACILITY PDF

Visual Basic Interview Questions & Answers

By browsing our Visual Basic Interview Questions and Answers you will learn that VB is also considered a relatively easy to learn and use programming language. This VB interview questions and answers guide will make Visual Basic more easy to learn for every one. Is This Answer Correct? Default for a new component Binary Compatibility? GUID does not change, references from other components will work. Modification history.

Related Articles