Guest greifedc Posted October 17, 2002 Posted October 17, 2002 Hello, I am a new user, Not just to .net but to development all together. I appriciate everyones patience eith my very beginer questions. I need to manipulate large (10m) text files. I have written some code to do this useing streamreader to load file contents into a listbox then manipulateing the text with the stringBuilder class. This is veeeery slow. reading and manipating takes way to long. Am I going about this all wrong? Quote
*Gurus* Derek Stone Posted October 17, 2002 *Gurus* Posted October 17, 2002 Showing us your code would help. Quote Posting Guidelines
Guest greifedc Posted October 17, 2002 Posted October 17, 2002 sorry, this might be easier to look at Quote
*Gurus* divil Posted October 17, 2002 *Gurus* Posted October 17, 2002 I don't have time to look at your code, but the listbox is almost certainly the biggest slowdown in your code. Why do you need it? Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Guest greifedc Posted October 17, 2002 Posted October 17, 2002 I need to be able to display the text for user verification and input. Should I not be useing listbox? Quote
*Gurus* divil Posted October 17, 2002 *Gurus* Posted October 17, 2002 TextBox would be more suited, surely? Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.