Cannot Open Access database

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

H
I designed a program using VB and Access
When I copy the program from my cd to the user 's pc with .mdb database
(The access database has a form for all the print job

If I launch the Access form from VB program using
set MS access = new Access.applicatio

MSaccess.oenCurentDatabase(c;\abc.mdb
MSaccess.DoCMD.Open Form "Frm1" ,acViewNormal

I am getting an error
"thisprogram had encounter a problem'
application name .. ModName: rpcrt4.dl

details
"code ; 0xc0000005 flag 0x00000
address: 0x0000000077d2801

if I try go to C:\ ABC.MDB I CANNOT OPEN THE DATABASE

if a reboot the pc then I can open this database from c:\abc.mdb no problem ( mycomputer/c/abc.mdb
as soon I run my Vb application and try to lucnch thid access database >. this database will not open


thank you
 
Does the "new" PC have Access installed, it won't work if it does not
becasuse you are calling Access.


tabitbol said:
Hi
I designed a program using VB and Access.
When I copy the program from my cd to the user 's pc with .mdb database.
(The access database has a form for all the print job)

If I launch the Access form from VB program using
set MS access = new Access.application

MSaccess.oenCurentDatabase(c;\abc.mdb)
MSaccess.DoCMD.Open Form "Frm1" ,acViewNormal

I am getting an error
"thisprogram had encounter a problem'
application name .. ModName: rpcrt4.dll

details
"code ; 0xc0000005 flag 0x000000
address: 0x0000000077d2801e

if I try go to C:\ ABC.MDB I CANNOT OPEN THE DATABASE

if a reboot the pc then I can open this database from c:\abc.mdb no
problem ( mycomputer/c/abc.mdb)
 
Back
Top