Click here to Skip to main content
15,897,519 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Move Up and Move Down functionality to CListCtrl Pin
CPallini3-Jun-09 20:49
mveCPallini3-Jun-09 20:49 
AnswerRe: Move Up and Move Down functionality to CListCtrl Pin
Royaltvk4-Jun-09 0:38
Royaltvk4-Jun-09 0:38 
AnswerRe: Move Up and Move Down functionality to CListCtrl Pin
Uwe Keim3-Jun-09 20:53
sitebuilderUwe Keim3-Jun-09 20:53 
QuestionRe: Move Up and Move Down functionality to CListCtrl Pin
Maximilien4-Jun-09 1:27
Maximilien4-Jun-09 1:27 
AnswerRe: Move Up and Move Down functionality to CListCtrl Pin
KarstenK3-Jun-09 21:18
mveKarstenK3-Jun-09 21:18 
AnswerRe: Move Up and Move Down functionality to CListCtrl Pin
molesworth3-Jun-09 22:36
molesworth3-Jun-09 22:36 
AnswerRe: Move Up and Move Down functionality to CListCtrl Pin
David Crow4-Jun-09 2:52
David Crow4-Jun-09 2:52 
Questionhow to get record count by SQL from a table of MS access? Pin
includeh103-Jun-09 20:04
includeh103-Jun-09 20:04 
SQL statment is
"SELECT COUNT(*) FROM [User]"

[User] is a table name, which contains handreds of records.

then I use CRecordset.Open(...) to execute the statment.
but CRecordset.GetRecordCount() function returns 1 always.

I think it is not a good way to go throught all records by CRecordset.MoveNext() - it is too slow.

how to get number of records in the table by SQL directly?

1) is CRecordset right class to execute the SQL?
2) is the SQL statment correct?

thanks for any help.
AnswerRe: how to get record count by SQL from a table of MS access? Pin
CPallini3-Jun-09 20:13
mveCPallini3-Jun-09 20:13 
AnswerRe: how to get record count by SQL from a table of MS access? Pin
Stuart Dootson3-Jun-09 22:04
professionalStuart Dootson3-Jun-09 22:04 
QuestionMessage Removed Pin
3-Jun-09 19:59
lek2583-Jun-09 19:59 
AnswerRe: i wanto make my own program creating UDF file system Image file.. Pin
Stuart Dootson3-Jun-09 21:46
professionalStuart Dootson3-Jun-09 21:46 
QuestionHow to stretch a bitmap to fit the size of picture control? Pin
tagopi3-Jun-09 18:57
tagopi3-Jun-09 18:57 
AnswerRe: How to stretch a bitmap to fit the size of picture control? Pin
CPallini3-Jun-09 19:10
mveCPallini3-Jun-09 19:10 
GeneralRe: How to stretch a bitmap to fit the size of picture control? Pin
tagopi3-Jun-09 19:53
tagopi3-Jun-09 19:53 
AnswerRe: How to stretch a bitmap to fit the size of picture control? Pin
«_Superman_»3-Jun-09 19:22
professional«_Superman_»3-Jun-09 19:22 
AnswerRe: How to stretch a bitmap to fit the size of picture control? Pin
GCFMAT23-Feb-10 17:52
GCFMAT23-Feb-10 17:52 
Questioncreate a process from a process and have it not in the same security context Pin
aolinc383-Jun-09 15:33
aolinc383-Jun-09 15:33 
AnswerRe: create a process from a process and have it not in the same security context Pin
norish3-Jun-09 15:57
norish3-Jun-09 15:57 
AnswerRe: create a process from a process and have it not in the same security context Pin
cefarix3-Jun-09 17:53
cefarix3-Jun-09 17:53 
QuestionHow the output? Pin
Gjm3-Jun-09 12:41
Gjm3-Jun-09 12:41 
AnswerRe: How the output? Pin
Stuart Dootson3-Jun-09 12:48
professionalStuart Dootson3-Jun-09 12:48 
QuestionMFC Socket Pin
reddy073-Jun-09 10:16
reddy073-Jun-09 10:16 
QuestionRe: MFC Socket Pin
David Crow3-Jun-09 11:01
David Crow3-Jun-09 11:01 
AnswerRe: MFC Socket Pin
reddy073-Jun-09 12:06
reddy073-Jun-09 12:06 

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.