# Re: 请问如何在VB中压缩有设密码的mdb档?

Posted by 战豪 on July 16, 1999 at 01:23:52:

In Reply to: 请问如何在VB中压缩有设密码的mdb档? posted by Shadow on July 15, 1999 at 18:42:03:

: 请问如何在VB中压缩有密码保护的mdb档?

以mdb为例:

DBEngine.Workspaces(0).CompactDataBase "原资料库档名","新资料库档名",";pwd=密码",,";pwd=密码"

两档名可相同 :-)

Follow Ups:

- Re: CompactDataBase的档名，不能使用相同的档名(无内文) 王空空 08:58:00 7/16/99 (1)
  - Re: CompactDataBase的档名，不能使用相同的档名(无内文) Shadow 14:55:25 7/19/99 (0)