Click here to Skip to main content
15,897,371 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Data Binding Pin
Dave Kreskowiak31-Oct-07 5:21
mveDave Kreskowiak31-Oct-07 5:21 
GeneralRe: Data Binding Pin
ejaz_pk31-Oct-07 21:08
ejaz_pk31-Oct-07 21:08 
GeneralRe: Data Binding Pin
John_Adams1-Nov-07 1:16
John_Adams1-Nov-07 1:16 
GeneralRe: Data Binding Pin
ejaz_pk1-Nov-07 2:05
ejaz_pk1-Nov-07 2:05 
QuestionHow to get newest file through VB Pin
Support12330-Oct-07 20:23
Support12330-Oct-07 20:23 
AnswerRe: How to get newest file through VB Pin
C1AllenS30-Oct-07 23:32
C1AllenS30-Oct-07 23:32 
GeneralRe: How to get newest file through VB Pin
Support12331-Oct-07 1:39
Support12331-Oct-07 1:39 
AnswerRe: How to get newest file through VB Pin
Aftab Sindhi31-Oct-07 7:35
Aftab Sindhi31-Oct-07 7:35 
Hi Support123,

If file is created sequentially,i.e. 02002 is created before 02003, then you can know newly created file by the CreationTime or CreationTimeUtc property of the FileInfo object. If you intend to know last updates file, you can use LastWriteTime or LastWriteTimeUtc properties of FileInfo object. Sort the file based on one of these properties in Descending order, top 1 file in the array (with index 0) will be the latest file.

I hope it'll give you the idea.

Regards

Aftab Sindhi
.NET Application Developer
QuestionAuto generate Uniqueidentifier / GUID in Select statement Pin
Aftab Sindhi30-Oct-07 20:01
Aftab Sindhi30-Oct-07 20:01 
AnswerRe: Auto generate Uniqueidentifier / GUID in Select statement Pin
fazeepk30-Oct-07 23:04
fazeepk30-Oct-07 23:04 
AnswerRe: Auto generate Uniqueidentifier / GUID in Select statement Pin
Dave Kreskowiak31-Oct-07 5:14
mveDave Kreskowiak31-Oct-07 5:14 
GeneralRe: Auto generate Uniqueidentifier / GUID in Select statement Pin
Aftab Sindhi31-Oct-07 7:21
Aftab Sindhi31-Oct-07 7:21 
GeneralRe: Auto generate Uniqueidentifier / GUID in Select statement Pin
Dave Kreskowiak31-Oct-07 9:42
mveDave Kreskowiak31-Oct-07 9:42 
Questionlist in report Pin
di3.ny2830-Oct-07 16:09
di3.ny2830-Oct-07 16:09 
AnswerRe: list in report Pin
svanwass31-Oct-07 5:32
svanwass31-Oct-07 5:32 
AnswerRe: list in report Pin
Dave Kreskowiak31-Oct-07 5:51
mveDave Kreskowiak31-Oct-07 5:51 
GeneralRe: list in report Pin
di3.ny2831-Oct-07 16:29
di3.ny2831-Oct-07 16:29 
Questionhelp programming button click event Pin
SilentCodingOne30-Oct-07 10:30
SilentCodingOne30-Oct-07 10:30 
AnswerRe: help programming button click event Pin
Christian Graus30-Oct-07 11:26
protectorChristian Graus30-Oct-07 11:26 
QuestionHow can I define table of an existed Excel file? Pin
ATC30-Oct-07 10:08
ATC30-Oct-07 10:08 
AnswerRe: How can I define table of an existed Excel file? Pin
pmarfleet30-Oct-07 12:45
pmarfleet30-Oct-07 12:45 
GeneralRe: How can I define table of an existed Excel file? Pin
ATC31-Oct-07 3:43
ATC31-Oct-07 3:43 
GeneralRe: How can I define table of an existed Excel file? Pin
pmarfleet31-Oct-07 3:48
pmarfleet31-Oct-07 3:48 
QuestionWrapper for VB6 error - "The system cannot find the file specified." Pin
Marcus J. Smith30-Oct-07 7:05
professionalMarcus J. Smith30-Oct-07 7:05 
GeneralRe: Wrapper for VB6 error - "The system cannot find the file specified." Pin
chrispo_m31-Oct-07 3:13
chrispo_m31-Oct-07 3:13 

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.