Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What does the Instancing property on a class module do?

0
10 Posted

What does the Instancing property on a class module do?

0
10

This class module property has three settings: 0: Not creatable. This setting is for a private class module. 1: Creatable single use. This setting is for a public OLE server and is used if you want to have an instance of the server running for each application that is accessing the server. That is, if two client application instantiate the OLE server, two copies of the OLE server will be created. 2: Creatable Multiuse. This setting for a public OLE server is used when you want only one instance of the server to be created. The first request to the server will load the server into memory, and subsequent requests will return pointers to the loaded server. Note on server types: Only one application can use a server at any time. Therefore if two requests are made to a multiuse server, one request will be blocked until the first request has finished processing. If many applications are requesting the services of the server, blocking can become a problem. On the other hand, by loading multip

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123