F
Francesc Hervada-Sala
Hello NG,
I have an Access 2000 database with some classes that I want to expose,
so that other databases can use them without having an own copy of the
source code. At this newsgroup I was told to export the class modules as
text files, change the property VB_Public to True, and then reimport
them. I have done it, but it does not work.
After re-importing the class module the property "Instantiate" of the
classes get the value "public - not creatable". When I open the other
databases, the classes are in fact visible (the statement Dim a As
MyClass compiles without error), but I cannot create a new object: the
statement Set a = New MyClass fails at compile time.
I would appreciate any help very much!
Bye,
Francesc
I have an Access 2000 database with some classes that I want to expose,
so that other databases can use them without having an own copy of the
source code. At this newsgroup I was told to export the class modules as
text files, change the property VB_Public to True, and then reimport
them. I have done it, but it does not work.
After re-importing the class module the property "Instantiate" of the
classes get the value "public - not creatable". When I open the other
databases, the classes are in fact visible (the statement Dim a As
MyClass compiles without error), but I cannot create a new object: the
statement Set a = New MyClass fails at compile time.
I would appreciate any help very much!
Bye,
Francesc