Advertisement

1 - 10 of 23 containing alltags:("fileinfo") (0 seconds)
I'm trying to copy a file from one location to another but it's giving me the error "The target directory already exists".  Here's the code I'm using         Dim strPath As String = txtFileName....
Zones: MS Visual BasicDate Answered: 06/03/2004 Grade: A Views: 0
Ok, I've been playing about with the directory structure to be used as links etc. Here is what I have at the moment.                   DirectoryInfo di = new DirectoryInfo("C:/Inetpub/wwwroot/Test");                   Fi...
Zones: ASP.Net ProgrammingDate Answered: 08/30/2004 Grade: B Views: 0
I'd like to add a Member to the FileInfo class, but FileInfo is sealed. I really don't know enough to write my own FileInfo-like class, what can I do?
Zones: C#Date Answered: 05/04/2004 Grade: A Views: 0
I am using fileinfo and direcctoryinfo to get files in a directory. is there a way in .net to get the names of the files in the directory sorted in ascending order or grouped by date last written. ...
Zones: .NETDate Answered: 06/22/2004 Grade: A Views: 12
Here is my code: _________________________________________________________________________________________     Private Sub frmSERVER_Load(ByVal sender As System.Object, ByVal e As System.EventArg...
Zones: MS Visual BasicDate Answered: 02/07/2005 Grade: A Views: 0
Hi I recently converted my application to VB.NET from VB6 and it had a good whinge at me to update my code n stuff and i got it all working except one thing i think, my old listbox code ignored ...
Zones: MS Visual BasicDate Answered: 07/18/2005 Grade: A Views: 0
Background I have developed a MSWord Add-in (C#) that adds some custom properties to word documents (E.g. MySuggestedBy). I want to search on these documents and the custom properties via Index ...
Zones: MS Visual C++Date Answered: 10/10/2005 Grade: B Views: 0
I am trying to use the fileinfo copyto method to copy a file from a mapped drive to the local machine, when i run it, it breaks with a file not found exception, if i just hit continue after it brea...
Zones: C#Date Answered: 06/19/2006 Grade: A Views: 0
hi everyone, Is there a class/namespace to read advanced information of an image file such as the "date picture taken"? If there is not then does anyone know a different way to retrive that inform...
Zones: C#Date Answered: 07/26/2006 Grade: A Views: 32
foreach( FileInfo fi in dirinfo.GetFiles())                         { //                              if (fi.LastWriteTime<=sysdt) //                              {             //                                    sysdt=fi.LastWriteTime; // //                              }                                                 if(fi.CreationTime>sysdt && (fi.Extension...
Zones: ProgrammingDate Answered: 12/15/2006 Grade: A Views: 0