Click here to Skip to main content
15,898,222 members
Home / Discussions / C#
   

C#

 
GeneralRe: Stack OverFlow Exception in C# Pin
meeram39525-Jun-07 19:53
meeram39525-Jun-07 19:53 
AnswerRe: Stack OverFlow Exception in C# Pin
Guffa25-Jun-07 6:11
Guffa25-Jun-07 6:11 
GeneralRe: Stack OverFlow Exception in C# [modified] Pin
meeram39525-Jun-07 19:39
meeram39525-Jun-07 19:39 
AnswerRe: Stack OverFlow Exception in C# Pin
Luc Pattyn25-Jun-07 10:27
sitebuilderLuc Pattyn25-Jun-07 10:27 
QuestionDo post your Articles here Pin
MussaratAziz25-Jun-07 4:23
MussaratAziz25-Jun-07 4:23 
AnswerRe: Do post your Articles here Pin
Dave Kreskowiak25-Jun-07 4:36
mveDave Kreskowiak25-Jun-07 4:36 
GeneralRe: Do post your Articles here Pin
mav.northwind25-Jun-07 18:57
mav.northwind25-Jun-07 18:57 
GeneralRe: Do post your Articles here Pin
Dave Kreskowiak26-Jun-07 2:45
mveDave Kreskowiak26-Jun-07 2:45 
QuestionAccessing the default application folder Pin
Richard W Allen25-Jun-07 3:35
Richard W Allen25-Jun-07 3:35 
AnswerRe: Accessing the default application folder Pin
Colin Angus Mackay25-Jun-07 3:37
Colin Angus Mackay25-Jun-07 3:37 
AnswerRe: Accessing the default application folder Pin
Tarakeshwar Reddy25-Jun-07 3:41
professionalTarakeshwar Reddy25-Jun-07 3:41 
AnswerRe: Accessing the default application folder Pin
Chintan.Desai25-Jun-07 3:47
Chintan.Desai25-Jun-07 3:47 
GeneralRe: Accessing the default application folder Pin
Ed.Poore25-Jun-07 6:48
Ed.Poore25-Jun-07 6:48 
AnswerRe: Accessing the default application folder Pin
Martin#25-Jun-07 3:59
Martin#25-Jun-07 3:59 
AnswerRe: Accessing the default application folder Pin
Dave Kreskowiak25-Jun-07 4:35
mveDave Kreskowiak25-Jun-07 4:35 
GeneralRe: Accessing the default application folder Pin
led mike25-Jun-07 4:44
led mike25-Jun-07 4:44 
GeneralRe: Accessing the default application folder Pin
Dave Kreskowiak25-Jun-07 5:05
mveDave Kreskowiak25-Jun-07 5:05 
QuestionEfficient way to check if web resource/file exists? Pin
Dominic Pettifer25-Jun-07 2:43
Dominic Pettifer25-Jun-07 2:43 
AnswerRe: Efficient way to check if web resource/file exists? [modified] Pin
I.explore.code25-Jun-07 3:25
I.explore.code25-Jun-07 3:25 
GeneralRe: Efficient way to check if web resource/file exists? Pin
User 665825-Jun-07 3:28
User 665825-Jun-07 3:28 
AnswerRe: Efficient way to check if web resource/file exists? Pin
I.explore.code25-Jun-07 19:49
I.explore.code25-Jun-07 19:49 
Your question is very vague..why do you need to write the code to check for file existence on some other web server ? Its a built in thing, if u request for a non-existent page, the logic on that server will automatically handle the request and show you an error page. However, if u wanna do this for your own server you can, using the below given code.

if (File.Exists(Server.MapPath("web.gif")))
{
Response.Write("File Exists");
}
else
{
Response.Redirect("FileNotFound.htm");
}

This code will map the virtual path of your server so if some client browser requests for a file that does not exist on your web server, he will get an error page other wise the page will load, now it depends on you how you customize the application for your clients.
GeneralRe: Efficient way to check if web resource/file exists? Pin
Dominic Pettifer25-Jun-07 22:03
Dominic Pettifer25-Jun-07 22:03 
Questiondatagrid with row header Pin
Sunshine Always25-Jun-07 2:37
Sunshine Always25-Jun-07 2:37 
QuestionParsing a log file using regular expressions Pin
salon25-Jun-07 2:26
salon25-Jun-07 2:26 
AnswerRe: Parsing a log file using regular expressions Pin
User 665825-Jun-07 3:44
User 665825-Jun-07 3:44 

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.