Click here to Skip to main content
15,911,646 members
Home / Discussions / C#
   

C#

 
Questionfile list Pin
kennyhibs12-Sep-09 11:32
kennyhibs12-Sep-09 11:32 
AnswerRe: file list Pin
Luc Pattyn12-Sep-09 12:35
sitebuilderLuc Pattyn12-Sep-09 12:35 
GeneralRe: file list Pin
kennyhibs12-Sep-09 12:55
kennyhibs12-Sep-09 12:55 
GeneralRe: file list Pin
PIEBALDconsult12-Sep-09 12:58
mvePIEBALDconsult12-Sep-09 12:58 
GeneralRe: file list Pin
kennyhibs12-Sep-09 13:14
kennyhibs12-Sep-09 13:14 
GeneralRe: file list Pin
Dave Kreskowiak12-Sep-09 15:05
mveDave Kreskowiak12-Sep-09 15:05 
GeneralRe: file list Pin
Luc Pattyn12-Sep-09 13:39
sitebuilderLuc Pattyn12-Sep-09 13:39 
AnswerRe: file list Pin
Abhishek Sur12-Sep-09 12:46
professionalAbhishek Sur12-Sep-09 12:46 
use
string[] files = Directory.GetFiles("path", "*.avi");


Path represents the path of the directory, in your case its C:\video
Thumbs Up | :thumbsup:

Abhishek Sur

My Latest Articles
Create CLR objects in SQL Server 2005
C# Uncommon Keywords
Read/Write Excel using OleDB

Don't forget to click "Good Answer" if you like to.

GeneralRe: file list Pin
kennyhibs12-Sep-09 13:40
kennyhibs12-Sep-09 13:40 
GeneralRe: file list Pin
Luc Pattyn12-Sep-09 13:49
sitebuilderLuc Pattyn12-Sep-09 13:49 
GeneralRe: file list Pin
kennyhibs12-Sep-09 14:06
kennyhibs12-Sep-09 14:06 
GeneralRe: file list Pin
Luc Pattyn12-Sep-09 15:23
sitebuilderLuc Pattyn12-Sep-09 15:23 
AnswerRe: file list Pin
April Fans22-Sep-09 17:32
April Fans22-Sep-09 17:32 
Questioncall second constructor Pin
raquidd2212-Sep-09 11:17
raquidd2212-Sep-09 11:17 
AnswerRe: call second constructor Pin
Abhishek Sur12-Sep-09 11:25
professionalAbhishek Sur12-Sep-09 11:25 
GeneralRe: call second constructor Pin
raquidd2214-Sep-09 5:26
raquidd2214-Sep-09 5:26 
QuestionAssign menu shortcut keys without key combinations? Pin
Gary Oakes12-Sep-09 11:10
Gary Oakes12-Sep-09 11:10 
AnswerRe: Assign menu shortcut keys without key combinations? Pin
April Fans22-Sep-09 19:13
April Fans22-Sep-09 19:13 
Questionbutton with an X at the upper-right corner of the form, how to catch this event @ C# Pin
igalep13212-Sep-09 10:59
igalep13212-Sep-09 10:59 
AnswerRe: button with an X at the upper-right corner of the form, how to catch this event @ C# Pin
Abhishek Sur12-Sep-09 11:28
professionalAbhishek Sur12-Sep-09 11:28 
GeneralRe: button with an X at the upper-right corner of the form, how to catch this event @ C# Pin
igalep13212-Sep-09 11:46
igalep13212-Sep-09 11:46 
AnswerRe: button with an X at the upper-right corner of the form, how to catch this event @ C# Pin
Luc Pattyn12-Sep-09 12:38
sitebuilderLuc Pattyn12-Sep-09 12:38 
GeneralRe: button with an X at the upper-right corner of the form, how to catch this event @ C# Pin
igalep13212-Sep-09 16:58
igalep13212-Sep-09 16:58 
QuestionSending an image file via email Pin
Etienne_12312-Sep-09 10:02
Etienne_12312-Sep-09 10:02 
GeneralRe: Sending an image file via email Pin
Jayapal Chandran12-Sep-09 10:39
Jayapal Chandran12-Sep-09 10:39 

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.