By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,101 Members | 1,359 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,101 IT Pros & Developers. It's quick & easy.

Speed up loading .csv file on treeview

P: 1
Hi All,

This situation is a Treeview where you locate the folder consist of .csv files.

As the file size of .csv increased, the loading speed of .csv file tend to get slower and slower. It occupied more than 15minutes to load the .csv file in the viewer.

Is there any way to make it faster?

Thanks.
Mar 28 '07 #1
Share this Question
Share on Google+
5 Replies


Expert 5K+
P: 8,434
Hi All,

This situation is a Treeview where you locate the folder consist of .csv files.

As the file size of .csv increased, the loading speed of .csv file tend to get slower and slower. It occupied more than 15minutes to load the .csv file in the viewer.

Is there any way to make it faster?
Can you please explain a little more? Are you saying that the contens of a CSV file are being loaded into the TreeView? Or is the TreeView showing a directory structure which is used to locate the file? :confused:

Also, what version of VB are you using?
Mar 29 '07 #2

vijaydiwakar
100+
P: 579
Hi All,

This situation is a Treeview where you locate the folder consist of .csv files.

As the file size of .csv increased, the loading speed of .csv file tend to get slower and slower. It occupied more than 15minutes to load the .csv file in the viewer.

Is there any way to make it faster?

Thanks.
pls explain in detail
try to use doevents
Mar 29 '07 #3

Expert 5K+
P: 8,434
pls explain in detail
try to use doevents
I'd just like to point out that DoEvent may be useful in many situations, but it will rarely if ever make things faster. More likely slower, in fact.
Mar 29 '07 #4

vijaydiwakar
100+
P: 579
I'd just like to point out that DoEvent may be useful in many situations, but it will rarely if ever make things faster. More likely slower, in fact.
The main theame is to provide Processor some time to complete it processing
Mar 29 '07 #5

P: 27
did you say you load the content of the csv to treeview.. if this is the situation.. ofcourse it would take more time to load a 2 mb of csv than 5 kb of csv content..

but if you are refering to a directory structure...then loading of file structure into the treeview depends on the number of files located on the specified directory.
Apr 6 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.