What to shift your career to Visual Basics? Then we have provided you with the complete details about the Visual Basics Interview Question and Answers on our site page. Carking an interview at very first attempt need very hard working and should have a good knowledge on all concepts as well. Visual Basic is a 3rd generation event-driven programming language and combined development environment from Microsoft for its Component Object Model programming model first released in 1991 and professed legacy during 2008.If you are good at the Visual Basics concepts then there are various companies that offer job roles like Software Developer, VBA Developer, Vb.net with Windows Application Developer and many other roles too. For any other further details on Visual Basics jobs visit our site www.wisdomjobs.com.
Compiling the component, running REGSVR32 MyDLL.dll
All variables must be declared before use. Their type is not required.
Dim obj as OBJ.CLASS
Set obj = New OBJ.CLASS
Set obj = CreateObject (“OBJ.CLASS”)
Forward Only: Fastest, can only move forward in recordset.
Static: Can move to any record in the recordset. Data is static and never changes.
KeySet: Changes are detectable, records that are deleted by other users are unavailable, and records created by other users are not detected
Dynamic: All changes are visible.
LockPessimistic: Locks the row once after any edits occur.
LockOptimistic: Locks the row only when Update is called.
LockBatchOptimistic: Allows Batch Updates.
LockReadOnly: Read only. Can not alter the data.
Connection: Used to make a connection between your app and an external data source, ie, sql server
Command: Used to build queries, including user-specific parameters, to access records from a data source
Recordset: Used to access records returned from an SQL query. With a recordset, you can navigate returned records. You can also add, modify or delete records.
shape, line controls
Object linking and embedding, for using to other object classes like word, excel , autocad objects in our own applications, only thing we have to add reference for these objects.
Checkbox, comna, combo, list, picture, ADo control, Data,Datagrid, Datareport,Dir list biox, filelistbox etc.
Early binding allows developers to interact with the object’s properties and methods during coding permits the compiler to check your code. Errors are caught at compile time. Early binding also results in faster code
Eg : Dim ex as new Excel.Application
Late binding on the other hand permits defining generic objects which may be bound to different objectsyou could declare myControl as Control without knowing which control you will encounter. You could then query the Controls collection and determine which control you are working on using the TypeOf method and branch to the section of your code that provides for that type
Eg : Dim ex as Object
set ex =CreateObject(“Excel.Application”)
AppActivate (”C:windowssystem32cmd.exe”) ‘ Appilcation caption
SendKeys (”SA”) ’For sending one string
SendKeys “% ep”, 1 ’ For sending Clipboard data to Dos
Private Sub Command1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 2 Then
Option Base is to set the Index of the Array to start from 0 or 1.Like option explicit.. declare “Option base 1″ at the top. now the array will start from Index By default the index starts from 0.
Clipboard.SetData and Clipboard.GetData
Alignment property, Tab Index etc
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. An out of process component is implemented as an EXE, and unlike a dll, runs in its own process space. As a result, exe’s are slower then dll’s because communications between client and component must be marshalled across process boundaries
The Parameters collection.
Microsoft FlexGrid (MSFlexGrid) control displays and operates on tabular data. It allows programmatically sort, merge, and format tables containing strings and pictures. DBgrid is A spreadsheet-like bound control that displays a series of rows and columns representing records and fields from a ADO Recordset object.
Standard EXE, ActiveX EXE, ActiveX DLL, ActiveX document, and ActiveX Control.
Intrinsic controls - Default controls of VB6, These control are always available in VB6 Toolbox.
ActiveX controls - .These are extra controls which can be added into toolbox and this control having separate files (.ocx). Must be deployed separately along with application in other system.
An in-process component is implemented as a DLL called ActiveX 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 called ActiveX EXE, and unlike a dll, runs in its own process space. As a result, exe’s are slower then dll’s because communications between client and component must be marshalled across process boundaries. A single instance of an out of process component can service many clients.
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. Also picture box is a container control and support most of the graphics method.
Function always return a value, wheras am method may or may not return value.
a) Table-type Recordset - Hold records from single table and can add, edit and delete.
b) Dynaset-type Recordset - Can hold editable records from multiple tables.
c) Snapshot-type Recordset - Hold read only records from multiple tables,
d) Forward-only-type Recordset - Hold read only records from multiple tables without cursor.
e) Dynamic-type Recordset -Holds editable records from multiple tables and changes done by other user also visible.
Both are display list of items, however in combo box user can edit the item.
A modal form has exclusive focus in that application until it is dismissed. Moduless form are not required exclusive focus and it is default when we show any form.
Class is template from we can create objects, Objects are instantiate of a class. For example car is a class and Maruti 800, Maruti Zen are objects of car class.
Processes communicate with one another through messages, using Microsoft’s Remote Procedure Call (RPC) technology to pass information to one another.
Query unload event occurs in a first and then unload event occurs, in MDI form we can trac child form closing status by using this event.
a) LockPessimistic - Locks the row once after any edits occur.
b) LockOptimistic - Locks the row only when Update is called.
c) LockBatchOptimistic - Allows Batch Updates.
d) LockReadOnly - Read only. Cannot alter the data.
Let used to set value for ordinary variable and Set used to set value for object variable.
a) ByRef -pass the address of variable not value
b) ByVal - pass the value
Automatically redraw the outputs.
DoEvents command tell program control to execute other commands, while executing long task.
Visual Basics Related Tutorials
|Pascal programming Tutorial||MS Access Tutorial|
|VB.NET Tutorial||VBA For Excel Tutorial|
|ASP.NET Tutorial||Tableau Tutorial|
|VB Script Tutorial|
Visual Basics Related Interview Questions
|Pascal programming Interview Questions||MS Access Interview Questions|
|VB.NET Interview Questions||VBA For Excel Interview Questions|
|ASP.NET Interview Questions||Fox Pro Interview Questions|
|Tableau Interview Questions||VB Script Interview Questions|
|Advanced C# Interview Questions||Visual Source Safe Interview Questions|
Winrunner At A Glance
Understanding How Winrunner Identifies Gui Objects
Understanding Basic Gui Map Concepts
Working In The Global Gui Map File Mode
Editing The Gui Map
Merging Gui Map Files
Configuring The Gui Map
Learning Virtual Objects
Checking Gui Objects
Working In The Gui Map File Per Test Mode
Working With Web Objects
Working With Activex And Visual Basic Controls
Checking Powerbuilder Applications
Checking Table Contents
Creating Data-driven Tests
Synchronizing The Test Run
Defining And Using Recovery Scenarios
Handling Web Exceptions
Using Regular Expressions
Enhancing Your Test Scripts With Programming
Creating User-defined Functions
Creating Compiled Modules
Calling Functions From External Libraries
Creating Dialog Boxes For Interactive Input
Understanding Test Runs
Analyzing Test Results
Running Batch Tests
Running Tests From The Command Line
Controlling Your Test Run
Setting Properties For A Single Test
Setting Global Testing Options
Customizing The Test Script Editor
Customizing The Winrunner User Interface
Setting Testing Options From A Test Script
Customizing The Function Generator
Initializing Special Configurations
Integrating With Quicktest Professional
Managing The Testing Process
Testing Systems Under Load
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.