Click here to Skip to main content
15,900,725 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regex to retrieve phone numbers Pin
Hiren solanki11-May-11 1:44
Hiren solanki11-May-11 1:44 
GeneralRe: Regex to retrieve phone numbers Pin
Etienne_12311-May-11 1:51
Etienne_12311-May-11 1:51 
GeneralRe: Regex to retrieve phone numbers Pin
Hiren solanki11-May-11 1:53
Hiren solanki11-May-11 1:53 
AnswerRe: Regex to retrieve phone numbers Pin
PIEBALDconsult11-May-11 2:40
mvePIEBALDconsult11-May-11 2:40 
QuestionCan't apply Contrast of Image Pin
Anubhava Dimri11-May-11 0:04
Anubhava Dimri11-May-11 0:04 
AnswerRe: Can't apply Contrast of Image Pin
Luc Pattyn11-May-11 0:21
sitebuilderLuc Pattyn11-May-11 0:21 
GeneralRe: Can't apply Contrast of Image Pin
Anubhava Dimri11-May-11 0:35
Anubhava Dimri11-May-11 0:35 
GeneralRe: Can't apply Contrast of Image Pin
Luc Pattyn11-May-11 0:46
sitebuilderLuc Pattyn11-May-11 0:46 
GeneralRe: Can't apply Contrast of Image [modified] Pin
Anubhava Dimri11-May-11 1:00
Anubhava Dimri11-May-11 1:00 
GeneralRe: Can't apply Contrast of Image Pin
Richard MacCutchan11-May-11 2:45
mveRichard MacCutchan11-May-11 2:45 
QuestionRe: Can't apply Contrast of Image Pin
Mark Salsbery11-May-11 5:41
Mark Salsbery11-May-11 5:41 
AnswerRe: Can't apply Contrast of Image Pin
Anubhava Dimri11-May-11 18:19
Anubhava Dimri11-May-11 18:19 
GeneralRe: Can't apply Contrast of Image Pin
Mark Salsbery11-May-11 18:56
Mark Salsbery11-May-11 18:56 
AnswerRe: Can't apply Contrast of Image Pin
_Erik_11-May-11 5:46
_Erik_11-May-11 5:46 
GeneralRe: Can't apply Contrast of Image Pin
Mark Salsbery11-May-11 6:26
Mark Salsbery11-May-11 6:26 
GeneralRe: Can't apply Contrast of Image Pin
_Erik_12-May-11 4:35
_Erik_12-May-11 4:35 
QuestionHow to get the physical path of a virtual directory? Pin
PravinSingh10-May-11 20:26
PravinSingh10-May-11 20:26 
AnswerRe: How to get the physical path of a virtual directory? Pin
Luc Pattyn11-May-11 0:29
sitebuilderLuc Pattyn11-May-11 0:29 
I don't think you can, and this is why: your local web server somehow knows where the root of the local web is, it is like an application setting to it. Example: I am using XAMPP (=Apache) to serve a local PHP-based web site, it holds its root location deep inside a configuration file called "httpd.conf"; I am also using another web server serving an ASP.NET-based web site, it uses a different web root, stored in a different way. How could an application external to all these web servers know where to look for your web root(s)?

Maybe this would work for you: organize an application setting "webroot" for your WinForm, initially "webroot" is empty. Have your app obtain its "webroot" from its setting, when getting a value, just use it; when getting no value, ask the user to locate the web root, and update the setting. That is harassing the user only once (and causing a major problem when you decide to move the web root, unless you also provide a button "Update Web Root Location" which basically empties "webroot".

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: How to get the physical path of a virtual directory? Pin
PravinSingh11-May-11 1:27
PravinSingh11-May-11 1:27 
AnswerRe: How to get the physical path of a virtual directory? Pin
Luc Pattyn11-May-11 1:38
sitebuilderLuc Pattyn11-May-11 1:38 
AnswerRe: How to get the physical path of a virtual directory? Pin
Mark Salsbery11-May-11 6:32
Mark Salsbery11-May-11 6:32 
QuestionTime Subtract Pin
M Riaz Bashir10-May-11 20:18
M Riaz Bashir10-May-11 20:18 
AnswerRe: Time Subtract Pin
Hiren solanki10-May-11 20:50
Hiren solanki10-May-11 20:50 
AnswerRe: Time Subtract Pin
Pete O'Hanlon10-May-11 20:59
mvePete O'Hanlon10-May-11 20:59 
AnswerRe: Time Subtract Pin
Luc Pattyn11-May-11 0:31
sitebuilderLuc Pattyn11-May-11 0:31 

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.