Documente Academic
Documente Profesional
Documente Cultură
2. Name and explain the different compatibility types when creating a COM component
No Compatibility ? New GUID created, references from other components will not workProject
Compatibility ?
Default for a new component Binary Compatibility ? GUID does not change,
Modification history.Code ownership: Multiple people can not modify the same code at the same
time.
4. What two methods are called from the ObjectContext object to inform MTS that the transaction
5. What is the tool used to configure the port range and protocols for DCOM communications?
DCOMCONFIG.EXE
All variables must be declared before use. Their type is not required.
7. What are the different ways to Declare and Instantiate an object in Visual Basic 6?
8. Name the four different cursor types in ADO and describe them briefly.
The cursor types are listed from least to most resource intensive.Forward Only Fastest, can only
move forward in recordset Static Can move to any record in the recordset. Data is static and never
that are deleted by other users are unavailable, and records created by other
9. Name the four different locking type in ADO and describe them briefly.
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.
Database connections
are put to sleep as opposed to being created and
from a
data source;
for a stored
most likely is
ADODB.RecordsetDim
Cmd As ADODB.Commandconn.ConnectionString =
?CONNECTION STRING?
conn.OpenSet Cmd.ActiveConnection =
connCmd.CommandText = ?SQL
Nothingconn.Close
responsible for
Deployment, Security,
Remote Execution.
into MTS
transactions?
transaction,
occur within
partial data.
component. Which is
faster?
runs in the
most efficient
process
runs in its
dll's because
marshalled
of process
they used?
and an
build queries,
from a data
Recordset)Recordset:Used to access
you can
delete
records.
Yes.
placed in our
Vbrun300.dll
Directories.
This will call the top most error where the error is
handled.
it mean?
the COM
creation.
character storage
any character
text.
28. What is the diff between the Std and Class Module?
the all
be Instantiated.
Static + Keyset
of a target.
Combo Only
Drop Down.
because of the
following reasons.
array.
are added or
deleted.
and Let?
or property.
Screen.MousePointer = VBHourGlass/VBNormal.
only purpose)
RdOpenStatic 1
RdOpenDynamic 2
I.e., It is
as OLE-DB
Technology.
RdConcurReadOnly 0 (Default)
RdConcurValues 3
RdConcurBatch 4
own Controls?
available this?
Only in DbOpenTables.
rs.seek "=" , 10
will occur.
or control at
Level.
Singleuse,
GlobalSingleuse to ActiveXDll?
No.
49. What are properties available in Clip Board?
SetText, GetText,
OBDC Driver?
properties of
Methods Events
Refresh
Update Controls
Update row
MDI Styles?
access to a row in
1. Batch Optimistic
2. Optimistic
3. Pessimistic
4. ReadOnly
set of rows.
of the
statement. This complete set of rows returned by the
statement is
and online,
set as a unit.
row or a small
result sets
AdOpenForwardOnly
backward No data
AdOpenKeyset
requirements Not
data
Not available
requirements
disconnected scenarios
multiple
by other
data while
files).
BFILE(Store file pointers to LOB It may Contain
store on CD_ROM).
can be called
it?
form in multiple
sheets.
Index = 1 Then ..
End if
module from
within a form.
to ?
result = 0)
1 Textual Comparing
to nothing.
Machine). Out of
server side.
for what?
undeclared variables.
Record",VbYesNo)=VbYes)Then
End if
with in the
form?
Specific Variable?
Generic Variable:
object library.
Specific Variable:
Memory).
procedures?
return values
Visual Basic?
75. With in the form we want to check all the text box
control are
end if
next
Field, Form
Dim x as RDOError
X(0).Des
X(1).Number
Default Cursor 0
ODBC Cursor (Client side) 1
Engine).
property of
Attributes.?
DbRelationDeleteCascade, DbRelationUpdateCascade.
month,date,year?
DateSerial(year(Now),Month(Now)+1,1)
datediff, weekday,
datevalue, timeserial,timevalue.
only purpose.)
Data_Validate, Data_Error.
84. To connect the Data Control with Back end What are
all the
properties to be set?
from Visual
Basic?set?
DAO, Data Control, RDO, ODBCDIRECT, ADO, ODBC API ,
0040.
86. What is the diff between the Create Object and Get
object?
data output.
the query.
Optional keyword
array.
Label, List
it number?
93. Why we need OLE-Automation? Advantages?
flat files as
Objects are
Error, Property.
96. What is the max size allowed for Max Text box
length.
32,000
3.
98. What is the max size allowed for Max Control Names
length?
255.
2.
caption length.?
2,048
1024
"Call
ProcedureName}"
dbgrid control
transactions
ADO?
connected ODBC
database engine?
procedures?
MTS
component. Which is
faster?
Dynaset and
controls,Linked
Object and Embedded Object,listbox and combo
object?
with one
another?
threads?
instantiate itself?
application
in ADO and
Property used to
of items in a
caption.
tabindex property
thread pool
needs to be
changed?
box
responsible for
create a COM
component?
default?
36. What does Option Explicit refer to?
and MsgboxQ
function?
level events in
VB?
object to inform
unsuccessful?
use of Callback
Functions?
image control?
runtime and
protocols for
DCOM communications?
image list?