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 Internet Explorer and its uses?
what are the Default cursor Type and LockEdit type in DAO?
How do I do drag & drop between applications?
What can you do with visual basic?
What is the use of NEW Keyword? Explain.
Is it possible to set a shortcut key for label?
Difference between ActiveX Control and Standard Control.
To validate a range of values for a property whenever the property values changes,which type of property procedure you use?
____ property is used to lock a textbox to enter a datas.
What are the new events in textbox that has been included in VB ?
How would you use ActiveX Dll and ActiveX Exe in your application?
How would you Create a Query Builder and Explain its uses ?
Why do I get "object not an array" when I try reference the fields of a global object variable which I have set to a table?
How do I tell when an application executed using the SHELL command is finished?
Which type of object requires this object?