Search:
Type: Posts; User: cardio5643
Search:
Search took 0.02 seconds.
-
April 21st, 2009, 02:00 PM
Okay. So Skizmo was right. It was because finder was still open. i tried pEx->m_cause() but it wasnt liking that. i than tried finder.CloseContext before i deleted it. it didnt like that either. so i...
-
April 21st, 2009, 11:04 AM
hopefully this is quick and painless. i have code below that no matter what catches and comes back file cannot be removed. is there another way to do this or am i doing something wrong ? help?
...
-
March 29th, 2009, 01:40 PM
Hello - I am looking to copy a file from one place to another in the simplest way possible (media files, & using MFC). I have this line
CopyFile(_T("C:\\Dummy\\ari.avi"),_T("C:\\TEMP\\"),true);
...
-
March 17th, 2009, 10:25 AM
Is there a way to have my app find on any system a certain, particular USB that is the exact same USB every time, just moved from system to system, along with the app?
For example the same USB...
-
February 27th, 2009, 03:33 PM
Reading a date in form of a string in from a text file. Goal is to compare it against a date obtained from a CFileFind::GetCreationDate. Once I read the string date from file, how can I get it back...
-
February 24th, 2009, 03:29 PM
I have a string that is being taken from a DateTimePicker control and writen to a file, then being read again so it is still a string. Is there any way to get it back into like a Ctime format? Or any...
-
February 20th, 2009, 02:17 PM
I am working with a function that is searching for files. I want to give it a directory, and have it search every directory and file within that initial directory. I know in .net there is a...
-
February 18th, 2009, 03:55 PM
void CVEUDlg::Recurse(LPCTSTR pstr)
{
CFileFind finder;
CString strWildcard(pstr);
strWildcard += _T("\\*.*");
CString strToFind(pstr);
strToFind+=_T("\\ari.*");
BOOL bWorking =...
-
February 18th, 2009, 03:50 PM
Yes, I know you have to call FindNextFile, and I have been working with MSDN's example closely.
-
February 18th, 2009, 03:49 PM
I did. It brought me to the filefind.cpp to line 291 which is this
CString CFileFind::GetFilePath() const
{
ASSERT(m_hContext != NULL); //291
ASSERT_VALID(this);
?
-
February 18th, 2009, 03:28 PM
I am getting this odd error "Debug Assertion Failed" while trying to run my program. I have narrowed it down to the line that is causing the problem, but can not figure out why. Maybe one of you can....
-
February 17th, 2009, 11:24 AM
I am trying to search through files/directories given a starting directory from the user, I wish to search by all types of parameters, file size, file name, and especially file type. I am not sure...
-
February 17th, 2009, 11:21 AM
I have and need a
std::string strFilePath; // Filepath
I also want to set a fPath which needs to be a CString because I am grabbing it from an edit box via GetWindowText
fPath...
-
February 11th, 2009, 02:28 PM
By kind of I mean I mean the output in the file is H_o_c_k_e_y_ _i (where '_' = a box looking character)
I started with Cfile. Got help from here and came up with that code. New to MFC - having...
-
February 11th, 2009, 01:48 PM
Trying to have a text file to write app feedback to. heres the code
HANDLE hFile = CreateFile(_T("C:\\TEMP\\MyFile.txt"),
GENERIC_WRITE, FILE_SHARE_READ,
NULL, CREATE_ALWAYS,...
-
February 6th, 2009, 04:06 PM
Thanks - no more error during compilation, but only getting garbage characters in the text file...How do I fix that?
-
February 6th, 2009, 02:57 PM
Want to write a text file to save log data during app runtime. Grabbed this code from MSDN itself, and it doesnt compile.
HANDLE hFile = CreateFile(_T("C:\\TEMP\\MyFile.txt"),
...
-
February 3rd, 2009, 11:36 AM
I have
const std::string &refcstrRootDirectory,
std::string strFilePath; ,
WIN32_FIND_DATA FileInformation;
This one line
strFilePath = refcstrRootDirectory + "\\" +...
-
February 3rd, 2009, 11:13 AM
Close But that is still not doing it. I got -
'CWnd::SetWindowTextW' : cannot convert parameter 1 from 'const char *' to 'LPCTSTR'
?
-
February 3rd, 2009, 10:56 AM
I am not a begginer at c++. I have taken a couple years of it in school, worked with it at my job, and have no trouble in vc++ express at all. But now I have to take one of my programs from express...
-
February 3rd, 2009, 10:53 AM
How can I print the contents of a vector
std::vector<std::string> refvecFiles;
?
-
February 3rd, 2009, 10:51 AM
Right, so how can I print to screen the contents of the vector. Which at this point is only one item?
-
February 3rd, 2009, 10:46 AM
I seem to have much trouble with data types and knowing what I can do with them and what I cant. I have a regular edit box, with a member variable I added through the wizard. I also have another...
-
January 28th, 2009, 04:00 PM
I am new to, and not loving, MFC. I want to add parameters to a function, and the wizard does not include data types that I want. The nOrmal way i would just add the variable declarations to the...
-
January 28th, 2009, 03:15 PM
Can I not do those operations on wstring?
|
Click Here to Expand Forum to Full Width
|