473,383 Members | 1,877 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Speed up loading .csv file on treeview

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
5 1930
Killer42
8,435 Expert 8TB
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
579 512MB
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
Killer42
8,435 Expert 8TB
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
579 512MB
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
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

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

Similar topics

6
by: J. Campbell | last post by:
Hi everyone. I'm sure that this is common knowledge for many/most here. However, it was rather illuminating for me (someone learning c++) and I thought it might be helpful for someone else. I'm...
0
by: Eric Promislow | last post by:
Has anyone else run into this? The problem is that I'm loading one schema at a time, to be displayed in a TreeView. Each node in the tree points to an item in the schema via the Tag property. ...
3
by: Tim Chase | last post by:
I have found that EnumWindows works very quickly. In DotNet (I use C#), I can enumerate the windows, narrow them down to just the windows which are the main windows (i.e., windows which you can...
1
by: SeVeN | last post by:
Hello All, I am having a problem loading nodes and child nodes into a treeview from an access database. My Db fields are as follows : ID NodeName ParentID
2
by: jphelan | last post by:
Ever since I successfully applied some techniques for increasing the speed of my 17 meg. Application; it has only made me hunger for more. First, let me list what I have done so far: 1. Split...
5
by: marfi95 | last post by:
I have a form that has a left and right panel. In the left panel is a treeview. The right panel I want to change dynamically based on the type of node selected. What I'm doing is loading the...
1
by: icfai | last post by:
hi friends.... I have got a problem regarding loading of multiple assemblies, actually its required for an editor which implements the intellisenseas in vb or dotnet. for that it is required to...
6
by: A.Weinman | last post by:
Hello all, I have an application that has multiple forms, only 3 of which matter for this issue. There is a main form that starts invisible and does nothing more than start other forms and link...
1
by: =?iso-8859-1?B?S2VyZW0gR/xtcvxrY/w=?= | last post by:
Hi, i am looking for a way to clear and fill a listview and right after a treeview nearly flicker and delay free. The TreeView and Listview contain Images and about 1000 Items. What can someone...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.