Access MDB Visual Basic connection question

  • Thread starter Thread starter Rob Monroe
  • Start date Start date
R

Rob Monroe

I am beginning a DVD course in Visual Basic.Net. One of the exercises is
about programatically opening a connection to an Access Database. I
consistantly am refused the connection because, "The Microsoft Jet database
engine cannot open the file " then the file name. "It is already opened
exclusifely by another user, or you need permission to fiew its data." I can
open any file attempted from within Access, and this happens with any MDB
file I have selected, even files I have NOT opened from within Access.
However, after being refused, I can then open them from within Access.

Rob Monroe
 
Rob Monroe said:
I am beginning a DVD course in Visual Basic.Net. One of the exercises
is about programatically opening a connection to an Access Database. I
consistantly am refused the connection because, "The Microsoft Jet
database engine cannot open the file " then the file name. "It is
already opened exclusifely by another user, or you need permission to
fiew its data." I can open any file attempted from within Access, and
this happens with any MDB file I have selected, even files I have NOT
opened from within Access. However, after being refused, I can then
open them from within Access.

Although this may really be more properly a VB.Net question, maybe we
can figure out what's wrong if we see your code. Also, is it safe to
assume that these databases aren't secured with user-level (workgroup)
security?
 
Back
Top