Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Access 2003 VBA
This is the forum to discuss the Wrox book Beginning Access 2003 VBA by Denise M. Gosnell; ISBN: 9780764556593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Access 2003 VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 12th, 2005, 06:26 PM
Registered User
 
Join Date: Feb 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default ADO???

After typing in the code for the first example in Ch. 5, I ran it successfully, but now I get a "Run-time error '-2147467259 (80004005)' Could not use "; File already in use" message. What's wrong???

0-7645-5659-2
Beginning Access 2003 VBA

Barely here:
Mona
Encinitas, CA
__________________
Barely here:
Mona
Encinitas, CA
Reply With Quote
  #2 (permalink)  
Old August 7th, 2007, 05:44 PM
Registered User
 
Join Date: Aug 2007
Location: , Colorado, .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't know the 'why', but I seem to have gotten around it by adding an error trapper:

On Error GoTo HandleError

(code, code, code)

HandleError:
    If Err.Number = "80004005" Then
        cnCh5.Cancel
        MsgBox "Error 80004005 thrown and trapped."
    End If

Oddly, my MsgBox doesn't pop on this one...but at least the stupid error is gotten around. I had lots of trouble getting

Etc, based on Ms. Gosnell's p71, etc
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ADO explore_asp ADO.NET 2 August 20th, 2007 02:58 PM
Difference between ADO and ADO.NET rakeshclose2u ADO.NET 2 April 23rd, 2007 03:57 AM
ADO AND ADO.NET royalsurej ADO.NET 1 November 8th, 2004 07:28 AM
ADO could ADO counot find the specified provider. Rob Collie Classic ASP Databases 2 June 9th, 2003 04:12 AM



All times are GMT -4. The time now is 11:50 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.