Click here to Skip to main content
15,902,862 members
Home / Discussions / C#
   

C#

 
AnswerRe: Drag and drop to mouse point location Pin
Henry Minute2-Mar-09 10:51
Henry Minute2-Mar-09 10:51 
GeneralRe: Drag and drop to mouse point location Pin
Low Pei Yang2-Mar-09 16:13
Low Pei Yang2-Mar-09 16:13 
QuestionIComparer problem Pin
livez1-Mar-09 23:22
livez1-Mar-09 23:22 
AnswerRe: IComparer problem Pin
CPallini1-Mar-09 23:42
mveCPallini1-Mar-09 23:42 
AnswerRe: IComparer problem Pin
DaveyM691-Mar-09 23:47
professionalDaveyM691-Mar-09 23:47 
AnswerRe: IComparer problem PinPopular
J4amieC2-Mar-09 0:13
J4amieC2-Mar-09 0:13 
GeneralRe: IComparer problem Pin
livez2-Mar-09 0:37
livez2-Mar-09 0:37 
AnswerRe: IComparer problem Pin
Luc Pattyn2-Mar-09 3:28
sitebuilderLuc Pattyn2-Mar-09 3:28 
QuestionC# Code Pin
Zeyad Jalil1-Mar-09 23:03
professionalZeyad Jalil1-Mar-09 23:03 
Answerrepost - Ignore Pin
J4amieC1-Mar-09 23:21
J4amieC1-Mar-09 23:21 
Questionexceptions Pin
aratireddy1-Mar-09 23:02
aratireddy1-Mar-09 23:02 
AnswerRe: exceptions Pin
Calin Tatar1-Mar-09 23:15
Calin Tatar1-Mar-09 23:15 
AnswerRe: exceptions Pin
N a v a n e e t h1-Mar-09 23:16
N a v a n e e t h1-Mar-09 23:16 
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 
Hello,
i use this to get all files in directories :

<br />
string[] files = Directory.GetFileSystemEntries(@"C:\");<br />
            int filecount = files.GetUpperBound(0) + 1;<br />
            if (filecount != 0)<br />
            {<br />
                DirectoryInfo di = new DirectoryInfo(@"C:\");<br />
<br />
                foreach (FileInfo file in di.GetFiles())<br />
                {<br />
                    DateTime Now = DateTime.Now;<br />
                    string name = file.Name;//name of file, i.e. doc.txt<br />
                    string fullName = file.FullName;//file path of the file <br />
}<br />


i would get not all files, but a file with a specific name lake doc1.pdf, thank you verry mutch.
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 
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 

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.