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.



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

How do I force a file dialogue box to reread the currect disk?

0 Answers  


When Activex exe is benificial in vb application

1 Answers   TCS,


Explain the usage of Web Browser Control?

0 Answers  


How many nuber of controls are there in form?

1 Answers  


How do you change the system menu (on the Control-Menu Box)?

0 Answers  


Draw Sequence Modal of DAO and Explain?

0 Answers  


What is the use of Imagelist Controls

1 Answers  


How does a DCOM component know where to instantiate itself?

1 Answers   Synechron,


which arguments will be used to run a executable program in shell function ?

1 Answers  


What can you do with visual basic?

0 Answers  


what is the difference between name property and caption property in visual basic?

10 Answers   HCL,


Is it possible to set a shortcut key for label? Explain ?

1 Answers  


Categories