PDA

Click to See Complete Forum and Search --> : How to include DB in Package & Deploy?


jandrade15
Dec 12th, 2004, 06:04 AM
Hello Everyone- Im new with Vb 6.0. I mainly use access 2002 but now I need to convert my program to be able to distribute. Im having a hardtime including tables from this database. How do I make a copy or a new table that can be packaged with the deployment wizard? What I mean is how can I make a access table so that the database im creating with VB will be able to be packaged & delpoyed on another PC? Hope this doesnt sound confusing. Thanks for all your help in advanced! :confused:

randem
Dec 12th, 2004, 06:41 AM
jandrade15,

I would suggest leaving PDW and using ********** (http://www.**********.html/**********.html) and Inno Setup (http://www.jrsoftware.org).

BTW, you do not include a table. You include the whole database which contains the table.

RobDog888
Dec 12th, 2004, 11:51 AM
If you use the P&D Wiz, you can add extra files to the package in this step
by clicking on the add button and changing the browse filter to all files so
you can see your *.mdb database.

jandrade15
Dec 12th, 2004, 09:37 PM
Thanks Guys, it worked. The only problem im having is that where would I put the database. for instance, when i add the database on the PDW it keeps the address where i have the database now. How do i put a generic address so that when someone else installs it it finds the database and doesnt get an error on it? Thanks for all your responses!!!

RobDog888
Dec 12th, 2004, 11:11 PM
When your at the step where you see the Install Locations, select your
database by selecting it in the left most or first column. Then scroll to the
right to see the column that says "Install Location". Click into it. You cant
click into it unless the item it selected first. Then a combo will appear. Click
the dropdown to show a list of macro paths (app.path, program files, etc.).


HTH

jandrade15
Dec 12th, 2004, 11:15 PM
Thanks a Million your a Genius oops....."GURU!!" Thanks man! :wave:

RobDog888
Dec 12th, 2004, 11:51 PM
No prob. Glad to help. :thumb:

Habibi
Dec 13th, 2004, 03:35 AM
RobDog888

Great and helpfull tutorial. Learnt new things, thanks mate.
Habibalby

RobDog888
Dec 26th, 2004, 03:17 PM
Watch this Forum for my upcoming tutorial on the P&D Wizard. :)