Thanks, it works! Anh --- In [EMAIL PROTECTED], "BobFilipiak" <[EMAIL PROTECTED]> wrote: > Take a look at http://www.learnasp.com/learn/dbtroubleshoot.asp > > > Bob Filipiak > A question not asked > is a lost opportunity to learn. > ----- Original Message ----- > From: "anhtruong52" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, September 08, 2004 3:09 PM > Subject: [AspClassicAnyQuestionIsOk] How I can detect the ADO connect to MS > Access .mdb has the error? > > > > Hi, > > > > In my page.asp, I use the following codes to connect to my MS Access > > database Myfile.mdb: > > > > Set conn = Server.CreateObject("ADODB.Connection") > > conn.Open "\database\Myfile.mdb" > > > > *) What happen if the Myfile.mdb is corrupted or missing ... how can > > I detect it (where is the error returned)? To prevent my page.asp > > showing to the browser "error" then hang up! > > > > Many thanks, > > > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > >
------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
