Click here to Skip to main content
16,017,899 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: entry point of application Pin
David Crow26-Nov-07 3:52
David Crow26-Nov-07 3:52 
GeneralRe: entry point of application Pin
George_George26-Nov-07 23:28
George_George26-Nov-07 23:28 
Questionhow to use sqlexec Pin
prithaa25-Nov-07 1:14
prithaa25-Nov-07 1:14 
QuestionRe: how to use sqlexec Pin
Hamid_RT25-Nov-07 2:57
Hamid_RT25-Nov-07 2:57 
AnswerRe: how to use sqlexec Pin
Mark Salsbery25-Nov-07 8:03
Mark Salsbery25-Nov-07 8:03 
GeneralRe: how to use sqlexec Pin
prithaa25-Nov-07 18:31
prithaa25-Nov-07 18:31 
GeneralRe: how to use sqlexec Pin
Mark Salsbery25-Nov-07 18:52
Mark Salsbery25-Nov-07 18:52 
AnswerRe: how to use sqlexec Pin
David Crow26-Nov-07 3:55
David Crow26-Nov-07 3:55 
prithaa wrote:
Actually I wanted to store and use multiple SQL queries through CDatabase class .But I was unable to do it.


Why not?

CDatabase db;
db.SQLExec("CREATE TABLE ...");
...
db.SQLExec("DROP TABLE ...");
Now if you actually wanted to have a result set sent back to you, you'd also need to use a CRecordset object.


"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


Questionhow to close a form? Pin
panthal24-Nov-07 20:17
panthal24-Nov-07 20:17 
AnswerRe: how to close a form? Pin
Hamid_RT24-Nov-07 23:07
Hamid_RT24-Nov-07 23:07 
GeneralRe: how to close a form? Pin
panthal24-Nov-07 23:13
panthal24-Nov-07 23:13 
GeneralRe: how to close a form? Pin
Hamid_RT25-Nov-07 2:46
Hamid_RT25-Nov-07 2:46 
AnswerRe: how to close a form? Pin
Nelek25-Nov-07 21:52
protectorNelek25-Nov-07 21:52 
QuestionRoate image using dragging [modified] Pin
followait24-Nov-07 18:58
followait24-Nov-07 18:58 
QuestionDialog death Pin
Oliver12324-Nov-07 18:58
Oliver12324-Nov-07 18:58 
AnswerRe: Dialog death Pin
Gary R. Wheeler25-Nov-07 4:15
Gary R. Wheeler25-Nov-07 4:15 
AnswerRe: Dialog death Pin
ThatsAlok25-Nov-07 20:17
ThatsAlok25-Nov-07 20:17 
GeneralRe: Dialog death Pin
Florin Crişan25-Nov-07 21:30
Florin Crişan25-Nov-07 21:30 
Questionhow can i get OS hardware info Pin
lgbean24-Nov-07 16:39
lgbean24-Nov-07 16:39 
QuestionRe: how can i get OS hardware info Pin
David Crow24-Nov-07 17:20
David Crow24-Nov-07 17:20 
AnswerRe: how can i get OS hardware info Pin
Gary R. Wheeler25-Nov-07 4:17
Gary R. Wheeler25-Nov-07 4:17 
GeneralRe: how can i get OS hardware info Pin
Hamid_RT25-Nov-07 7:12
Hamid_RT25-Nov-07 7:12 
GeneralRe: how can i get OS hardware info Pin
David Crow25-Nov-07 9:49
David Crow25-Nov-07 9:49 
AnswerRe: how can i get OS hardware info Pin
Hamid_RT24-Nov-07 20:06
Hamid_RT24-Nov-07 20:06 
QuestionOne CFrameWnd with two CView, How to implement? [modified] Pin
followait24-Nov-07 16:27
followait24-Nov-07 16:27 

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.