If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Re: Packaging and deploying a vb 6.0 application liked to database

Originally Posted by dglienna

Package and Deployment Wizard should include all DB files that you attach. Otherwise, there were third-party tools that did that better. Now, you might be stuck

Thank you so much for your reply. I've decided to connect my application to the database using sql where by a customer can signup and login using the registered info. All the records are stored in Microsoft access database. Any one with an idea to do that please? I'll appreciate.

All I need is my project should be stand alone so that to avoid hitches after packaging in vb6.0!

Re: Packaging and deploying a vb 6.0 application liked to database

When using PDW you can add all the external files your project need but you need to do it manually
But problably your problem is inside your app, that it is looking for the database in another path
Post the code and the error and its description

JG

... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...

Re: Packaging and deploying a vb 6.0 application liked to database

I use ADO data control to link my application to database residing on my desktop. My project runs pretty cool on my system. When I do the packaging and deployment process I always remember to attach my databases but when the process complete I install my project on a foreign computer but I receive an error when loading the form linked to database. More so, my project only runs when installed on my system when the database is on desktop when I change database position, I receive an error that database can't be found. Any solutions out there please. Thank you!

Re: Packaging and deploying a vb 6.0 application liked to database

You should never write an app to use data files on your desktop as this will lead to many problems when you try to distribute the app.
I would also not use the ADO Control at all, Using code is a much better choice.

As for the issue as mentioned above you should install the db in the program folder or alter the connection string to reflect the correct location
You also need to make sure that the db is being installed with the application.

I generally install the db in the application folder and use an ini file for the connection string which I have coded to default to app.path but allows the user to put the database somewhere else if need be such as on a shared drive for multiuser use.

* The Perfect Platform for Game Developers: Android
Developing rich, high performance Android games from the ground up is a daunting task. Intel has provided Android developers with a number of tools that can be leveraged by Android game developers.

* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.