It is difficult to use database objects declared in a module from within a form.
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.
2,048
The max size allowed for max label caption length is 1024 bytes.
PriVATe dim x as integer. Valid ?
PriVATe cannot be used in front of dim.
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?
Create object - to create an instance of an object. Get object – to get the reference to an existing object.
Create Object instantiates the object where as Get Object works only with existing instances of an object.
What are properties available in clip board?
No properties available. Only the methods they are settext, gettext, setdata(), getformat(), clear.
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?
Only in dbopentables. Syntax: rs.Index = "empno" rs.Seek "=" , 10 if with our setting the rs.Index then run time error will occur.
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 ?
In rdo – we can call using rdo query objects. In ADO – we can call using command objects.
RDO used RDO query to call stored procedure of a back end where as ADO uses command objects
What is centralization error handling?
Writing function and calling it when error occurs.
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?
Data source name, record source name
To connect the data control with back end we need to set data source name and record source name.
"server=Oracle; driver={Microsoft ODBC for Oracle};"
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?
Predefined, custom, user defined.
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
255.
The max size allowed for max control names length is 255.
Can we create cgi scripts in vb?
Yes.
Using console applications we can create CGI scripts in vb.
Default cursor – 0 ODBC cursor (client side) – 1 serverside cursors (more network traffic) - 2
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?
Syntax errors, runtime , logic.
Different types of errors are loading error, runtime error,logical errors,compilation error and syntax error.
Different type of passing value?
By value, by ref, optional, param array. Note:- optional keyword cannot be used while declaring arguments for a function using param array.
We can pass value by reference and by value.
Declare function "<function name>" lib "<lib name>" alias "<alias name>" (arg, …..) as return type.
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...
Messaging application programming interface.
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?
Data_validate, data_error.
The two validates with data control are date_validate and data_error.
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. ...
we can select Multiple option in Listbox whereas only one option we can select from the collection of data in Combobox..