Click here to Skip to main content
15,921,884 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting Attributes of folder....PLEASE HELP Pin
Carlos Antollini24-Sep-03 4:40
Carlos Antollini24-Sep-03 4:40 
Generaltrying to prevent enter key from making dlg vanish Pin
ns24-Sep-03 4:29
ns24-Sep-03 4:29 
GeneralRe: trying to prevent enter key from making dlg vanish Pin
Ravi Bhavnani24-Sep-03 4:31
professionalRavi Bhavnani24-Sep-03 4:31 
GeneralRe: thanks... Pin
ns24-Sep-03 4:44
ns24-Sep-03 4:44 
GeneralRe: thanks... Pin
Ravi Bhavnani24-Sep-03 4:52
professionalRavi Bhavnani24-Sep-03 4:52 
GeneralRe: thanks... Pin
ns24-Sep-03 9:57
ns24-Sep-03 9:57 
GeneralRe: trying to prevent enter key from making dlg vanish Pin
includeh1024-Sep-03 4:44
includeh1024-Sep-03 4:44 
QuestionWhat happens if thread is Slept() and WM_MESSAGE received? Pin
vgrigor24-Sep-03 4:28
vgrigor24-Sep-03 4:28 
AnswerRe: What happens if thread is Slept() and WM_MESSAGE received? Pin
Mike Dimmick24-Sep-03 9:30
Mike Dimmick24-Sep-03 9:30 
GeneralSTL Getting on my t*ts Pin
R Chin24-Sep-03 4:21
sussR Chin24-Sep-03 4:21 
GeneralRe: STL Getting on my t*ts Pin
jhwurmbach24-Sep-03 4:47
jhwurmbach24-Sep-03 4:47 
GeneralRe: STL Getting on my t*ts Pin
RChin24-Sep-03 4:56
RChin24-Sep-03 4:56 
GeneralRe: STL Getting on my t*ts Pin
RobJones24-Sep-03 5:11
RobJones24-Sep-03 5:11 
GeneralRe: STL Getting on my t*ts Pin
jhwurmbach24-Sep-03 5:25
jhwurmbach24-Sep-03 5:25 
GeneralRe: STL Getting on my t*ts Pin
RobJones24-Sep-03 5:42
RobJones24-Sep-03 5:42 
GeneralRe: STL Getting on my t*ts Pin
markkuk24-Sep-03 5:38
markkuk24-Sep-03 5:38 
GeneralRe: STL Getting on my t*ts Pin
RChin24-Sep-03 5:41
RChin24-Sep-03 5:41 
Questionhow to clear the txt froma file and rewrite? Pin
ns24-Sep-03 4:16
ns24-Sep-03 4:16 
AnswerRe: how to clear the txt froma file and rewrite? Pin
RChin24-Sep-03 4:25
RChin24-Sep-03 4:25 
GeneralStream OLE objects into a CRichEditCtrl Pin
CodeBrain24-Sep-03 2:39
CodeBrain24-Sep-03 2:39 
GeneralRe: Stream OLE objects into a CRichEditCtrl Pin
Joel Lucsy24-Sep-03 2:47
Joel Lucsy24-Sep-03 2:47 
GeneralRe: Stream OLE objects into a CRichEditCtrl Pin
CodeBrain24-Sep-03 3:13
CodeBrain24-Sep-03 3:13 
GeneralRe: Stream OLE objects into a CRichEditCtrl Pin
CodeBrain24-Sep-03 4:14
CodeBrain24-Sep-03 4:14 
Generalscale control in inches Pin
KKR24-Sep-03 2:15
KKR24-Sep-03 2:15 
Generalerror with deleting database record Pin
coda_x24-Sep-03 2:00
coda_x24-Sep-03 2:00 
after editing code:

void CDlgDelete::OnOK()
{ CString deleteID;

deleteID.Format("ID = %s", m_str_deleteID);
recordset.Find(AFX_DAO_FIRST, deleteID);

recordset.Delete();
recordset.Update();
recordset.Close();
database.Close();

CDialog::OnOK();
}

i run program and encountered messagebox error: syntax error(missing operator) in expression. how to correct it?

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.