Click here to Skip to main content
15,891,184 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralMessage Closed Pin
4-May-09 2:32
vijay24824-May-09 2:32 
GeneralRe: Append ALL Textfiles within a folder to a Single Textfile Pin
riced4-May-09 3:10
riced4-May-09 3:10 
GeneralMessage Closed Pin
4-May-09 3:59
vijay24824-May-09 3:59 
GeneralRe: Append ALL Textfiles within a folder to a Single Textfile Pin
riced4-May-09 5:38
riced4-May-09 5:38 
GeneralRe: Append ALL Textfiles within a folder to a Single Textfile Pin
vijay24824-May-09 20:51
vijay24824-May-09 20:51 
GeneralRe: Append ALL Textfiles within a folder to a Single Textfile Pin
riced4-May-09 22:04
riced4-May-09 22:04 
GeneralRe: Append ALL Textfiles within a folder to a Single Textfile Pin
vijay24824-May-09 22:26
vijay24824-May-09 22:26 
GeneralRe: Append ALL Textfiles within a folder to a Single Textfile Pin
riced4-May-09 22:44
riced4-May-09 22:44 
This would get creation time for file
For Each fi As FileInfo In datFiles
   Dim created As DateTime = fi.CreationTime
   Using sa As StreamReader = New StreamReader(fi.FullName, System.Text.Encoding.Default)
      'read and write text
   End Using
Next

I don't know where you're calling GetCreationTime() but it looks like you are passing in the folder and not the files.

Regards
David R
---------------------------------------------------------------
"Every program eventually becomes rococo, and then rubble." - Alan Perlis

GeneralRe: Append ALL Textfiles within a folder to a Single Textfile Pin
vijay24824-May-09 22:56
vijay24824-May-09 22:56 
GeneralMessage Closed Pin
4-May-09 23:14
vijay24824-May-09 23:14 
GeneralRe: Append ALL Textfiles within a folder to a Single Textfile Pin
riced5-May-09 0:30
riced5-May-09 0:30 
GeneralMessage Closed Pin
5-May-09 1:45
vijay24825-May-09 1:45 
GeneralRe: Append ALL Textfiles within a folder to a Single Textfile Pin
riced5-May-09 2:30
riced5-May-09 2:30 
GeneralRe: Append ALL Textfiles within a folder to a Single Textfile Pin
riced5-May-09 1:18
riced5-May-09 1:18 
GeneralRe: Append ALL Textfiles within a folder to a Single Textfile Pin
vijay24825-May-09 1:59
vijay24825-May-09 1:59 
GeneralRe: Append ALL Textfiles within a folder to a Single Textfile Pin
riced5-May-09 2:12
riced5-May-09 2:12 
GeneralMessage Closed Pin
5-May-09 4:04
vijay24825-May-09 4:04 
GeneralRe: Append ALL Textfiles within a folder to a Single Textfile Pin
riced5-May-09 6:47
riced5-May-09 6:47 
GeneralRe: Append ALL Textfiles within a folder to a Single Textfile Pin
vijay24825-May-09 10:24
vijay24825-May-09 10:24 
GeneralRe: Append ALL Textfiles within a folder to a Single Textfile [modified] Pin
vijay24825-May-09 21:29
vijay24825-May-09 21:29 
GeneralRe: Append ALL Textfiles within a folder to a Single Textfile Pin
riced5-May-09 22:08
riced5-May-09 22:08 
GeneralRe: Append ALL Textfiles within a folder to a Single Textfile Pin
vijay24825-May-09 22:40
vijay24825-May-09 22:40 
GeneralRe: Append ALL Textfiles within a folder to a Single Textfile Pin
vijay24825-May-09 23:02
vijay24825-May-09 23:02 
GeneralRe: Append ALL Textfiles within a folder to a Single Textfile Pin
riced5-May-09 23:35
riced5-May-09 23:35 
GeneralRe: Append ALL Textfiles within a folder to a Single Textfile Pin
vijay24825-May-09 23:53
vijay24825-May-09 23:53 

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.