How to get data from a Web-installed Microsoft Access database from VB6

15 pts.
Tags:
Database connectivity
Database-driven website
Microsoft Access 2003
VB6
Visual Basic 6
Web development
I have an Access 2003 database installed in the database folder on our web site. How can I best modify my VB6 program to obtain the data from this file instead of from C:/ drive?
ASKED: June 7, 2009  3:12 PM
UPDATED: June 8, 2009  11:42 PM

Answer Wiki

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

Unless there is more to the problem than you’ve stated, either change your OpenDatabase command to the correct path:

Set OpenDB = OpenDatabase(“x:\path”)

or change the location of the database in the Data control.

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
  • KurtViking1
    Maybe I was not clear in my question. I am a newcomer to access web based databases. The Access database is located on a web site: http://www.(mywebpage).com/database/(mydatabase).mdb The application program (VB6) is installed on several local PC’s For example if I use the Data Control access, I get a messages “Illegal file name” Using OpenDatabase also produce an error.
    15 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