GeekInterview.com
Series: Subject: Topic:

Visual Basic Interview Questions

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

Difference between listbox and combo box.

Asked By: Interview Candidate | Asked On: Jul 3rd, 2005

Answered by: harshit khandelwal on: May 26th, 2012

list box: 1)does not contain a text box to write an item. 2)always shows more than one item. 3)we can select one item from multiple items in the list box. 4)contain a check box with in the list box. ...

Answered by: george on: Aug 9th, 2011

we can select Multiple option in Listbox whereas only one option we can select from the collection of data in Combobox..

What is parser bug?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

It is difficult to use database objects declared in a module from within a form.

Answered by: Sandhya.Kishan on: May 25th, 2012

When a code is in the process of being translated by the compiler and there is an error in the coding such errors are called as parser bug.

What is the max size allowed for max label caption length.

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

2,048

Answered by: Sandhya.Kishan on: May 25th, 2012

The max size allowed for max label caption length is 1024 bytes.

PriVATe dim x as integer. Valid ?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

PriVATe cannot be used in front of dim.

Answered by: Sandhya.Kishan on: May 25th, 2012

Private dim x as integer is not valid since private should not be used before dim.

What is the diff between the create object and get object?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

Create object - to create an instance of an object. Get object – to get the reference to an existing object.

Answered by: Sandhya.Kishan on: May 25th, 2012

Create Object instantiates the object where as Get Object works only with existing instances of an object.

What are properties available in clip board?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

No properties available. Only the methods they are settext, gettext, setdata(), getformat(), clear.

Answered by: Sandhya.Kishan on: May 25th, 2012

The clip board supports methods and has no properties. It has SetText, GetText, Setdata(), Getformat(), Clear methods.

What is seek method which type of record set is available this?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

Only in dbopentables. Syntax: rs.Index = "empno" rs.Seek "=" , 10 if with our setting the rs.Index then run time error will occur.

Answered by: Sandhya.Kishan on: May 25th, 2012

We use seek method to the objects in the table.It enables us to change the Index property of the Table object to change the order of the Seek. For intensive searches, we may want to create a Table obj...

How can we call stored procedure of back end in rdo and ADO ?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

In rdo – we can call using rdo query objects. In ADO – we can call using command objects.

Answered by: Sandhya.Kishan on: May 24th, 2012

RDO used RDO query to call stored procedure of a back end where as ADO uses command objects

What is centralization error handling?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

Writing function and calling it when error occurs.

Answered by: Sandhya.Kishan on: May 24th, 2012

Centralization error handling is a process of adding a error handling code to an application which is used to handle same errors over and over. Hence we write few procedures that the error-handling code can call to handle common error situations.

To connect the data control with back end what are all the properties to be set?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

Data source name, record source name

Answered by: Sandhya.Kishan on: May 24th, 2012

To connect the data control with back end we need to set data source name and record source name.

Dsn less connection?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

"server=Oracle; driver={Microsoft ODBC for Oracle};"

Answered by: Sandhya.Kishan on: May 24th, 2012

A database connection can be done without using DNS and hence it is called as DNS less.In DNS less method we need to specify the information needed for the connection like database type, server / file...

What are the different types of dialog box?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

Predefined, custom, user defined.

Answered by: Sandhya.Kishan on: May 23rd, 2012

There are two kinds of dialog box namely simple and complex.
Simple dialog box includes information level and error level.
Complex dialog box includes model,modelless and movable levels.

What is the max size allowed for max control names length

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

255.

Answered by: Sandhya.Kishan on: May 23rd, 2012

The max size allowed for max control names length is 255.

Can we create cgi scripts in vb?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

Yes.

Answered by: Sandhya.Kishan on: May 23rd, 2012

Using console applications we can create CGI scripts in vb.

Setting the cursors.

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

Default cursor – 0 ODBC cursor (client side) – 1 serverside cursors (more network traffic) - 2

Answered by: Sandhya.Kishan on: May 23rd, 2012

Methods to set the cursor position: •positionCursorAfterLast() - Set cursor to after the last record. This method exists so Java™ programs can use the readPrevious() method to access records in th...

What are the different types of error?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

Syntax errors, runtime , logic.

Answered by: Sandhya.Kishan on: May 23rd, 2012

Different types of errors are loading error, runtime error,logical errors,compilation error and syntax error.

Different type of passing value?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

By value, by ref, optional, param array. Note:- optional keyword cannot be used while declaring arguments for a function using param array.

Answered by: Sandhya.Kishan on: May 23rd, 2012

We can pass value by reference and by value.

How to declare dll procedure?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

Declare function "<function name>" lib "<lib name>" alias "<alias name>" (arg, …..) as return type.

Answered by: Sandhya.Kishan on: May 21st, 2012

To declare a DLL procedure, you add a Declare statement to the Declarations section. 1.If the procedure returns a value, write the declare as a Function Example Declare Function publicname Lib "libn...

What is mAPI ?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

Messaging application programming interface.

Answered by: Sandhya.Kishan on: May 21st, 2012

MAPI stands for Messaging Application Programming Interface,they provides a consistent interface for multiple application programs to interact with multiple messaging systems across a variety of hardware platforms.

What are two validate with data control?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

Data_validate, data_error.

Answered by: Sandhya.Kishan on: May 21st, 2012

The two validates with data control are date_validate and data_error.

First | Prev | | Next | Last Page

 

 

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us:
 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, click "Subscribe".