View Single Post
  #5 (permalink)  
Old December 6th, 2005, 02:34 AM
Ankur_Verma Ankur_Verma is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma
Default

George, your code is fine and should work. Just make sure that the mdb file is not readonly.
You may even find that you are not able to remove the "Read Only" attribute of the mdb file. To be able to remove the readonly attribute, you need to have proper rights specified in the file's and its folder's ACLs.
Like if you copy the file in a folder on which your user has enough credentials (like "User Name"\My Documents), you will be able to remove the readonly attribute. Or you can modify the ACLs and then remove the readonly attribute.
Such issues are quite common in XP, though, and somewhat conform to the fact that XP has better inbuilt security infrastructure.

Regards
Ankur