General discussion

Locked

In VB 5 how do I.................

By daz_g43 ·
If you r reading this you are a VB programmer. As you know to connect to a database you can use the tool in the toolbar to connect to your database! What I am trying to do is allow the user to type in the database name in to this control with out having to do any programming their self?s. So what I thought is can you put the database name into a text file so the data control tool can read it! This will also allow the user to connect to the database every time he/she starts the program.

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

In VB 5 how do I.................

by p-msmith In reply to In VB 5 how do I......... ...

Can Use
Application.CloseCurentDatabase
Application.OpenCurrentDatabase "FilePath", Exclusive as Boolean
Of interest might be DBEngine.CompactDatabase "DatabaseName"

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums