Connecting Tech Pros Worldwide Forums | Help | Site Map

PDW Package And deploy

lee123's Avatar
Site Addict
 
Join Date: Feb 2007
Location: United States
Posts: 532
#1: Mar 5 '09
i have a quick question: i have made a project that uses adodc control, i have also included a access database with it and when i use the PDW it goes through ok but when i install it on to another computer it tells me it can't find the database (Access) doesn't it include this in the project? when you install it on another computer?

debasisdas's Avatar
Moderator
 
Join Date: Dec 2006
Location: Bangalore ,India
Posts: 7,508
#2: Mar 6 '09

re: PDW Package And deploy


how the application refers to the DB path ? is it hard coded ?

in that case you need to put the db file in particular location.
lee123's Avatar
Site Addict
 
Join Date: Feb 2007
Location: United States
Posts: 532
#3: Mar 6 '09

re: PDW Package And deploy


is there a way to make it go to the location by code? and if so how would that look like

lee123
debasisdas's Avatar
Moderator
 
Join Date: Dec 2006
Location: Bangalore ,India
Posts: 7,508
#4: Mar 6 '09

re: PDW Package And deploy


Then instead of hard coding the path, you need to specify App.Path\databasename and store the database file in the same folder as the EXE of the application.
lee123's Avatar
Site Addict
 
Join Date: Feb 2007
Location: United States
Posts: 532
#5: Mar 6 '09

re: PDW Package And deploy


Thanks I'll Try It

lee123
Reply


Similar Visual Basic 4 / 5 / 6 bytes