visal basic progect with database

0 pts.
Tags:
BASIC
i have created an application that has a password sign in and uses ado to access a database to check if the user exists however when i create the installer and then install the program on another computer it gets an error saying that it can not find the database and gives the root directory i used while making the application how do i get the database to go with the application and be installed so that the application opens the database on their computer
ASKED: November 25, 2006  11:21 PM
UPDATED: November 27, 2006  10:05 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Assuming you are using .Net and that you want to use a local mdb file:
If you are trying to add a mdb as part of your install then you need to include the mdb file in the installer files list. You also need to reference the mdb file using My.Application.StartupPath

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Jjuliannc
    Is the user using the PC where the application is installed always the same person? or is the PC shared by others? Aideme
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following