I have application where I need to a put a function in my class that should returns an object of type card. Am trying to develop an application but when I try to run in VB It complains with the following message:
"Only public user-defined types defined 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."
What does this error message is showing on my VB project. This is the first time I am trying this kind of Project on my own. Does anyone before come across this kind of error message.