Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
I want to list .dll files in the directory (the directory still contains other files), how to do this? Thanks.
Posted
Updated 16-Feb-11 23:04pm
v2

Have a look at these:
Link 1[^]
Link 2[^]
Link 3[^]

If needed, look here[^] for more.
 
Share this answer
 
Comments
Andrewpeter 17-Feb-11 5:26am    
Thanks. Vote 5.
If you mean show a list of all dll files in a particular directory, then:
C#
C#
myTextBox.Lines = Directory.GetFiles(path, "*.dll");

VB
VB
myTextBox.Lines = Directory.GetFiles(path, "*.dll")

If you don't, then what do you mean?
 
Share this answer
 
v2
Comments
JF2015 17-Feb-11 5:17am    
Good answer to this very unclear question.
Andrewpeter 17-Feb-11 5:26am    
VB6 not use that code. However I thank you for your code.

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900