what are Instancing for classes provided by ActiveX
component like prive, publicnotcreatable,SingleUse,
GlobalSinleUse,MultiUse.
Answer Posted / cp
1. Private - Client Applications cannot create the class.
Project containing class only can create object.
2. PublicNotCreatable- Its an internal creatable
class. Client application can use the instance of class but
cannot create instance on their own.
3 SingleUse – for ActiveXexe only. Every time create
new object service will instantiate new ActiveXexe object.
And each instance will get own copy of global variable.
4 GlobalSingleUse – Same as single use only
difference is you can use it as a global function.
4. MultiUse – Default. Allow any number of instance
creatable from internally as
well as externally.
5. GlobalMultiUse – Same as Multiuse only difference
is explicitly instantiation of class is not required to
access methods and properties.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How can you Navigate from the DHTML application to another DHTML application? .
Data Control missing from toolbox when I use VB under NT3.5. Why?
What is form in visual basic?
Explain the "cursortype" and "Locktype" in VB?
what are the Types of Resultsets?
1.What are the Feactures visual data manager 2.Short note on visual data manager 3.What is data control,its work,properties,methods 4.Needs for OLEDB in vb 5.LIst steps involved in generating christal report 6.What is a recordset 7.Diffrence between RDO and ADO 8.What is an Activex control 9.Advantages of ADO over data control 10.Diffrence between model and modeless form 11.What is the significance of debug window 12.Diffrence between single document and multiple document 13.Explain data report
What about DLL calls that require callbacks?
What is the use of ActiveX Documents?
How would you use ActiveX Dll and ActiveX Exe in your application?
How much gain in performance will I get if I write my number crunching routines in C instead of Visual Basic?
What is the-use of property page Wizard in ActiveX Control?
What is hyperlink?
What is the need of tabindex property is label control?
what are the types of cursors in DAO?
Explain about creating VB applications in excel?