how to convert a VB program to setup file?

Manu C Nair's Avatar, Join Date: Dec 2010
Newbie Member
I'm a beginner in VB programming... i hav created a Registration System for our upcoming symposium in our college... It include database connection(MS Access) using ADODC.. I tried to create the setup file of the system using Package and Deployment Wizard....The problem occuring is that when i transfer the setup file to another system the database linking address differs.. so connection error occurs... how to overcome this problem.. pls help...!!!
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Moved to VB Forum
ManzZup's Avatar, Join Date: May 2009
Skilled contributor
is your DB local or hosted?
if local put it in the same folder so you can add relative path like "DB\main.dbs"

if hosted there's no problem i think

and when making the setup make sure you bundlle the Db as well