Click here to Skip to main content
15,867,871 members
Home / Discussions / C#
   

C#

 
QuestionSearching randomly Pin
Rajdeep.NET is BACK8-May-09 8:39
Rajdeep.NET is BACK8-May-09 8:39 
AnswerRe: Searching randomly Pin
fly9048-May-09 9:02
fly9048-May-09 9:02 
GeneralRe: Searching randomly Pin
Luc Pattyn8-May-09 9:17
sitebuilderLuc Pattyn8-May-09 9:17 
GeneralRe: Searching randomly Pin
fly9048-May-09 9:23
fly9048-May-09 9:23 
GeneralRe: Searching randomly Pin
Luc Pattyn8-May-09 9:39
sitebuilderLuc Pattyn8-May-09 9:39 
GeneralRe: Searching randomly Pin
fly9048-May-09 9:53
fly9048-May-09 9:53 
GeneralRe: Searching randomly Pin
jas0n2310-May-09 8:25
jas0n2310-May-09 8:25 
AnswerRe: Searching randomly Pin
Dan Neely8-May-09 11:00
Dan Neely8-May-09 11:00 
//assumes the file definitely exists.  If it might not you'll need to add a counter and abort the search after X attempts, where X >> numValidPathChars^260 (260 = max normal path name)).
fileNotFound = true;
while (fileNotFound)
{
  pathToTest = GetRandomPath();
  fileNotFound = (FileIsInDirectory(pathToTest,fileName);
}


It is a truth universally acknowledged that a zombie in possession of brains must be in want of more brains.
-- Pride and Prejudice and Zombies

AnswerRe: Searching randomly Pin
terradtc8-May-09 11:38
terradtc8-May-09 11:38 
QuestionClickOnce Query String Problem Pin
mishigun8-May-09 7:49
mishigun8-May-09 7:49 
QuestionHow to parse JSON response string Pin
yogesh_softworld1238-May-09 6:04
yogesh_softworld1238-May-09 6:04 
AnswerRe: How to parse JSON response string Pin
Henry Minute8-May-09 7:33
Henry Minute8-May-09 7:33 
QuestionCSharp oleDB - INSERT INTO Pin
Idoshhh8-May-09 4:31
Idoshhh8-May-09 4:31 
AnswerRe: CSharp oleDB - INSERT INTO Pin
Luc Pattyn8-May-09 4:59
sitebuilderLuc Pattyn8-May-09 4:59 
GeneralRe: CSharp oleDB - INSERT INTO Pin
tom5720078-May-09 5:09
tom5720078-May-09 5:09 
GeneralRe: CSharp oleDB - INSERT INTO Pin
Idoshhh8-May-09 5:13
Idoshhh8-May-09 5:13 
GeneralRe: CSharp oleDB - INSERT INTO Pin
Luc Pattyn8-May-09 5:27
sitebuilderLuc Pattyn8-May-09 5:27 
GeneralRe: CSharp oleDB - INSERT INTO Pin
Idoshhh8-May-09 5:33
Idoshhh8-May-09 5:33 
GeneralRe: CSharp oleDB - INSERT INTO Pin
EliottA8-May-09 5:54
EliottA8-May-09 5:54 
Generalagain Pin
Luc Pattyn8-May-09 6:03
sitebuilderLuc Pattyn8-May-09 6:03 
GeneralRe: again Pin
Idoshhh8-May-09 20:40
Idoshhh8-May-09 20:40 
Questionservice applications Pin
saeidfarahi8-May-09 4:13
saeidfarahi8-May-09 4:13 
AnswerRe: service applications Pin
Simon P Stevens8-May-09 4:47
Simon P Stevens8-May-09 4:47 
GeneralRe: service applications Pin
saeidfarahi8-May-09 21:34
saeidfarahi8-May-09 21:34 
GeneralRe: service applications Pin
PIEBALDconsult9-May-09 4:30
mvePIEBALDconsult9-May-09 4:30 

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.