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
What is the current version of Visual Basic for Windows?
Explain the differences between ActiveX Dll and ActiveX Exe?
With in the form we want to check all the text box control are typed or not? How?
What are the scope of the class?
OLE is used for _______
What are the rules which should be followed while naming a variable in VB?
What is instantiating?
Whether HTML supports multimedia: and document links?
To populate a single column value which dbcontrols you to use?
i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI).
Draw Sequence Modal of RDO and Explain?
How to find size of the file. Which method or function is used to occomplish this?
Through which protocol OLEDB components are interfaced?
How many objects resides in ADO ?
How can you get selected file from file system Control?