Even if you prevent opening of the DBC, someone can still use the table - they'll just be asked if they want to remove the reference to the DBC. You need to remove any access to the drive itself.
Mark
>1) I want to secure my database/table that some one cannot be able to open my database/table. First idea come in my mind to open that file with FOPEN() and replace its some characters with FWRITE(). Then FoxPro will refuse to open that file. When I need to open that I again replace back the original characters. This method may be little dangerous. Is there an other Visual FoxPro or any other API Function which can protect my files.
>
>2) How can I get the Serial Number/properties of the current Hard Drive in Computer by Visual FoxPro? Is there a FoxOro/API Function for that?
>
>Aftab Ahmad
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.