Click here to Skip to main content
16,007,277 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionZip UnZip And DLL's Pin
TheChaosLord.UK15-Nov-06 6:27
TheChaosLord.UK15-Nov-06 6:27 
AnswerRe: Zip UnZip And DLL's Pin
nlarson1115-Nov-06 6:38
nlarson1115-Nov-06 6:38 
QuestionGetFiles() method altering LastAccessedDate???? Pin
GaryT8015-Nov-06 6:25
GaryT8015-Nov-06 6:25 
AnswerRe: GetFiles() method altering LastAccessedDate???? Pin
Guffa15-Nov-06 6:33
Guffa15-Nov-06 6:33 
GeneralRe: GetFiles() method altering LastAccessedDate???? Pin
GaryT8015-Nov-06 6:42
GaryT8015-Nov-06 6:42 
GeneralRe: GetFiles() method altering LastAccessedDate???? Pin
GaryT8015-Nov-06 6:59
GaryT8015-Nov-06 6:59 
GeneralRe: GetFiles() method altering LastAccessedDate???? Pin
Guffa15-Nov-06 8:40
Guffa15-Nov-06 8:40 
GeneralRe: GetFiles() method altering LastAccessedDate???? Pin
GaryT8015-Nov-06 8:47
GaryT8015-Nov-06 8:47 
I am using a proprietary assembly to extract all metadata and properties from files. I know this is not the culprit in the situation. the code I am using to process a directory is as follows:

Public Function ProcessDirectory(ByVal targetDirectory As String) As String()
    Static tcnt As Integer
    Static tfiles As String()
    Static cnt As Integer = 0

    Dim fileEntries As String() = Directory.GetFiles(targetDirectory)
    ' Process the list of files found in the directory.
    Dim fileName As String
    For Each fileName In fileEntries
        ReDim Preserve tfiles(tcnt)
        tfiles(tcnt) = fileName
        tcnt = tcnt + 1

    Next fileName
    Dim subdirectoryEntries As String() = Directory.GetDirectories(targetDirectory)
    ' Recurse into subdirectories of this directory.
    Dim subdirectory As String
    For Each subdirectory In subdirectoryEntries
        ProcessDirectory(subdirectory)
    Next subdirectory
    Return tfiles
End Function


Maybe you all can see something that I am not.

GT
AnswerRe: GetFiles() method altering LastAccessedDate???? Pin
Dave Kreskowiak15-Nov-06 7:27
mveDave Kreskowiak15-Nov-06 7:27 
Questionplaying card class Pin
willcocksyido15-Nov-06 5:59
willcocksyido15-Nov-06 5:59 
AnswerRe: playing card class Pin
Guffa15-Nov-06 7:06
Guffa15-Nov-06 7:06 
QuestionVB6.FixedLengthString(#) - Alternate Pin
nlindley715-Nov-06 5:11
nlindley715-Nov-06 5:11 
AnswerRe: VB6.FixedLengthString(#) - Alternate Pin
nlarson1115-Nov-06 5:17
nlarson1115-Nov-06 5:17 
GeneralRe: VB6.FixedLengthString(#) - Alternate Pin
nlindley715-Nov-06 5:39
nlindley715-Nov-06 5:39 
QuestionAnyway to set picturebox control to always be center screen??? Pin
Joey Picerno15-Nov-06 5:07
Joey Picerno15-Nov-06 5:07 
AnswerRe: Anyway to set picturebox control to always be center screen??? Pin
nlarson1115-Nov-06 5:21
nlarson1115-Nov-06 5:21 
AnswerRe: Anyway to set picturebox control to always be center screen??? Pin
Johan Hakkesteegt16-Nov-06 8:15
Johan Hakkesteegt16-Nov-06 8:15 
QuestionHow to cancel printing using commondialog ctrl Pin
MyFathersSon15-Nov-06 4:57
MyFathersSon15-Nov-06 4:57 
Questioncheck existence Pin
jds120715-Nov-06 4:01
jds120715-Nov-06 4:01 
AnswerRe: check existence Pin
nlarson1115-Nov-06 4:18
nlarson1115-Nov-06 4:18 
GeneralRe: check existence Pin
jds120715-Nov-06 8:39
jds120715-Nov-06 8:39 
GeneralRe: check existence Pin
Johan Hakkesteegt19-Nov-06 22:42
Johan Hakkesteegt19-Nov-06 22:42 
QuestionSet orientation property in a Spreadsheet control using Office Web Components and VB.NET Pin
DoubleZ15-Nov-06 3:28
DoubleZ15-Nov-06 3:28 
QuestionExecute Command Line Switches of Microsoft Access Pin
Sunil Lanke15-Nov-06 2:09
Sunil Lanke15-Nov-06 2:09 
AnswerRe: Execute Command Line Switches of Microsoft Access Pin
Dave Kreskowiak15-Nov-06 4:44
mveDave Kreskowiak15-Nov-06 4:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.