Click here to Skip to main content
15,881,882 members
Home / Discussions / C#
   

C#

 
Answerrepost - ignore Pin
J4amieC1-Mar-09 23:22
J4amieC1-Mar-09 23:22 
Questionhow to add the subtitles in video Pin
Abhishek Rana1-Mar-09 23:02
Abhishek Rana1-Mar-09 23:02 
AnswerRe: how to add the subtitles in video Pin
Eddy Vluggen2-Mar-09 0:02
professionalEddy Vluggen2-Mar-09 0:02 
QuestionFind a file path with seatching it name Pin
abbd1-Mar-09 22:49
abbd1-Mar-09 22:49 
AnswerRe: Find a file path with seatching it name Pin
Calin Tatar1-Mar-09 22:52
Calin Tatar1-Mar-09 22:52 
QuestionRe: Find a file path with seatching it name Pin
abbd1-Mar-09 23:02
abbd1-Mar-09 23:02 
AnswerRe: Find a file path with seatching it name Pin
Alan N2-Mar-09 0:40
Alan N2-Mar-09 0:40 
AnswerRe: Find a file path with seatching it name [modified] Pin
Luc Pattyn2-Mar-09 3:35
sitebuilderLuc Pattyn2-Mar-09 3:35 
Hi,

as usual it helps to read the documentation: there is an overload of GetFileSystemEntries that accepts a filter, where you can specify part of the filename, as if you were searching in Windows Explorer.

Hence try Directory.GetFileSystemEntries(@"C:\", "doc*.pdf")


BTW: files.GetUpperBound(0) + 1 is terrible, just use files.Length

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles]

- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


modified on Sunday, June 12, 2011 9:02 AM

QuestionHow to create a Word Template folder Pin
Tejabhiram1-Mar-09 22:45
Tejabhiram1-Mar-09 22:45 
QuestionTo load gridview when scrolling. [modified] Pin
Elango N1-Mar-09 22:35
Elango N1-Mar-09 22:35 
AnswerRe: To load gridview when scrolling. [modified] Pin
Calin Tatar1-Mar-09 22:40
Calin Tatar1-Mar-09 22:40 
QuestionHow to insert a website address to the message box Message Pin
wasimsharp1-Mar-09 22:17
wasimsharp1-Mar-09 22:17 
AnswerRe: How to insert a website address to the message box Message Pin
Greg Chelstowski1-Mar-09 22:29
Greg Chelstowski1-Mar-09 22:29 
GeneralRe: How to insert a website address to the message box Message Pin
wasimsharp1-Mar-09 23:31
wasimsharp1-Mar-09 23:31 
Questionabout the water mark on video file Pin
Abhishek Rana1-Mar-09 22:03
Abhishek Rana1-Mar-09 22:03 
AnswerRe: about the water mark on video file Pin
Eddy Vluggen1-Mar-09 22:20
professionalEddy Vluggen1-Mar-09 22:20 
QuestionForeign Key Pin
Zeyad Jalil1-Mar-09 21:41
professionalZeyad Jalil1-Mar-09 21:41 
AnswerRe: Foreign Key Pin
Christian Graus1-Mar-09 21:48
protectorChristian Graus1-Mar-09 21:48 
GeneralRe: Foreign Key Pin
Zeyad Jalil1-Mar-09 21:53
professionalZeyad Jalil1-Mar-09 21:53 
AnswerRe: Foreign Key Pin
Greg Chelstowski1-Mar-09 22:09
Greg Chelstowski1-Mar-09 22:09 
QuestionColor settings in Directx.Capture Pin
anki1231-Mar-09 21:39
anki1231-Mar-09 21:39 
AnswerRe: Color settings in Directx.Capture Pin
Christian Graus1-Mar-09 21:40
protectorChristian Graus1-Mar-09 21:40 
GeneralRe: Color settings in Directx.Capture Pin
anki1231-Mar-09 22:00
anki1231-Mar-09 22:00 
QuestionClient Server Communication Pin
mrithula81-Mar-09 21:26
mrithula81-Mar-09 21:26 
QuestionExtracting text from an iamge....... Pin
meenatiruppathi1-Mar-09 20:39
meenatiruppathi1-Mar-09 20: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.