<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>Ruslan,</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Lucida Sans" size="3" style="font: 11.0px Lucida Sans">Okay we will add more robust error handling into examples.</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Lucida Sans" size="3" style="font: 11.0px Lucida Sans">We will use all your detailed steps here.</FONT></P></BLOCKQUOTE>This is not what I meant.<BR><DIV>The code to catch errors do exist, but it does not fire:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV> dim f as folderitem</DIV><DIV> f = GetFolderItem("Database1.vdb")</DIV><DIV> mDataBase = MakeNewDatabase()</DIV><DIV> mDataBase.Create( f, 5, 32 * 1024 )</DIV><DIV> </DIV><DIV>Exception err as RuntimeException </DIV><DIV> MsgBox "Can't create database. Error: " + Str(err.ErrorNumber) + ":" + err.Message</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>This exception block doesn't run, no messagebox is displayed...</DIV><DIV>Maybe it's a RB bug?</DIV><BR><BLOCKQUOTE type="cite"> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Lucida Sans" size="3" style="font: 11.0px Lucida Sans">BTW, note:<SPAN class="Apple-converted-space"> </SPAN></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Lucida Sans" size="3" style="font: 11.0px Lucida Sans"><SPAN class="Apple-converted-space"> </SPAN>for now there is no way programmatically ThrowOut db</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Lucida Sans" size="3" style="font: 11.0px Lucida Sans"><SPAN class="Apple-converted-space"> </SPAN>which is under Vserver.</FONT></P> </BLOCKQUOTE></DIV>I will certainly never use such a function, this is too much dangerous.<BR><DIV>Better is to unregister db and then trash its files.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks</DIV><DIV>Eric</DIV><DIV><BR class="khtml-block-placeholder"></DIV></BODY></HTML>