Solved

System.IO.Directory.GetFiles

Posted on 2004-09-08
5
1,265 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
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.Net - KeyPress Event 4 38
Complex SQL statement in VB.NET 7 31
Groupbox Control ? 2 19
VB.net Code to make a TaskPane float in Excel Add-in 2 10
This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

831 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