Click here to Skip to main content
15,890,670 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalhelp me please !!! Pin
need some help23-Apr-05 11:30
sussneed some help23-Apr-05 11:30 
GeneralRe: help me please !!! Pin
Ravi Bhavnani23-Apr-05 16:51
professionalRavi Bhavnani23-Apr-05 16:51 
GeneralRe: help me please !!! Pin
ThatsAlok24-Apr-05 18:29
ThatsAlok24-Apr-05 18:29 
GeneralCDatabase question Pin
Ivan Cachicatari23-Apr-05 9:36
Ivan Cachicatari23-Apr-05 9:36 
GeneralRe: CDatabase question Pin
22491723-Apr-05 10:01
22491723-Apr-05 10:01 
GeneralRe: CDatabase question Pin
Peter Ritchie24-Apr-05 8:07
Peter Ritchie24-Apr-05 8:07 
GeneralRe: CDatabase question Pin
Ivan Cachicatari8-May-05 4:57
Ivan Cachicatari8-May-05 4:57 
GeneralRe: CDatabase question Pin
Peter Ritchie8-May-05 6:33
Peter Ritchie8-May-05 6:33 
Each database is slightly different when it comes to raw SQL when querying schema data. MSDE/SQL Server, for example, store some schema information in the sysobject table. For a list of table names you can run the following query:
SELECT     name
FROM         sysobjects
WHERE     (xtype = 'U')
ORDER BY name
For a more generic method you'll have to resort to direct calls to ODBC. There's a sample at MS that does this sort of thing with CDatabase: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcsample/html/_sample_mfc_catalog2.asp[^]

PeterRitchie.com
Generalfile find/copy Pin
maikol23-Apr-05 9:12
maikol23-Apr-05 9:12 
GeneralRe: file find/copy Pin
22491723-Apr-05 9:48
22491723-Apr-05 9:48 
GeneralRe: file find/copy Pin
maikol24-Apr-05 9:43
maikol24-Apr-05 9:43 
GeneralRe: file find/copy Pin
22491724-Apr-05 17:56
22491724-Apr-05 17:56 
Questionfireing OLE Control Events??? Pin
tobi7823-Apr-05 8:37
tobi7823-Apr-05 8:37 
Generalarray of structs read in from a file Pin
Truby4223-Apr-05 8:23
Truby4223-Apr-05 8:23 
GeneralRe: array of structs read in from a file Pin
Peter Ritchie23-Apr-05 8:29
Peter Ritchie23-Apr-05 8:29 
GeneralWinhttp from service not working Pin
gP_t_gr823-Apr-05 8:09
gP_t_gr823-Apr-05 8:09 
GeneralRe: Winhttp from service not working Pin
22491723-Apr-05 9:42
22491723-Apr-05 9:42 
GeneralRe: Winhttp from service not working Pin
gP_t_gr824-Apr-05 19:20
gP_t_gr824-Apr-05 19:20 
GeneralGetting input in an array... Pin
Aqseel A. Mirza23-Apr-05 7:12
sussAqseel A. Mirza23-Apr-05 7:12 
GeneralRe: Getting input in an array... Pin
Ravi Bhavnani23-Apr-05 7:43
professionalRavi Bhavnani23-Apr-05 7:43 
GeneralRe: Getting input in an array... Pin
Member 190113623-Apr-05 15:24
Member 190113623-Apr-05 15:24 
Generalcin.get is creating problem Pin
Aqueel25-Apr-05 1:55
Aqueel25-Apr-05 1:55 
GeneralRe: cin.get is creating problem Pin
Member 190113625-Apr-05 2:06
Member 190113625-Apr-05 2:06 
GeneralThanks Pin
Aqueel25-Apr-05 3:50
Aqueel25-Apr-05 3:50 
GeneralWM_KILLFOCUS Pin
PeteMan_R23-Apr-05 6:55
PeteMan_R23-Apr-05 6:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.