Solved

Hopefully Easy VB File Processing Question

Posted on 2003-10-29
2
137 Views
Last Modified: 2012-05-05
I'm writing a VB app that will:

1.  Open a File
2.  Read an input line
3.  Process the input line
4.  Write the processed input line to an output file.

Sounds easy enough.  But processing the input line will require some straightforward text manipulation.  Sounds easy enough.

My problem is:  I'll be working with some medium size text files ranging in size from 30MB to 450MB.  I expect that with the larger input files, this app will take some time to complete.  (Depending on computer speed/RAM).

My other problem is:  The target machine that this will be running on is a
1.4G w/ 256 MB.

Is there any suggestions or tricks that I can use to process the larger files (which I may add will be done on a daily basis) besides the SplitFile function?

Cheers
0
Comment
Question by:coson
2 Comments
 
LVL 7

Accepted Solution

by:
_agj_ earned 50 total points
ID: 9649821
whats splitfile? dint know that.

and hey...u cud do a bulk read say a few 10-30MBs in a go and do ur stuff.

All depends on 'what ur stuff is'...as, what the text mani[/processing.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question