Re: expose class modules of a referenced mde



Yes, tried both methods in fact. Here's the latest.

Exported the class to a .cls file and altered the settings as above.

Imported it using the import option. That doesn't work because it
doesn't retain the Creatable attribute.
Inserted it from the .cls file. That doesn't work because it doesn't
retain the Creatable attribute.

Changed the .cls file to a .txt file, changed the attributes as above.

Inserted it from the .txt file. That works and properly exposes the
class to a referencing database IF I leave the thing an .mdb.

Access won't let me save it as an .mde for reasons unknown to me. Since
I can't reference an .mdb from an .mde (which is what the final app
will wind up being) it's not very useful to me in its current form. Not
sure what it is about making it an .mde that Access doesn't like, but
for now I'll just leave the standard modules in the reference file and
import the class objects as needed into the app.

If you have any ideas on the .mde deal, let me know.

Thanks for the help up to this point....Jamey

.



Relevant Pages

  • Re: expose class modules of a referenced mde
    ... Since I can't reference an .mdb from an .mde (which is what the final ... reference file and import the class objects as needed into the app. ...
    (comp.databases.ms-access)
  • Re: make general windows module
    ... You can create a BAS or CLS file and reference the same file from multiple ... from multiple projects. ... code only affects apps after they are recompiled; ...
    (microsoft.public.vb.general.discussion)
  • Re: make general windows module
    ... > You can create a BAS or CLS file and reference the same file from multiple ... > from multiple projects. ... > code only affects apps after they are recompiled; ...
    (microsoft.public.vb.general.discussion)
  • Stephen Lebans Report2PDF
    ... With reference to Stephen Lebans interesting report to PDF solution found at ... If reference is set to the provided mde and the app is distributed along ...
    (microsoft.public.access.reports)
  • Re: Setting a Reference Using Code
    ... In an MDB, yes. ... If your app is compiled as an MDE, ... Is it possible to set a reference using code? ...
    (microsoft.public.access.modulesdaovba)