Hi,
I'm developing smart device applications by using CF 1.0 on VS 2003. I need your help. I've created one application for listing files in the ListView control. The problem is "Application is very slow or listed very slow when i list all files of given path to ListView control, it takes more than 5 minutes". for example i want to list files of \Windows folder. Actually that folder contains 1140 files. The code for listing files as below:
Dim objDI As New DirectoryInfo("\Windows") Dim objLVI As ListViewItem For Each fi As FileInfo In objDI.GetFilesobjLVI =
New ListViewItemobjLVI.ImageIndex = 1
objLVI.Text = fi.Name
'objLVI.SubItems.Add(ConvertSize(fi.Length))ListView1.Items.Add(objLVI)
NextNote: But the Device's File Explorer is listed files (\windows) quickly.
Please send your suggestion or solutions.

Application is Very Slow....
Tejas34
In my test it takes about ~10 seconds on emulator on my 4 years old home PC. I'm using your code with addition of this couple around the loop:
Me.ListView1.BeginUpdate()
Me.ListView1.EndUpdate()
GP-BLR
Thanx.
It works well.