Building MDE Programmatically

  • Thread starter Thread starter Christine
  • Start date Start date
C

Christine

I have code that has been running sucessfully to build
several 2000 mde's. I recently installed office xp and
tried to run the same code under 2000. It all works but
the send keys don't populate the db name and when it hangs
it won't even accept my manual input and just circles
asking the database name over and over. I tried upgrading
the whole thing to 2002 but it's still the same. If I
manually do the build from the db it works perfectly. Any
ideas or similar experiences out there? Thanks
 
(try this with 9: only tested with 8)

Set obj = GetObject("", "access.application.9")

obj.SysCmd 603, "AM8.mdb", "am8.mde" 'mdbFile, mdeFile

Note: Access 2000 and Access 2002 have the same unique
object ID value: but A2K2 can't build A2K MDE's. You
may be getting an A2K2 object instead of an A2K object.

(david)
 
Back
Top