Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Getting List of Databases

Posted on 1999-01-11
2
Medium Priority
?
145 Views
Last Modified: 2010-05-03
I need to get a list of databases available on a server selected from a listbox (this is filled from the registry).  I have tried the ODBC32 function SQLBrowseConnect, but have been unable to get it to work.  All code samples I've seen are in C.  What's the best way to get this?
0
Comment
Question by:munchkin1234
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Expert Comment

by:cognition
ID: 1455369
What database is on the server. Or is it just a list of access mdb's stored in the registry ?

Do you want to populate a listbox, from the registry ?
0
 
LVL 3

Accepted Solution

by:
jjbyers earned 600 total points
ID: 1455370
To get a list of databases on a SQL server do a select * FROM SysDatabases from the Master database on the server.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question