Wrox Programmer Forums
|
BOOK: Beginning Java 2, JDK 5 Edition
This is the forum to discuss the Wrox book Ivor Horton's Beginning Java 2, JDK 5 Edition by Ivor Horton; ISBN: 9780764568749
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Java 2, JDK 5 Edition section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 11th, 2006, 09:03 PM
Registered User
 
Join Date: Nov 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default ldb file leftover

I have an application that connects to a Microsoft Access database via Java jdbc. The application works fine but, I have a "leftover" .ldb file after my application closes. I have run some examples from Beginning Java 2 book by Ivor Horton, and it also leaves this file around. Is there an easy way to clean up this file at the close of my application. Any assistance is much appreciated.

Thank you,
jlp

jlp
 
Old March 1st, 2007, 11:26 AM
Friend of Wrox
 
Join Date: Dec 2003
Posts: 488
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Happens quite often with access its an access link file. You could have your app start from a batch script that removes the file i.e. in a file called startapp.bat (or something) put
Code:
java myApp
del mydb.ldb
HTH


--
Charlie Harvey's website - linux, perl, java, anarchism and punk rock: http://charlieharvey.org.uk





Similar Threads
Thread Thread Starter Forum Replies Last Post
MS Access .mdb & .ldb database corrupted faisal573 Access 17 December 6th, 2017 04:38 AM
Closing a Blank Leftover Window Heff Perl 2 May 12th, 2008 04:45 PM
.ldb lockfile stealthdevil Access VBA 8 October 22nd, 2007 12:54 AM
.LDB File Access 2000 mrideout BOOK: Beginning ASP.NET 1.0 0 January 1st, 2005 02:30 PM
Manage the .ldb file when ADO opens a Access .mdb marcelescu Visual C++ 1 October 18th, 2004 06:44 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.