GeekInterview.com
Series: Subject: Topic:

VBA Interview Questions

Showing Questions 1 - 20 of 63 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

Difference between a function and a subroutine, dynaset and napshot, early and late binding, image and picture controls, linked object and embedded object, list box and combo box, list index and tab index,...

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: zakir khan on: May 29th, 2012

Tab index is associated with tab button, i.e. when we press tab then it moves to next element
snd list index is associated with List box controls items present in List Box

Answered by: vivek on: Dec 14th, 2011

Early Binding: Manually binding the OLB file is called early binding. Its "early" because you are exposing the object model during design-time, as opposed to during run-time. Sub CheckBinding() ...

Control list of properties

Asked By: zakia123 | Asked On: Jul 4th, 2010

Which of the properties in a control's list of properties is used to give the control a meaningful name?

Answered by: zakir khan on: May 29th, 2012

Caption

Code
  1. buton1.caption="XYZ"

Answered by: Reshma on: Sep 6th, 2011

Name Property in Properties window

How to write HTML report function in vb script

Asked By: smileindu.priya | Asked On: Nov 4th, 2011

Answered by: udaya on: Nov 9th, 2011

if Sr1="true" and sr2="true" then
reporter.reportevent micpass ,'tc1','Verify the check functionality'
else
reporter.reportevent micfail ,'tc2','verify the check functionality,
endif

3 main differences between flexgrid control and dbgrid control

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Virginia on: Dec 28th, 2005

1. Datagrid is Editable, flexgrid is Diplay only.

2. DBGrid allows full data binding while MSFlexGrid allows read-only binding

3.  MSFlex grid is smaller and allows cell merging while Datagrid is larger and does not allow cell merging.

Answered by: Sornambal Sivaraman on: Oct 20th, 2005

3 main differences between flexgrid control and dbgrid control

How can a com object be modified in vb?

Asked By: ajay_shu007 | Asked On: Jun 19th, 2008

Answered by: prasadrodda on: Jun 24th, 2009

COM means Component Object Model it is a windows default object which has got lib files in the sys dir.
As for VB we need to add in .dll files to update COM files.

Which property of textbox cannot be changed atruntime and what’s the maximum size of a textbox?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: rakesh.dadri on: Dec 4th, 2010

The property of textbox which we cannot change at run time are:
name
multiline.

Answered by: Dharmendra Dixit on: Oct 16th, 2006

Hi All,

 We can not change the 'Multiline' proprty of TextBox at the Run Time.

  and TextBox has No Limits

Font dialog box

Asked By: zakia123 | Asked On: Jul 4th, 2010

The font dialog box allows you to select different fonts, their style, their size, and some other special effects. How do you bring up this font dialog box?

Answered by: anikumar.j on: Jul 19th, 2010

Use Application.Dialogs(xlDialogFont).Show to load fond dialog box from Excel VBA

What is the method for returning more than one values from a function in vb

Asked By: ajay_shu007 | Asked On: Jun 19th, 2008

Answered by: vikasbhandari2 on: Jan 20th, 2010

In such a case, I would prefer to create a class with the properties I require to return, and then return the object of the class from the function.

Thanks,
Vikas

Answered by: DebbieinFlorida on: Jul 11th, 2008

2 methods, use ByRef for the variables or return an array of values

Activex and types of activex components in vb

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: rajen singh on: Nov 12th, 2007

ACTIVEX: ActiveX  are reusable software components or simply a class by which we can call a member functions or datamembers on creating object or simply drag & drop a control to access its functionality.

3 Types:
ActiveX dll
ActiveX exe
ActiveX control

Audio waves through visual basic

Asked By: amar1_001 | Asked On: Oct 10th, 2007

How to to send some audio waves through vb application when a call is make to application through any mobile or telephone , how it can be achieved ?

Constructors and distructors

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Amar on: Oct 9th, 2007

Constructors have same name as class has, constructor's need not any call through objects, they are called automatically when an instance of class is created.
Destructors are used to make the memory free used by constructor variable, it do it's job just defining a destructor at the end of pro. 

Answered by: Sandeep on: Oct 17th, 2005

when we initialize the form at that time if we want to set any variable's value then we can set it by defining in constructor. constructor 's name always same as class name.and destructor is used to recover memory occupied by any variable defining in constructor.

Describe database connection pooling relative to mts

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: sathish on: Jul 7th, 2007

This enables MTS to reuse database connections.  Database connections are sent to "sleep" mode as against normal constructions and destructions.  This can be revoked upon request.

Hello, I would like to do the following. If cell a1 contains "hello" and if the focus is on a1 and if the enter key is pressed, then the focus should go to b2 and a msgbox should appear. I think this can...

Asked By: Liglin | Asked On: Sep 20th, 2005

Answered by: sc on: Jun 8th, 2007

Trap Enter with ASC code 13 not 32 (which is ASCII code of space)

Answered by: samitbasu on: Feb 16th, 2006

Use KeyAscii and trap enter(32).

Controls which do not have events

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Subashini on: Apr 2nd, 2007


 Shape and Line Controls

Answered by: Nagesh on: Aug 24th, 2006

Line Control

How to set a shortcut key for label?

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Subashini.Ramasamy on: Apr 2nd, 2007



 By setting the UseMnemonic property to true

Default property of datacontrol

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: Subashini.Ramasamy on: Apr 2nd, 2007



  Connect Property

Benefits of using mts

Asked By: Beena | Asked On: Sep 19th, 2005

Answered by: ravindra on: Apr 1st, 2007

object pooling....

What is ADO, oledb & ODBC?

Asked By: sunil kumar | Asked On: Dec 29th, 2006

Answered by: spandia on: Feb 15th, 2007

ODBC : Open Database Connectivity(ODBC) is a windows technology that lets a database client application connect to a external database.OLEDB : Low level programming interface designed ...

Why we use doevents in vb6.0?

Asked By: sanjay kumar Dalai | Asked On: Nov 22nd, 2006

Answered by: Ganapathy.C.M on: Dec 19th, 2006

In the bad old days (before Win95), Windows could only do one thing at a time. This meant that events like mouse clicks and other user input could only be serviced in order, like everything else, even...

First | Prev | | Next | Last Page

 

 

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.