|
1. How to trap Data Base Error? Dim x as RDOError X(0).Des X(1).Number Setting the Cursors. Default Cursor 0 ODBC Cursor (Client side) 1 ServerSide Cursors (More Network traffic) - 2 2. To connect the Data Control with Back end What are all the properties to be set? Data source Name, Record Source Name 3. What is Dataware Control? Any control bound to Data Control. Ex:- Textbox, Check Box, Picture Box, Image Control, Label, List box, Combo Box, DB Combo, 4. What is the max size allowed for Max Control Names length? 255 5. 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 changes.KeySet Changes are detectable, records that are deleted by other users are unavailable, and records created by other users are not detectedDynamic ? All changes are visible. 6. Describe and In Process vs. Out of Process component. Which is faster? An 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.Each client app that uses the component starts a new instance of it.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. A single instance of an out of process component can service many clients. 7. Why we use Treeview Control? To list the hierarchical list of the node objects. Such of files and Directories. 8. What is Mixed Cursors? Static + Keyset 9. What is Friend Variable? Scope sharable between projects. 10. Private Dim x as integer. Valid ? Private cannot be used in front of DIM.
|