Search:
Type: Posts; User: ra96
Search:
Search took 0.02 seconds.
-
July 14th, 2011, 03:12 PM
-
July 14th, 2011, 03:02 PM
What I'm finding is once the code has entered the While loop,
my manual check box clicks are ignored and the app freezes up.
-
July 14th, 2011, 02:55 PM
Upon completion of each iteration of a While loop, what do I call to read a check box state & either break/continue?
-
July 13th, 2011, 04:16 PM
Looking to add code for the following case:
I often use CFileDialog to select text files, parse them, manipulate the data, etc.
If I'm always using the same directory location and all files...
-
November 4th, 2010, 11:11 AM
Skizmo-
I tried replacing "lpszFileName" w/ "sName". Same result.
-
November 4th, 2010, 10:27 AM
Sorry (knew I would end up leaving something out):
CFileDialog savedlg(FALSE, "txt", lpszFileName);
//launch the "File Open" dialog, and if the user selects 'Save'(IDOK):...
-
November 4th, 2010, 10:16 AM
VC++ 2008:
I parse a .txt file, find the value I'm looking for, then put it into a CString (i.e.: CString sName).
I then want to create a file (launching the Save As dialog) using sName value as...
-
March 2nd, 2010, 11:15 AM
2 boxes exist on network (Box1 & Box2).
File X.vbs toggles Microsoft Mute (volume) property.
X.vbs exists on Box1 @ C:\
From the Box1 command line, I want to run the Box1 file C:\X.vbs, but I want...
-
September 14th, 2009, 12:58 PM
While I greatly appreciate the willingness to help, the level of difficulty of this task has gone over my head.
I admit it's a cheat, but this quick file conversion works for me:...
-
September 14th, 2009, 09:54 AM
Again, tried .tsv. However, I'm getting the same end result as when the file is saved .html.
-
September 14th, 2009, 09:46 AM
Example of 1st few lines of read-in text as it appears in .html file (as well as when the .html file type is changed to .txt -still doesn't work):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0...
-
September 14th, 2009, 09:00 AM
Purpose:
All I want to do is use the data in the .html file (this data can be viewed when the .html file is opened in Notepad -is surrounded by <tags> of course), to do some math in C++ code.
-
September 14th, 2009, 08:57 AM
Thx for the discussion, Mike.
To clarify, the Perfmon session I'm viewing is launched from a .msc file.
I then right-click in the display of the Perfmon data, right click & Save As, and the default...
-
September 14th, 2009, 07:52 AM
No change when applying the wifstream method.
Additional info: the html file is the saved output of perfmon (i.e.: viewing Perfmon output, Save As the output, default file type is .html). I then...
-
September 11th, 2009, 01:53 PM
I have an html file.
Trying to read it into VC++ 8.
I've done this before w/ non-HTML files by reading it in as a block when dealing w/ binary. Example:
ifstream file.read (char * buffer,...
-
March 3rd, 2009, 03:16 PM
Sorry, do not have the experience to implement solution based on the info in the reply.
Upon execution of std:search, how to recognize when the search is at (for example) 10% of int length (size of...
-
March 3rd, 2009, 01:41 PM
I would like to update a progressbar (i.e.: CProgressCtrl pBarControl) during a search of data read in as a block.
The search takes awhile (app "appears" to freeze) so I would like to show progress....
-
February 20th, 2009, 01:10 PM
Ok, Philip (or anyone else who would like to be helpful).
I have used Philip's advice to read the db (.txt file) as a block to avoid embedded NULLs.
Obviously that is new to me.
Using Philip's...
-
February 19th, 2009, 01:48 PM
Looking for a tip on the following:
I want to search only a portion of a text file for a value.
Note: The variable, holder, has embedded NULLs.
char * holder;
//create the...
-
February 19th, 2009, 10:58 AM
Philip, Skizmo - you guys are great - always trying to help..
Response to Skizmo: yes I'm using the debugger and it's output (for some of the files) for char * holder 0x07e90040 "øéÚË _%4"...
-
February 19th, 2009, 09:34 AM
Would very much appreciate any clues here:
I have a number of different result output files (all ".res" - Silk-based) that I'm treating like .txt files and am trying to read into my VC++2008 code....
-
February 17th, 2009, 05:24 PM
Skizmo - I think you are correct. When I open my input file in VC++ & do a search for '\0', it appears. Does this make a difference w/ my method for opening file?:
resexamplefile.open (fname,...
-
February 17th, 2009, 02:48 PM
The following code illustrates reading in a text file.
Setting char * holder equal to the size of the that text file.
Reading the data as a block.
And then searching the entire block for desired...
-
February 12th, 2009, 05:25 PM
Here's the code. I'm using a CString to "Find" if data that exists in the .txt has been read.
And it is not (CString.Find returning -1).
The same code returns a value for CString.Find (not -1) on a...
-
February 12th, 2009, 04:37 PM
I have a .txt file over 100 mb and it has no delimiters.
For smaller .txt files I've been successful w/ char *'s and used ifstream functions such as getline.
Any tips for what to do w/ such a big...
|
Click Here to Expand Forum to Full Width
|