...Also,
You will need to do the following before creating the MDE --
1. Convert your database to the latest available format (XP and 2003 default to 2000 format: you MUST convert them to XP or 2003 before creating the MDE)
2. In the code environment, Debug > Compile [Your Project]. If it compiles, great. If not, correct any errors.
Also highly advisable if you haven't done it already, define a startup form in Tools > Startup, and hide the database window.
And ALWAYS keep a copy of the original database, for making design changes down the track. The MDE can't be unlocked (at least, not easily).
Denis