Solved

System.IO.Directory.GetFiles

Posted on 2004-09-08
5
1,270 Views
Last Modified: 2012-06-27
Can I get the files from the directory *.jpg and *.png with only one command

System.IO.Directory.GetFiles(directorName & "*.jpg *.png")

Please let me know earliest

Thanks
0
Comment
Question by:jra2002
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 4

Expert Comment

by:andrewpk
ID: 12011836
0
 

Author Comment

by:jra2002
ID: 12015519
Dear Andrew my problem is I have the string array of the files
If I don't keep the files in the string array then images are displayed in the picture box as distorted.

Being the file array of the string type I can't check the extension
0
 

Author Comment

by:jra2002
ID: 12017614
I fixed it
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 12203530
Question answered by asker or dialog valuable.
Closed, 20 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question