Prev: DAO Question
Next: windows mobil develop
From: Ulrich Korndoerfer on 25 Mar 2010 16:44 Hi, Webbiz schrieb: > ... >> Read carefully: >> >> 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. > > You know, I kept reading this over and over and over and it just > didn't click. My problem is that I did not realize that my .bas module > is not considered an 'object module'. Why I missed that I can't tell > you. Brain freeze? > ... Same to me. My brain too freezes when reading most of MS error messages :-) But for some of them I had learned my lessons ;-) -- Ulrich Korndoerfer VB tips, helpers, solutions -> http://www.proSource.de/Downloads/
From: ralph on 26 Mar 2010 09:02
On Thu, 25 Mar 2010 15:23:07 -0500, Webbiz <nospam(a)noway.com> wrote: >On Thu, 25 Mar 2010 16:09:13 -0400, "John Simpson" ><jasimp(a)earthlink.net> wrote: > >> >>"Webbiz" <nospam(a)noway.com> wrote in message >>news:d5fnq5t4oh47rqg2ql0md4hbmhrq0c48iv(a)4ax.com... > >However, using Friend instead of Public did. > >:-) >Webbiz Another work-around is to define your UDTs in a Type Library and use the typelib to declare all uses of the UDTs. -ralph |