Package and Deployment Query
Hello,
My VB project(project1.vbp) file is stored in a path -- E:/ABC/XYZ
I have a folder called 'photo' in the same path(E:/ABC/XYZ).
Within the project code i have used the following line of code.
Picture1.Picture = LoadPicture("../XYZ/photo/p1.jpg")
Similarly I have about 100 images in the 'photo' folder which are displayed using the same code like above.
Similarly there is the MS Access file - data.mdb which is stored in the same path(E:/ABC/XYZ)
The code used in the module is:
.ConnectionString = "data source= ..\XYZ\data.mdb;"
When I rund the Package and Deployment Wizard (PDW), how is it that i need to add these files? How will all the image get added into the setup, what about the access database?
I am not able to add any of these.
Please help me as to how I need to add these files when I create a setup for my project
Thanks
Ricky
Re: Package and Deployment Query
I believe in PDW you have to add each of the files one at a time. For PDW it would be better to create a self extracting zip exe for the folder and execute it in the installation.
Re: Package and Deployment Query
Quote:
Originally Posted by vinsanity
Hello,
My VB project(project1.vbp) file is stored in a path -- E:/ABC/XYZ
I have a folder called 'photo' in the same path(E:/ABC/XYZ).
Within the project code i have used the following line of code.
Picture1.Picture = LoadPicture("../XYZ/photo/p1.jpg")
Similarly I have about 100 images in the 'photo' folder which are displayed using the same code like above.
Similarly there is the MS Access file - data.mdb which is stored in the same path(E:/ABC/XYZ)
The code used in the module is:
.ConnectionString = "data source= ..\XYZ\data.mdb;"
When I rund the Package and Deployment Wizard (PDW), how is it that i need to add these files? How will all the image get added into the setup, what about the access database?
I am not able to add any of these.
Please help me as to how I need to add these files when I create a setup for my project
Thanks
Ricky
u can use app.path it will work it wont ask any other think in package deploy
swaminath:thumb:
Re: Package and Deployment Query
Using PDW I believe that you need to include each file separately. You will need to select each individual file to include it in your setup. That is one of the problems with PDW. Check the FAQ's to find other installation packages to try.