Click here to Skip to main content
15,899,754 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionneed help on memory leak Pin
houari_id7-Nov-05 2:06
houari_id7-Nov-05 2:06 
AnswerRe: need help on memory leak Pin
toxcct7-Nov-05 2:50
toxcct7-Nov-05 2:50 
GeneralRe: need help on memory leak Pin
Cedric Moonen7-Nov-05 2:52
Cedric Moonen7-Nov-05 2:52 
GeneralRe: need help on memory leak Pin
toxcct7-Nov-05 2:56
toxcct7-Nov-05 2:56 
GeneralRe: need help on memory leak Pin
houari_id7-Nov-05 13:05
houari_id7-Nov-05 13:05 
AnswerRe: need help on memory leak Pin
David Crow7-Nov-05 2:55
David Crow7-Nov-05 2:55 
GeneralRe: need help on memory leak Pin
houari_id7-Nov-05 13:10
houari_id7-Nov-05 13:10 
Questionhow can i connect MsAccess Pin
sheerprogrammer6-Nov-05 21:23
sheerprogrammer6-Nov-05 21:23 
hello,

i am very new to VC++.Net. i am getting lots of bugs while working with
MsAccess Database. Here is my code fragment. i used the Connection
object from toolbox. so the connection is ok. i am able to retrieve the
data. But i failed to modify (inserting, updating and deleting).

DataSet *ds;
OleDb::OleDbDataAdapter* adapter=new OleDb::OleDbDataAdapter("select
prt_text,cut from spool",oleDbConnection1);
oleDbConnection1->Open();
adapter->Fill(ds,"spool");

DataRow *dr=ds->Tables->Item[0]->Rows->get_Item(1);
ds->Tables->Item[0]->Rows->Remove(dr);
ds->AcceptChanges();

adapter->Update(ds,"spool");
oleDbConnection1->Close();

how do i delete a record, update a record and add a record. plz help
me.
Thank u in advance.

regards,
basheer.

AnswerRe: how can i connect MsAccess Pin
Barm7-Nov-05 16:57
Barm7-Nov-05 16:57 
QuestionUrgent help my entire ERP project's class view is missing Resourse view stopped working Pin
shivditya6-Nov-05 20:39
shivditya6-Nov-05 20:39 
AnswerRe: Urgent help my entire ERP project's class view is missing Resourse view stopped working Pin
vikas amin6-Nov-05 21:34
vikas amin6-Nov-05 21:34 
GeneralRe: Urgent help my entire ERP project's class view is missing Resourse view stopped working Pin
shivditya6-Nov-05 21:56
shivditya6-Nov-05 21:56 
Questionhow to draw a pie chart and graph in vc++ Pin
sachin_coer6-Nov-05 20:33
sachin_coer6-Nov-05 20:33 
AnswerRe: how to draw a pie chart and graph in vc++ Pin
ddmcr6-Nov-05 21:06
ddmcr6-Nov-05 21:06 
GeneralRe: how to draw a pie chart and graph in vc++ Pin
ThatsAlok6-Nov-05 21:22
ThatsAlok6-Nov-05 21:22 
GeneralRe: how to draw a pie chart and graph in vc++ Pin
ddmcr6-Nov-05 22:15
ddmcr6-Nov-05 22:15 
GeneralRe: how to draw a pie chart and graph in vc++ Pin
ThatsAlok6-Nov-05 22:52
ThatsAlok6-Nov-05 22:52 
GeneralRe: how to draw a pie chart and graph in vc++ Pin
ddmcr6-Nov-05 23:00
ddmcr6-Nov-05 23:00 
GeneralRe: how to draw a pie chart and graph in vc++ Pin
ThatsAlok6-Nov-05 23:26
ThatsAlok6-Nov-05 23:26 
GeneralRe: how to draw a pie chart and graph in vc++ Pin
ddmcr6-Nov-05 23:38
ddmcr6-Nov-05 23:38 
GeneralRe: how to draw a pie chart and graph in vc++ Pin
toxcct6-Nov-05 23:43
toxcct6-Nov-05 23:43 
GeneralRe: how to draw a pie chart and graph in vc++ Pin
ThatsAlok6-Nov-05 23:51
ThatsAlok6-Nov-05 23:51 
GeneralRe: how to draw a pie chart and graph in vc++ Pin
vikas amin7-Nov-05 0:18
vikas amin7-Nov-05 0:18 
GeneralRe: how to draw a pie chart and graph in vc++ Pin
ThatsAlok7-Nov-05 18:19
ThatsAlok7-Nov-05 18:19 
AnswerRe: how to draw a pie chart and graph in vc++ Pin
ThatsAlok6-Nov-05 21:13
ThatsAlok6-Nov-05 21:13 

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.