what are Instancing for classes provided by ActiveX
component like prive, publicnotcreatable,SingleUse,
GlobalSinleUse,MultiUse.
Answer / 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 |
How do I speed up control property access?
What is the use of parameters collection?
Explain Get, Let, Set Properties?
What is the difference between message box
What is the use of debug Window?
What type of multi-threading does VB6 implement?
what are the Differences between Modal and Modaless forms?
What is the use of Tabledef?
Is visual basic case sensitive?
what is the Advantage of ActiveX Dll over Active Exe ?
Parts of ODBC?
To populate a single column value which dbcontrols you to use?