Click here to Skip to main content
15,905,785 members
Home / Discussions / C#
   

C#

 
Generalwm_command Pin
NikoTanghe1-Dec-04 0:28
NikoTanghe1-Dec-04 0:28 
GeneralRe: wm_command Pin
Stefan Troschuetz1-Dec-04 0:50
Stefan Troschuetz1-Dec-04 0:50 
Generalad muncher Pin
Mridang Agarwalla1-Dec-04 0:16
Mridang Agarwalla1-Dec-04 0:16 
GeneralRe: ad muncher Pin
Judah Gabriel Himango1-Dec-04 4:55
sponsorJudah Gabriel Himango1-Dec-04 4:55 
GeneralRe: ad muncher Pin
Mridang Agarwalla2-Dec-04 2:34
Mridang Agarwalla2-Dec-04 2:34 
QuestionFileSystemWatcher.FileName case? Pin
Quiffco1-Dec-04 0:15
Quiffco1-Dec-04 0:15 
AnswerRe: FileSystemWatcher.FileName case? Pin
Dave Kreskowiak1-Dec-04 4:17
mveDave Kreskowiak1-Dec-04 4:17 
GeneralRe: FileSystemWatcher.FileName case? Pin
Quiffco5-Dec-04 22:15
Quiffco5-Dec-04 22:15 
Using GetFullPath on the e.FullPath still returns a lower case string, even making a FileInfo object on the e.FullPath still returns a lower case full path.

It would appear that if you start with a lower case file path, both Path and FileInfo commands will keep the name as lower case, so with the FileSystemWatcher returning only lower case names, there's no way to do it.

I've worked around this by getting the file info from the File System watcher when the file is renamed, and get the file name from the users input, but this still doesn't help when someone manually renames a file in the directory, it still returns the lower case name.

Is it just me, or is Microsofts choice to flatten file names to lower case with file system watchers kinda strange?
GeneralPassing parameter file to VS.net Winform design screen Pin
Gary Perkin1-Dec-04 0:12
Gary Perkin1-Dec-04 0:12 
GeneralRe: Passing parameter file to VS.net Winform design screen Pin
Gary Perkin6-Dec-04 22:20
Gary Perkin6-Dec-04 22:20 
Questioncan threading is way in finding co-ordinate? Pin
montu337730-Nov-04 23:28
montu337730-Nov-04 23:28 
AnswerRe: can threading is way in finding co-ordinate? Pin
DougW481-Dec-04 4:31
DougW481-Dec-04 4:31 
GeneralRe: can threading is way in finding co-ordinate? Pin
montu33771-Dec-04 17:32
montu33771-Dec-04 17:32 
Questioncan threading is way in finding co-ordinate? Pin
montu337730-Nov-04 23:27
montu337730-Nov-04 23:27 
AnswerRe: can threading is way in finding co-ordinate? Pin
Christian Graus30-Nov-04 23:36
protectorChristian Graus30-Nov-04 23:36 
Generalsearching of line in scanned image Pin
montu337730-Nov-04 22:52
montu337730-Nov-04 22:52 
GeneralRe: searching of line in scanned image Pin
Christian Graus30-Nov-04 23:33
protectorChristian Graus30-Nov-04 23:33 
GeneralHelp needed on code simplification Pin
lj_rules30-Nov-04 21:40
lj_rules30-Nov-04 21:40 
GeneralRe: Help needed on code simplification Pin
Daniel Turini30-Nov-04 21:54
Daniel Turini30-Nov-04 21:54 
GeneralRe: Help needed on code simplification Pin
lj_rules2-Dec-04 13:26
lj_rules2-Dec-04 13:26 
GeneralRe: Help needed on code simplification Pin
TyronX1-Dec-04 10:19
TyronX1-Dec-04 10:19 
GeneralTcpListener : Best approach to check the active connections Pin
Zishan Haider30-Nov-04 21:08
Zishan Haider30-Nov-04 21:08 
GeneralRe: TcpListener : Best approach to check the active connections Pin
Daniel Turini30-Nov-04 21:50
Daniel Turini30-Nov-04 21:50 
GeneralRe: TcpListener : Best approach to check the active connections Pin
Zishan Haider1-Dec-04 1:03
Zishan Haider1-Dec-04 1:03 
GeneralRe: TcpListener : Best approach to check the active connections Pin
Zishan Haider1-Dec-04 3:31
Zishan Haider1-Dec-04 3: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.