tonofsteel
Freshman
- Joined
- Jul 10, 2003
- Messages
- 35
My last post started as a question to get my code working, but in the end it is VERY slow. So now my question is: How does anyone create super fast file access. Like any text editing program you use today can load megabytes of file in fractions of a second. And then search out and erase words or complete lines throughout the whole file that match certain criteria within seconds.
My attempt at the basics of this, just loading a file takes a mere 10+ minutes. Or searching through a file erasing lines drags on for only god knows how long cuz i wasnt gonna wait for dat to finish.
So if anyone out there has even a shred, or a hint, or a direction at least for me to reasearch, it would be very helpful.
My current setup was a rich text box. I attempted two different methods, using the load file function that comes with the rich text box and also opening the file and reading it line by line (This would be beneficial because as it loads i can filter out lines i dont want)
So basically how do you: Have fast file access, search and delete fast in a text box, rich text box, etc. Do you use API? Assembly? Stop using Visual Basic .net?
My attempt at the basics of this, just loading a file takes a mere 10+ minutes. Or searching through a file erasing lines drags on for only god knows how long cuz i wasnt gonna wait for dat to finish.
So if anyone out there has even a shred, or a hint, or a direction at least for me to reasearch, it would be very helpful.
My current setup was a rich text box. I attempted two different methods, using the load file function that comes with the rich text box and also opening the file and reading it line by line (This would be beneficial because as it loads i can filter out lines i dont want)
So basically how do you: Have fast file access, search and delete fast in a text box, rich text box, etc. Do you use API? Assembly? Stop using Visual Basic .net?