Yes but this code works only in the first column and i want to search in column 1 and 2 ! (this is my problem)
This code search only in the first column !
How can i search in other column ? (1,2) ???????
Please help !
and how can i search subitems in column 1,2 because in column 0 my code works to finditem !?
and previous examples that has been given to me don t work !( in my code ) ( is not good for my code i try to search in column 1 and getitemtext from column 2!
Please help me ! i remind you :
m_name , m_country , m_relatia !( if m_name (is found it in column 0) and m_country (is found it in column 1 ) then getitemtext from column 2 - > in m_relatia)! This is what i want and i don t no how to do it !
Please help me!
I am saving recorded file in a folder, but am hardcoding the name in the code itself.I want the recorded .wav file to get the name as current date and time for e.g. 08/09/0611:55:39.wav.I get the name of the file in a string variable but it does not gets saved coz it does not recognise the slash(/).I want a way in which i can convert the slash(/) in the date string to hyphen(-).
For e.g 08/09/0611:55:39.wav has to be converted to 08-09-0611:55:39.wav.
I am using VC++, please suggest me how can i solve this problem.
I found the log file size is becoming larger and larger. Any ideas to reduce the file size or make log file size managed, for example, keep the log file be fixed size or some other policies? Any reference tutorials or open source samples to recommend?
I'd like to write a function that tells me how many documents I have open of a particular document type. I want to call this function whenever someone tries to open a new document and if that would exceed the predefined number allowed, notify them with a message box.
The secret to creativity is knowing how to hide your sources. (Albert Einstein)
If you are dealing with MDI application in MFC using CMultiDocTemplate class, then I think you should use its members in this manner:
CMutiDocTemplate * t = ...; // the template for given document type
int total_documents = 0;
POSITION pos = t->GetFirstDocPosition();
while(pos != NULL)
pos = t->GetNextDoc(pos);