DIGIT-ARC read-only archive · snapshot: July 23, 2026

Visual Basic 6 :Problem with mdb while installing

2 posts · originally from https://geek.digit.in/community/threads/visual-basic-6-problem-with-mdb-while-installing.103305/

R
Rajesh345 Original post #1
Dec 1, 2008 at 3:02 AM
[IMG]*i34.tinypic.com/32zhmyb.jpg[/IMG]

i created a Standard exp with Data control

Properties of data control
Database name : C:\Program Files\mythwar calc\mythwar 2 skills.mdb

Features of my program : can save some values in specific Text box to mdb(access)


Problem i am facing

I created package using PDWizard then given to my other user who need program

but he is telling that error is comming showing mdb file is missing

Problem was solved after coping mdf file to his C:\Program Files\mythwar calc\mythwar 2 skills.mdb

this is becoming annoying , can any 1 tell me how to solve this ?

that is when every time user install program to specific location my Program should automatically relink the mdf to that specific folder where he chosed to install my program

so mdb file missing error will not come

pic of similar error when i try to replicate the error
*i34.tinypic.com/2ccv1bq.jpg
QwertyManiac
Dec 1, 2008 at 10:08 AM
Put the database in your development root (To get a relative path). This way it'll get packaged and installed along just fine. No path issues.