Use odbc32 API calls in VB to list datasources and tables within 
Author Message
 Use odbc32 API calls in VB to list datasources and tables within

Hello,

I'm not a "newbie", I can think clearly, I know what I want to do, my stored
procedures (usually) work <g>, but I can't seem to put my needs into terms
the "Search Engine Gods" can understand.  Am I alone in this?

Anyway, I want to stuff two comboboxes: the first with ODBC datasources, the
second with the tables within one of the selected datasources.  I was able
to populate the datasource combo, but I cannot find a method to enumerate
the tables and stuff the second combo.  Any help will be greatly
appreciated.

dward



Tue, 22 Apr 2003 03:00:00 GMT  
 Use odbc32 API calls in VB to list datasources and tables within
Read upon the ADO Catalog objects.

ADOX.Catalog

We used this object in application that was doing roughly the same thing you
detailed.

Hope this helps.

--

Ryan N.
______________
This is madness!!!

Please reply only to the newsgroups

Quote:
> Hello,

> I'm not a "newbie", I can think clearly, I know what I want to do, my
stored
> procedures (usually) work <g>, but I can't seem to put my needs into terms
> the "Search Engine Gods" can understand.  Am I alone in this?

> Anyway, I want to stuff two comboboxes: the first with ODBC datasources,
the
> second with the tables within one of the selected datasources.  I was able
> to populate the datasource combo, but I cannot find a method to enumerate
> the tables and stuff the second combo.  Any help will be greatly
> appreciated.

> dward



Tue, 22 Apr 2003 03:00:00 GMT  
 Use odbc32 API calls in VB to list datasources and tables within
Thanks, Ryan.


Quote:
> Read upon the ADO Catalog objects.

> ADOX.Catalog

> We used this object in application that was doing roughly the same thing
you
> detailed.

> Hope this helps.

> --

> Ryan N.
> ______________
> This is madness!!!

> Please reply only to the newsgroups


> > Hello,

> > I'm not a "newbie", I can think clearly, I know what I want to do, my
> stored
> > procedures (usually) work <g>, but I can't seem to put my needs into
terms
> > the "Search Engine Gods" can understand.  Am I alone in this?

> > Anyway, I want to stuff two comboboxes: the first with ODBC datasources,
> the
> > second with the tables within one of the selected datasources.  I was
able
> > to populate the datasource combo, but I cannot find a method to
enumerate
> > the tables and stuff the second combo.  Any help will be greatly
> > appreciated.

> > dward



Tue, 22 Apr 2003 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. ODBC API calls from VB4.0 Professional Edition - ODBC16.TXT and ODBC32.TXT

2. ODBC API Calls - ODBC16.TXT and ODBC32.TXT

3. API for calling odbc32 from VB4

4. ODBC32.dll API calls in VB5 Pro

5. DOES ANYONE HAVE THE ODBC32 VERSION 3 API DECLARATIONS FOR VB

6. DOES ANYONE HAVE THE ODBC32 VERSION 3 API DECLARATIONS FOR VB

7. Need a List-Control for extensive Datasources

8. Listing ODBC Datasources

9. Heavy-Duty VB Server using API Calls - Opinions Requested

10. Modify VB Process Priority using Win API calls

11. Help needed with 16bit to 32bit API calls migration (using VB 4.0)

12. Using the SendMesage API call in VB 4.0

 

 
Powered by phpBB® Forum Software