Click here to Skip to main content
15,914,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionClient-server program help Pin
eric_tran18-Sep-06 2:07
eric_tran18-Sep-06 2:07 
QuestionRemoving the noise from a recorded .wav file. Pin
Rajiya18-Sep-06 1:19
Rajiya18-Sep-06 1:19 
AnswerRe: Removing the noise from a recorded .wav file. Pin
Waldermort18-Sep-06 1:23
Waldermort18-Sep-06 1:23 
AnswerRe: Removing the noise from a recorded .wav file. Pin
normanS18-Sep-06 20:08
normanS18-Sep-06 20:08 
QuestionDate Operations Pin
mikobi18-Sep-06 1:06
mikobi18-Sep-06 1:06 
AnswerRe: Date Operations Pin
Naveen18-Sep-06 1:10
Naveen18-Sep-06 1:10 
GeneralRe: Date Operations Pin
Naveen18-Sep-06 1:12
Naveen18-Sep-06 1:12 
QuestionMFC /database please help ! Pin
Bravoone_200618-Sep-06 0:57
Bravoone_200618-Sep-06 0:57 
how can i speed my database and fill in my CListCTtrl ?
because i need all the data in my CListCtrl i can t use a virtual list ok !
it is simple i need all the data in my Clistctrl at once !
for now i fill 60 000 records in my CListCtrl in 1 min. and i need more speed because i want to fill more data and i will have more time to load and i don t want this i need more speed !
- for my database
- for my CListCtrl

Database = VisualFoxPro 6.0 .
for now this is my code :

void CNcontabile::FillList()
{

CDatabase_Plan* pPlan = new CDatabase_Plan();



if (!pPlan->Open())
return;

if (pPlan->IsOpen())
{


pPlan->SetRowsetSize(25);


while (!pPlan->IsEOF() )
{
int nRowsFetched = pPlan->GetRowsFetched();
m_list.InsertItem(nRowsFetched, pPlan->m_name);
m_list.SetItemText(nRowsFetched, 1, pPlan->m_city);

pPlan->Move(SQL_FETCH_NEXT);
pPlan->MoveNext();


}

}

//m_list.UnlockWindowUpdate();
m_list.Invalidate();
m_list.UpdateWindow();

pPlan->Close();
delete pPlan;
}

if you have an ideea on how can i get more speed please tell me !
i will wait your answer !
Thank you ! Smile | :)



Bravoone

AnswerRe: MFC /database please help ! Pin
Hamid_RT18-Sep-06 1:21
Hamid_RT18-Sep-06 1:21 
GeneralRe: MFC /database please help ! Pin
Bravoone_200618-Sep-06 1:38
Bravoone_200618-Sep-06 1:38 
GeneralRe: MFC /database please help ! Pin
Hamid_RT18-Sep-06 1:58
Hamid_RT18-Sep-06 1:58 
QuestionRe: MFC /database please help ! Pin
David Crow18-Sep-06 5:12
David Crow18-Sep-06 5:12 
QuestionCan not start program with DataGrid Pin
NorGUI18-Sep-06 0:49
NorGUI18-Sep-06 0:49 
QuestionHelp me Pin
sonyama18-Sep-06 0:48
sonyama18-Sep-06 0:48 
AnswerRe: Help me Pin
_AnsHUMAN_ 18-Sep-06 0:51
_AnsHUMAN_ 18-Sep-06 0:51 
GeneralRe: Help me Pin
sonyama18-Sep-06 0:54
sonyama18-Sep-06 0:54 
GeneralRe: Help me Pin
_AnsHUMAN_ 18-Sep-06 0:58
_AnsHUMAN_ 18-Sep-06 0:58 
GeneralRe: Help me Pin
sonyama18-Sep-06 1:02
sonyama18-Sep-06 1:02 
GeneralRe: Help me Pin
_AnsHUMAN_ 18-Sep-06 1:07
_AnsHUMAN_ 18-Sep-06 1:07 
GeneralRe: Help me Pin
sonyama18-Sep-06 3:42
sonyama18-Sep-06 3:42 
GeneralRe: Help me Pin
_AnsHUMAN_ 18-Sep-06 3:48
_AnsHUMAN_ 18-Sep-06 3:48 
GeneralI'm sorry but I'm stucked Pin
sonyama18-Sep-06 19:34
sonyama18-Sep-06 19:34 
QuestionCxstatic Pin
fx920018-Sep-06 0:39
fx920018-Sep-06 0:39 
AnswerRe: Cxstatic Pin
_AnsHUMAN_ 18-Sep-06 0:44
_AnsHUMAN_ 18-Sep-06 0:44 
AnswerRe: Cxstatic Pin
Hamid_RT19-Sep-06 8:58
Hamid_RT19-Sep-06 8:58 

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.