Solved

Poll a SQL Server

Posted on 2000-02-23
2
177 Views
Last Modified: 2011-09-20
Hi,
I haven't hunted around the PAQs, sorry if this question was recently asked, I'm new to the VB topic area.
I'm trying to figure out how to poll the SQL Server for databases.  I
want to display the databases in a dropdown.
TIA, kay
0
Comment
Question by:kcduncan
2 Comments
 

Accepted Solution

by:
mathewss earned 100 total points
Comment Utility
Create a query that does a "select name from sysobjects where type='U'" this will return a result set of the users tables (not system)

 Other types
 S=System Object
 P=Procedure
 TR=Trigger
 K=Key/Index

 Hope this helps...
0
 

Author Comment

by:kcduncan
Comment Utility
I asked on behalf of a friend and he said the answer was over his head (I guess maybe more details would have helped??), but he was able to find some answers elsewhere.  Thanks.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now