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

Scope of API's can be of types, what are they?

2213


What is ActiveX? Explain.

1854


How would you create Visual basic Document file?

2031


How do I create a new form in visual basic?

993


What is DDE?

2157


What is the use of OLE?

2455


what are the Default cursor Type and LockEdit type in DAO?

2161


What is understand in resource tracking?

1308


How can you get selected file from file system Control?

1949


How do I get the Tab key to be treated like a normal character?

1411


What are the important components of OLEDB?

2221


How would you attach an ActiveX control in Your Application?

2297


How to get freefile location in memory?

2595


which property of menu cannot be set at run time.

1919


How do I prevent multiple instances of my program?

1367