Click here to Skip to main content
11,805,035 members (62,817 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: VB VB.NET

I need a control which display all files in a control in my application.. so i want to know by which control i can view all files in a control ... thank in advance

[edit]SHOUTING removed - OriginalGriff[/edit]
Posted 6-Feb-13 22:11pm
Edited 6-Feb-13 22:19pm
OriginalGriff at 7-Feb-13 4:19am
DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously.
Rahul Dhoble at 7-Feb-13 4:21am
Agreed. I would have given 5+ vote if feature available
20061967 at 10-Feb-13 7:48am
What do you mean by all files in a control ?

Do you want to display files in a directory in a control inside ?
aspnet_regiis -i at 10-Feb-13 12:01pm
I need a credit card for which I will never be billed... ( Posting it here so that somebody may provide me a ready made solution..And I am too lazy to try it myself)

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Dear Mohammad,

This is not a question. If you want to list all files in a directory (say, you root at c: ), you could do something like this :
Dim di As New IO.DirectoryInfo("c:\")
   Dim diar1 As IO.FileInfo() = di.GetFiles()
   Dim dra As IO.FileInfo
  'list the names of all files in the specified directory
   For Each dra In diar1
As i'm a little lazy today, i googled this and found it in List Files in a Directory[^].

Take care,
Tadit Dash at 10-Feb-13 8:49am
Hi VitorHugoGarcia,

This is what Original Poster comments to you.

OP Comments moved from Answer box

hey u dont read my question .... read it carefully ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 315
1 CPallini 210
2 Richard Deeming 200
3 Sergey Alexandrovich Kryukov 168
4 CHill60 150
0 OriginalGriff 3,255
1 Maciej Los 1,990
2 KrunalRohit 1,907
3 CPallini 1,855
4 Richard MacCutchan 1,227

Advertise | Privacy | Mobile
Web03 | 2.8.151002.1 | Last Updated 10 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100