what are Instancing for classes provided by ActiveX
component like prive, publicnotcreatable,SingleUse,
GlobalSinleUse,MultiUse.



what are Instancing for classes provided by ActiveX component like prive, publicnotcreatable,Singl..

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

Post New Answer

More Visual Basic Interview Questions

What is Mixed Cursors?

1 Answers  


Is it possible to Manipulate data through flexgrid? Explain.

0 Answers  


What are the objects in ADODB?

1 Answers  


Wat is multithreading in VB?

4 Answers  


What is Mask Edit and why it is used?

0 Answers  






Can a subroutine pass back values? Is so How?

2 Answers  


How will you retain the values of existing elements in a dynamic array when you want to alter the array size?

1 Answers  


_____ is the property to ___,____,____ are valid for recordsource property of dat control.

0 Answers  


What kind of components can you use as DCOM servers?

1 Answers   Hudson,


by writing MACRO CODE,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). ex: custdetails custname lastname locaton mobile pincode custdetails raj tony hyd 555555 521245 servcreqrd srvce# srvcename location srvcepincode servcreqrd 754 drilling hyd 521784 for the above example in the another workbook retrive data like this custname Raj srvce# 754 srvcepincode 521784. while retrieving data control will search cell by cell for each row.

0 Answers   Infotech,


Can any one please suggest which institute is providing Advance Excel & VBA Macros in Excel training in Hyderabad.

0 Answers  


How can you save and Get data from Clipboard/ Recordset object consists what?

0 Answers  


Categories