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


Please Help Members By Posting Answers For Below Questions

How can you Navigate from the DHTML application to another DHTML application? .

1622


Data Control missing from toolbox when I use VB under NT3.5. Why?

922


What is form in visual basic?

523


Explain the "cursortype" and "Locktype" in VB?

3772


what are the Types of Resultsets?

1655






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

3793


What about DLL calls that require callbacks?

983


What is the use of ActiveX Documents?

1933


How would you use ActiveX Dll and ActiveX Exe in your application?

1530


How much gain in performance will I get if I write my number crunching routines in C instead of Visual Basic?

907


What is the-use of property page Wizard in ActiveX Control?

1540


What is hyperlink?

1620


What is the need of tabindex property is label control?

1595


what are the types of cursors in DAO?

1408


Explain about creating VB applications in excel?

664