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 Public property on a class module do?

class module Property public
0
Posted

What does the Public property on a class module do?

0

Setting a class module s Public property to TRUE, enables the class properties and methods to be visible to any program. You would set this property to TRUE if your server will need to be visible to other applications; as in the three-tier example. Setting the Public property to FALSE will create a private OLE server that will only be visible within the current project. You would use this setting to modularize a projects with classes, but not need to create a public OLE server. 4. What does the Instancing property on a class module do? 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 serve

Related Questions

What is your question?

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

Experts123