Click here to Skip to main content
15,920,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: IO Exception : Process cannot access the file Pin
Mark Salsbery18-Dec-06 6:02
Mark Salsbery18-Dec-06 6:02 
GeneralRe: IO Exception : Process cannot access the file Pin
zxc8918-Dec-06 19:20
zxc8918-Dec-06 19:20 
GeneralRe: IO Exception : Process cannot access the file Pin
Mark Salsbery19-Dec-06 6:26
Mark Salsbery19-Dec-06 6:26 
Questionhow to refesh traywindow programtically Pin
swarup17-Dec-06 23:04
swarup17-Dec-06 23:04 
AnswerRe: how to refesh traywindow programtically Pin
Hamid_RT18-Dec-06 0:35
Hamid_RT18-Dec-06 0:35 
AnswerRe: how to refesh traywindow programtically Pin
Mark Salsbery18-Dec-06 4:51
Mark Salsbery18-Dec-06 4:51 
GeneralRe: how to refesh traywindow programtically Pin
swarup19-Dec-06 4:15
swarup19-Dec-06 4:15 
GeneralRe: how to refesh traywindow programtically Pin
Mark Salsbery19-Dec-06 6:32
Mark Salsbery19-Dec-06 6:32 
GeneralRe: how to refesh traywindow programtically Pin
swarup19-Dec-06 21:33
swarup19-Dec-06 21:33 
GeneralRe: how to refesh traywindow programtically Pin
Mark Salsbery20-Dec-06 5:14
Mark Salsbery20-Dec-06 5:14 
AnswerRe: how to refesh traywindow programtically Pin
swarup30-Dec-06 4:32
swarup30-Dec-06 4:32 
QuestionRemove entries of the Startup page Pin
Dai Hui17-Dec-06 22:41
Dai Hui17-Dec-06 22:41 
QuestionReading sms already on phone Pin
KongHL17-Dec-06 22:29
KongHL17-Dec-06 22:29 
AnswerRe: Reading sms already on phone Pin
vijay_aroli17-Dec-06 22:43
vijay_aroli17-Dec-06 22:43 
QuestionHOWTO: export a string table from a regular Windows DLL? Pin
Mohammad A Gdeisat17-Dec-06 22:25
Mohammad A Gdeisat17-Dec-06 22:25 
AnswerRe: HOWTO: export a string table from a regular Windows DLL? Pin
prasad_som17-Dec-06 22:45
prasad_som17-Dec-06 22:45 
AnswerRe: HOWTO: export a string table from a regular Windows DLL? Pin
Michael Dunn18-Dec-06 7:17
sitebuilderMichael Dunn18-Dec-06 7:17 
QuestionCRecordset::Edit(); [modified] Pin
Bravoone_200617-Dec-06 22:23
Bravoone_200617-Dec-06 22:23 
void CNoteDlg::OnSalveazaCr()
{
CWaitCursor wait; // Display a wait cursor
for(int i=0; i {

if(m_list.GetCheck(i))
{

CString sTemp,sTemp1,sTemp2,sTip1,sTip2,sTest1,sAnul1,
sLuna,sLuna1,sZiua1,sData;

CMainSpace *pMainSpace = new CMainSpace;
pMainSpace->m_sTextDatabase.Empty();
pMainSpace->m_sTextDatabase1.Empty();
pMainSpace->m_sTextDatabase2.Empty();
pMainSpace->m_sTextDatabase3.Empty();

m_cod.GetWindowText(pMainSpace->m_sTextDatabase);
pMainSpace->m_sTextDatabase.TrimLeft();
pMainSpace->m_sTextDatabase.TrimRight();

m_nrNota.GetWindowText(pMainSpace->m_sTextDatabase1);
pMainSpace->m_sTextDatabase.TrimLeft();
pMainSpace->m_sTextDatabase.TrimRight();

m_datanota.GetWindowText(sLuna1);
m_datanota3.GetWindowText(sZiua1);
m_datanota1.GetWindowText(sAnul1);

pMainSpace->m_sTextDatabase3 = m_list.GetItemText(i,22);

pMainSpace->m_sTextDatabase2 = sLuna1 + "/" + sZiua1 + "/" + sAnul1;

CDatabase_Note pBun;
pBun.m_strFilter="note1="+ pMainSpace->m_sTextDatabase;
pBun.m_strFilter="note2="+ pMainSpace->m_sTextDatabase1;
pBun.m_strFilter="note3="+ pMainSpace->m_sTextDatabase3;

pBun.Open();
pBun.Edit();
while (!pBun.IsEOF())
{

int nIndexA = pBun.m_note1.Find(pMainSpace->m_sTextDatabase);
int nIndexB = pBun.m_note2.Find(pMainSpace->m_sTextDatabase1);

if ((nIndexA != -1) & (nIndexB != -1))
{

pBun.Edit();
pMainSpace->m_sTextDatabase3 = m_list.GetItemText(i,22);
pBun.m_note2 = pMainSpace->m_sTextDatabase3;
pBun.Update();
pBun.Close();
delete pMainSpace;
break;

}
}
m_list.DeleteItem(i);
i--;
}
}
}
this is my code ... but somethig is wrong because it say SQL: Statement too long ! what can i do ?!
please help me !
i will wait your answer !
because i dont have one !
Confused | :confused:
-- modified at 8:32 Monday 18th December, 2006


-- modified at 8:33 Monday 18th December, 2006

Bravoone

AnswerRe: please help me ! Pin
G Haranadh18-Dec-06 0:22
G Haranadh18-Dec-06 0:22 
AnswerRe: CRecordset::Edit(); Pin
David Crow18-Dec-06 7:21
David Crow18-Dec-06 7:21 
QuestionMulti-language text Pin
himuskanhere17-Dec-06 22:01
himuskanhere17-Dec-06 22:01 
QuestionRegQueryValueEx Problem! Pin
bosfan17-Dec-06 21:59
bosfan17-Dec-06 21:59 
QuestionRe: RegQueryValueEx Problem! Pin
prasad_som17-Dec-06 22:04
prasad_som17-Dec-06 22:04 
AnswerRe: RegQueryValueEx Problem! [modified] Pin
bosfan18-Dec-06 0:57
bosfan18-Dec-06 0:57 
AnswerRe: RegQueryValueEx Problem! Pin
prasad_som18-Dec-06 2:17
prasad_som18-Dec-06 2:17 

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.