by: Pluto |
last post by:
Hi,
I want to get a list of files matching certain extensions, such as
"*.jpg;*.gif" (i.e. all files ending with .jpg and .gif).
I was using DirectoryInfo.GetFiles(string) method....
|
by: Juan Manuel Ramollino |
last post by:
Greetings everyone!
I am creating a webcontrol that reads one or more directorie's content and
displays all the filenames (tipically PDFs or PPTs) so that the user can
select the desired one and...
|
by: xenophon |
last post by:
This following innocuous code:
System.IO.DirectoryInfo fff = new System.IO.DirectoryInfo();
System.IO.FileInfo ppp = fff.GetFiles( Request.MapPath(".") );
for( int ccc=0 ; ccc < ppp.Length ;...
|
by: Jessard |
last post by:
Hi all,
I'm using a System.IO.DirectoryInfo object as follows:
Public Function FolderExists(ByVal FolderPath As String) As Boolean
Dim f As New IO.DirectoryInfo(FolderPath)
Return f.Exists...
|
by: rn5a |
last post by:
Suppose I have the following code:
<script runat="server">
Sub Page_Load(.....)
Dim dInfo As DirectoryInfo
Dim fsi As FileSystemInfo
dInfo = New DirectoryInfo(Server.MapPath("Folder1"))
...
|
by: =?Utf-8?B?RGFuaWVsIENvcnLDqmE=?= |
last post by:
Hi,
I've been trying to use Directory.GetFiles() and also
DirectoryInfo.GetFiles() to list files on a remote server using
"\\server_name\dir_name" like paths. It works fine on a test windows...
|
by: Steve Kershaw |
last post by:
Hi,
I need a way to bind a DirectoryInfo array to a GridView without any
errors.
The code I'm using to create the DirectoryInfo array is:
// Define the current directory
DirectoryInfo dir...
|
by: Piotrekk |
last post by:
Hi
I have a problem connected with DirectoryInfo class. My paths contain
polish characters not present in english alphabet. Problem is that
DirectoryInfo class displays them in a very bad way. I...
|
by: Tom P. |
last post by:
I am having the following problem: I create a FileSystemWatcher and
wait for events. When the event does happen I refresh a
FileSystemInfo list and set properties accordingly (IsFile, IsDir,...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|