• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1281
  • Last Modified:

System.IO.Directory.GetFiles

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
jra2002
Asked:
jra2002
  • 2
1 Solution
 
andrewpkCommented:
0
 
jra2002Author Commented:
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
 
jra2002Author Commented:
I fixed it
0
 
ee_ai_constructCommented:
Question answered by asker or dialog valuable.
Closed, 20 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now