Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
2) A. Yes
a. Before we use the variables we should declare data type of that variable.
Identify the mismatching of variables.
A. regsvr32
A Serilalization
10) How you will add Activexdll to your project?
A. First register the dll using regsvr32 dll path and we give the reference to the dll
through project references.
11) whether you open your vb project in note pad? what you find if you open your
project in notepad?
A. YES
A.Text
A. Cursor is the information underlying the recordset. There are 4 types of cursors.
1. Forward Only- Fastest, can only move forward in the record set.
2. Static- Can move to any record in the record set. Data is static and never
changes.
3. Keyset – Changes are detectable, records that are deleted by other users are
unavailable and records created by other users not detected.
A. Debug object
24) When the focus is changed from one form to another form which event is fired
first?
A. De – activated
A. Keyascii
A.Get
A. Class
Debug.print strsql
A. Form1.count
A.254
A. FreeFile
A VB has three Special List Boxex to help us manage directories, drives and files.
These are 1) Directory list box 2) Drive List Box 3) File List Box
a).Printer.killdoc
41).What is template?
1).Splash Screen
2).Login Screen
A). ActiveX Dll: An in-process component,or ActiveX dll, runs in another application’s
process. In-process components are used by applications or other in-process components.
This allows us to wrap up common functionality(like an Activex EXE).
ActiveX Exe:An out-of-process component, or Activex Exe, runs in its own address
space, The client is usually an application running in another process. The code running
in an ActiveX exe is running in a separate process space.
71) What is max size allowed for msgbox prompt and inputbox ?
A 1024
75) Extensions in VB
A frm, bas, cls, res, vbx, ocx, frx ,vbp, exe
80) Where will you give the option explicit keyword and for what?
A In the general declaration section. To trap undeclared variables.
88) What is control array and how many we can have it within the form?
A Group of controls share the same name is called Control array.
Max : 32,767
89) What is the default model of the form and what is it number?
A VbModaless – 0(zero) - we can able to place another window above this form.
99)What is DLL?
A Libraries of procedure external to the application but can be called from the
application.
100) What is TabStrip Control? What is the Starting index value? How to locate it?
A It is tab control to place our controls within the form in multiple sheets.
Index starts with 1. And to identify
If tabstrip1.selecteditem.index=1 then
----------
----------
end if
103). What is the difference between Create object and get object?
A). Create object is used to create instance of object. Get Object is used to get the
reference to an existing object.
121)How can we call stored procedure of Back End in RDO and ADO?
A). In RDO - We can call using RDO Query Objects.
In ADO – We can call using Command Objects
122). What is the difference between Microsoft ODBC Driver and Oracle ODBC Driver?
A). Microsoft ODBC Driver will support all the methods and properties of VB . Where as
Oracle not.
123). What are the technologies for Accessing Database from VB?
A). DAO, Data Control, RDO,ODBCDIRECT,ADO, ODBC API,0040.
129). To connect the Data Control with Back End what are al the properties to be set?
A). Data Source Name, Record Source Name.
133). What is the difference between ANSi and UNICODE strings when passed as
arguemts to a DLL?
A). ANSI- one byte for a char
UNICODE- two bytes per char- works only on NT
139).What are some methods we can use to send data from one VB executable to another
one?
140).Diff between standard module and class module?
143). What is the diff between MsbBox statement and MsgboxQ function?
148).Which property of textbox can’t be set at run time? And what is the maximum sized
of textbox?