Click here to Skip to main content
15,886,755 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# program to share screen using RDPCOMAPILIB.dll Pin
Bernhard Hiller21-Jan-11 3:43
Bernhard Hiller21-Jan-11 3:43 
AnswerRe: C# program to share screen using RDPCOMAPILIB.dll Pin
Nexuscan19-Jul-11 16:39
Nexuscan19-Jul-11 16:39 
Questionneed help in Basic Network programming in c# Pin
akosidandan20-Jan-11 17:16
akosidandan20-Jan-11 17:16 
AnswerRe: need help in Basic Network programming in c# Pin
Praveen Raghuvanshi20-Jan-11 18:36
professionalPraveen Raghuvanshi20-Jan-11 18:36 
QuestionHelp with file search Pin
turbosupramk320-Jan-11 11:56
turbosupramk320-Jan-11 11:56 
AnswerRe: Help with file search PinPopular
Luc Pattyn20-Jan-11 12:38
sitebuilderLuc Pattyn20-Jan-11 12:38 
GeneralRe: Help with file search Pin
turbosupramk320-Jan-11 13:12
turbosupramk320-Jan-11 13:12 
AnswerRe: Help with file search Pin
Luc Pattyn20-Jan-11 13:36
sitebuilderLuc Pattyn20-Jan-11 13:36 
Without .NET 4.0 you have two choices:
1. use Directory.GetFiles()
2. use Win32 functions (GetFirstFile, GetNextFile) through P/Invoke.

I would opt for 1 until proven too inefficient.

There is actually a third way: assuming all filenames start with a letter and all letters have comparable probability, use a loop and the filtered version of GetFiles, i.e. first get all names matching a*, then b*, etc; that way you never have all of them at once.

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

GeneralRe: Help with file search Pin
musefan21-Jan-11 0:55
musefan21-Jan-11 0:55 
AnswerRe: Help with file search Pin
Not Active20-Jan-11 12:54
mentorNot Active20-Jan-11 12:54 
GeneralRe: Help with file search Pin
turbosupramk320-Jan-11 13:12
turbosupramk320-Jan-11 13:12 
GeneralRe: Help with file search Pin
Not Active20-Jan-11 13:23
mentorNot Active20-Jan-11 13:23 
GeneralRe: Help with file search Pin
turbosupramk320-Jan-11 13:49
turbosupramk320-Jan-11 13:49 
AnswerRe: Help with file search Pin
Yusuf20-Jan-11 16:09
Yusuf20-Jan-11 16:09 
QuestionNodes, Script interface/ API and Undo Pin
adamvanner20-Jan-11 8:47
adamvanner20-Jan-11 8:47 
AnswerRe: Nodes, Script interface/ API and Undo Pin
SledgeHammer0120-Jan-11 9:51
SledgeHammer0120-Jan-11 9:51 
GeneralRe: Nodes, Script interface/ API and Undo Pin
adamvanner20-Jan-11 22:43
adamvanner20-Jan-11 22:43 
QuestionAccessing variables during AppDomain.ProcessExit Pin
thatdiceygirl20-Jan-11 5:16
thatdiceygirl20-Jan-11 5:16 
AnswerRe: Accessing variables during AppDomain.ProcessExit Pin
Luc Pattyn20-Jan-11 5:46
sitebuilderLuc Pattyn20-Jan-11 5:46 
GeneralRe: Accessing variables during AppDomain.ProcessExit Pin
thatdiceygirl20-Jan-11 5:56
thatdiceygirl20-Jan-11 5:56 
AnswerRe: Accessing variables during AppDomain.ProcessExit Pin
Luc Pattyn20-Jan-11 6:05
sitebuilderLuc Pattyn20-Jan-11 6:05 
GeneralRe: Accessing variables during AppDomain.ProcessExit Pin
thatdiceygirl20-Jan-11 6:27
thatdiceygirl20-Jan-11 6:27 
AnswerRe: Accessing variables during AppDomain.ProcessExit Pin
Luc Pattyn20-Jan-11 6:37
sitebuilderLuc Pattyn20-Jan-11 6:37 
QuestionDatabase back up from asp.net Pin
yesu prakash20-Jan-11 1:02
yesu prakash20-Jan-11 1:02 
AnswerRe: Database back up from asp.net Pin
Richard MacCutchan20-Jan-11 1:54
mveRichard MacCutchan20-Jan-11 1:54 

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.