J
Jonathan Blitz
I have defined a user type and wish to add it to a Dictionary as the value
with a string as the key.
I get the following error:
Only public user defined types in public object modules can be used as
parameters or return types for public procedures of class modules or as
fields of public user defined types.
The online help says:
This error has the following cause and solution:
a.. You attempted to use a public user defined type as a parameter or
return type for a public procedure of a class module, or as a field of a
public user defined type. Only public user defined types that are defined in
a public object module can be used in this manner.
But I am in a public module and the type is defined as a public type.
So what am I doing wrong?
--
Jonathan Blitz
AnyKey Limited
Israel
"When things seem bad
Don't worry and shout
Just count up the times
Things have worked themselves out."
with a string as the key.
I get the following error:
Only public user defined types in public object modules can be used as
parameters or return types for public procedures of class modules or as
fields of public user defined types.
The online help says:
This error has the following cause and solution:
a.. You attempted to use a public user defined type as a parameter or
return type for a public procedure of a class module, or as a field of a
public user defined type. Only public user defined types that are defined in
a public object module can be used in this manner.
But I am in a public module and the type is defined as a public type.
So what am I doing wrong?
--
Jonathan Blitz
AnyKey Limited
Israel
"When things seem bad
Don't worry and shout
Just count up the times
Things have worked themselves out."