Click here to Skip to main content
15,915,324 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CString pre-pend Pin
David Crow28-Apr-05 5:41
David Crow28-Apr-05 5:41 
GeneralRe: CString pre-pend Pin
Michael Dunn28-Apr-05 5:41
sitebuilderMichael Dunn28-Apr-05 5:41 
GeneralRe: CString pre-pend Pin
Larry J. Siddens29-Apr-05 4:55
Larry J. Siddens29-Apr-05 4:55 
GeneralRe: CString pre-pend Pin
Member 170252928-Apr-05 5:44
Member 170252928-Apr-05 5:44 
GeneralMessage to Bottom of the Main Window Pin
jerry1211a28-Apr-05 5:36
jerry1211a28-Apr-05 5:36 
GeneralRe: Message to Bottom of the Main Window Pin
Ravi Bhavnani28-Apr-05 8:43
professionalRavi Bhavnani28-Apr-05 8:43 
GeneralOpening Access Database Pin
thetuxpenguin28-Apr-05 5:32
thetuxpenguin28-Apr-05 5:32 
GeneralRe: Opening Access Database Pin
David Crow28-Apr-05 5:46
David Crow28-Apr-05 5:46 
For starters, create a new MFC AppWizard (exe) project via AppWizard. One of the steps will ask if you want database support. Reply in the affirmative. You will then need to select an existing DSN. After that, you select the table and the columns you are interested in. The default query that is generated for you is something like "SELECT * FROM <whatever table="" you="" chose="">".

If you have an existing MFC project, you can derive a new class from CRecordset. It will prompt you for the same DSN, table, and column that AppWizard did.

When you get this far, come back and ask some more questions. It's easier to go a few steps at a time.



"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown


GeneralRe: Opening Access Database Pin
thetuxpenguin28-Apr-05 6:22
thetuxpenguin28-Apr-05 6:22 
GeneralRe: Opening Access Database Pin
David Crow28-Apr-05 6:28
David Crow28-Apr-05 6:28 
GeneralRe: Opening Access Database Pin
thetuxpenguin28-Apr-05 6:39
thetuxpenguin28-Apr-05 6:39 
GeneralRe: Opening Access Database Pin
David Crow28-Apr-05 7:07
David Crow28-Apr-05 7:07 
GeneralVC6 C++ ability to read .NET DataSet XML Pin
OBRon28-Apr-05 4:30
OBRon28-Apr-05 4:30 
GeneralUtility to convert VC++ to C# Pin
shyampillai28-Apr-05 4:23
shyampillai28-Apr-05 4:23 
GeneralRe: Utility to convert VC++ to C# Pin
Anonymous28-Apr-05 4:56
Anonymous28-Apr-05 4:56 
GeneralFile modified time Pin
Trollslayer28-Apr-05 4:17
mentorTrollslayer28-Apr-05 4:17 
GeneralRe: File modified time Pin
David Crow28-Apr-05 4:24
David Crow28-Apr-05 4:24 
GeneralRe: File modified time Pin
Ravi Bhavnani28-Apr-05 8:47
professionalRavi Bhavnani28-Apr-05 8:47 
GeneralRe: File modified time Pin
Trollslayer28-Apr-05 22:17
mentorTrollslayer28-Apr-05 22:17 
GeneralRe: File modified time Pin
Ravi Bhavnani30-Apr-05 10:13
professionalRavi Bhavnani30-Apr-05 10:13 
GeneralRe: File modified time Pin
Trollslayer30-Apr-05 11:57
mentorTrollslayer30-Apr-05 11:57 
GeneralFile Associations Pin
Daniel Kanev28-Apr-05 4:05
Daniel Kanev28-Apr-05 4:05 
GeneralRe: File Associations Pin
David Crow28-Apr-05 4:13
David Crow28-Apr-05 4:13 
GeneralC++ multiplication Pin
28-Apr-05 3:55
suss28-Apr-05 3:55 
GeneralRe: C++ multiplication Pin
David Crow28-Apr-05 4:07
David Crow28-Apr-05 4:07 

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.