Re: How to Add DB file with folder in VB6 Package
- From: "Brodie" <Brodie@xxxxxxxxxxx>
- Date: Fri, 20 Jul 2007 20:27:00 GMT
I wouldn't recommend adding a database file in your setup but creating it
programmically when the program runs (after checking that it doesn't already
exist) and creating folders and private database file in the users "My
Documents" folder.
I recently deployed a program containing a ready made database and Windows
Vista users had a heck of a time with it. The problem is that if you install
it onto the computers program files Windows Vista will make a virtual copy
of it in the users private "virtual folder" becaue it wont let the user make
changes to any original installed files. Now the user has two databases
making backups etc. very confusing. The virtual copy always takes priority
over the installed copy but it's best to keep datafiles out of the shared
program files folders by not including them in setup packages or if you must
include them instal them in user private folders.
"mayayana" <mayaXXyana1a@xxxxxxxxxxxxxxxx> wrote in message
news:5i2oi.9760$Od7.8254@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
You can do one of two things:
1) When in the "wizard", in the window where you confirm
file paths, scroll to the right and just write in the extra
folder and backslash.
2) In setup.lst, under the Setup1 Files section,
find the line for test.mdb. It should say:
...test.mdb,$(AppPath), etc.
Change that to:
...test.mdb,$(AppPath)\database, etc.
When setup reads that, if the folder doesn't exist it will
be created.
I do one mini project in vb6. Back-end ms access. I want to
add my mdb file in app path and inside database folder like
this(app.path\database\test.mdb). But when i select my mdb file it
was
stored to app path only how to change before prepare package. Or how
to alter the setup1.lst file (after prepare) pls help me.
Advance thanks to all.
Regards,
Vincent,
Manapparai.
.
- Follow-Ups:
- Re: How to Add DB file with folder in VB6 Package
- From: mayayana
- Re: How to Add DB file with folder in VB6 Package
- References:
- How to Add DB file with folder in VB6 Package
- From: vinci
- Re: How to Add DB file with folder in VB6 Package
- From: mayayana
- How to Add DB file with folder in VB6 Package
- Prev by Date: Re: Auto Execute on load
- Next by Date: Re: How to Add DB file with folder in VB6 Package
- Previous by thread: Re: How to Add DB file with folder in VB6 Package
- Next by thread: Re: How to Add DB file with folder in VB6 Package
- Index(es):
Relevant Pages
|