Click here to Skip to main content
15,881,172 members
Home / Discussions / C#
   

C#

 
QuestionUninstall link in deployment project Pin
Stefan Troschuetz19-Apr-06 1:41
Stefan Troschuetz19-Apr-06 1:41 
Questiondiscusiion forum Pin
prgramya19-Apr-06 1:41
prgramya19-Apr-06 1:41 
AnswerRe: discusiion forum Pin
J4amieC19-Apr-06 2:36
J4amieC19-Apr-06 2:36 
AnswerRe: discusiion forum Pin
LongRange.Shooter19-Apr-06 3:57
LongRange.Shooter19-Apr-06 3:57 
QuestionDetect when new application opened? Pin
Werner Vos19-Apr-06 1:32
Werner Vos19-Apr-06 1:32 
QuestionDirectoryNotFoundException when directory does exist Pin
sergestusxx19-Apr-06 1:19
sergestusxx19-Apr-06 1:19 
AnswerRe: DirectoryNotFoundException when directory does exist Pin
mav.northwind19-Apr-06 2:00
mav.northwind19-Apr-06 2:00 
AnswerRe: DirectoryNotFoundException when directory does exist Pin
LongRange.Shooter19-Apr-06 4:02
LongRange.Shooter19-Apr-06 4:02 
sergestusxx wrote:
¿When I access this folder, why is the DirectoryNotFoundException thrown?


You are getting the exception because folder\folder\folder is not a properly formatted or valid path. On the other hand C:\Program Files\Something is a valid and properly formatted path.


sergestusxx wrote:
string file = "..\\..\\Folder1\\Folder2\\File.ext";


As you see from the behaviour, this structure IS a valid path but you obviously do not know why. When you add ..\..\ you are telling File that you are accessing a folder relative to the current directory. In this case the Debug or Release folder of your application.

Follow the other suggestion and append your path with your Application ExecutablePath
AnswerRe: DirectoryNotFoundException when directory does exist Pin
theDexter19-Apr-06 8:50
theDexter19-Apr-06 8:50 
GeneralRe: DirectoryNotFoundException when directory does exist Pin
sergestusxx19-Apr-06 9:29
sergestusxx19-Apr-06 9:29 
QuestionRegarding WEB TV Pin
veerasekar Muthiah19-Apr-06 0:27
veerasekar Muthiah19-Apr-06 0:27 
AnswerRe: Regarding WEB TV Pin
LongRange.Shooter19-Apr-06 4:13
LongRange.Shooter19-Apr-06 4:13 
QuestionWindows Form Datagrid ? Pin
Gammaza19-Apr-06 0:24
Gammaza19-Apr-06 0:24 
QuestionSystem.Nullable(of Short) - How do I pass Null ... Pin
MaWeRic19-Apr-06 0:06
MaWeRic19-Apr-06 0:06 
AnswerRe: System.Nullable(of Short) - How do I pass Null ... Pin
Jon Hulatt19-Apr-06 0:35
Jon Hulatt19-Apr-06 0:35 
Questionproblem with visio shape object. Can't acces 'Class' class name, fields etc. Pin
crazymubashir19-Apr-06 0:04
crazymubashir19-Apr-06 0:04 
Questionstopping a thread Pin
naglbitur18-Apr-06 23:44
naglbitur18-Apr-06 23:44 
AnswerRe: stopping a thread Pin
Gammaza19-Apr-06 0:12
Gammaza19-Apr-06 0:12 
AnswerRe: stopping a thread Pin
LongRange.Shooter19-Apr-06 4:10
LongRange.Shooter19-Apr-06 4:10 
QuestionDynamic Value from an Object Pin
723718-Apr-06 23:39
723718-Apr-06 23:39 
AnswerRe: Dynamic Value from an Object Pin
J4amieC18-Apr-06 23:50
J4amieC18-Apr-06 23:50 
GeneralRe: Dynamic Value from an Object Pin
723719-Apr-06 0:05
723719-Apr-06 0:05 
GeneralRe: Dynamic Value from an Object Pin
J4amieC19-Apr-06 0:36
J4amieC19-Apr-06 0:36 
GeneralRe: Dynamic Value from an Object Pin
723719-Apr-06 16:03
723719-Apr-06 16:03 
Question[Message Deleted] Pin
HariKreddy18-Apr-06 23:33
HariKreddy18-Apr-06 23:33 

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.