I wrote a project of the ActiveX dll type, but the following problem occurs during running:
No public class modules can be created. Press the F1 key to obtain more information.
ActiveX EXE, ActiveX DLL, and ActiveX controls must have at least one public class module.
What is a public class module that can be created? How can this problem be solved?
Re: ActiveX DLL
Change the instancing attribute of the class that can be accessed externally to 5-multiuse.
No.1 reply by: Viena at 2004-11-8 10:47:00> top
Select 5-multiuse for instancing
No. 2 reply by: online at 2004-11-8 10:47:56> top
VB ActiveX dll is a COM component and must be called through objects. Therefore, it must have a public class module.
View the attributes of the class (F4 ).
1: private, externally invisible, and thus cannot be called
2: the public cannot be created. It is usually used as an attribute of other classes and a member of a set.
5: public, the most common type
6: Public global, an instance with the same name will be automatically created based on one more feature in step 5, such as the app object in VB.