Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Difference between Dynaset and Snapshot?

2174


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).

2288


How to get Cursor position using API?

2229


Types of LockEdits in DAO? 51 .Types of Recordsets.

1941


What is difference between datagrid and flexgrid?

14130


How come I get a "No Current Record" error when I use a a Data Control on an empty table?

1584


How to load and unload child forms.

1205


What do you know about user forms.

1165


What is connection object in vb net?

1101


How do I remove/change the picture property of a control at design time?

1617


How can you check whether a record is valid record or Invalid record using ADO control or Object?

1989


How do I create a new form in visual basic?

1103


What is the use of Data Form Wizard?

2024


How do I do Peek and Poke and other low-level stuff?

1519


What is the use of Hyperlink control for DHTML applications?

2529