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

C#

 
GeneralRe: Singleton with a twist Pin
bigals8-Jan-05 11:25
bigals8-Jan-05 11:25 
GeneralRe: Singleton with a twist Pin
Matt Gerrans9-Jan-05 19:51
Matt Gerrans9-Jan-05 19:51 
GeneralRe: Singleton with a twist Pin
bigals9-Jan-05 19:57
bigals9-Jan-05 19:57 
Question"How Get Type of File ? Pin
WDI3-Jan-05 6:14
WDI3-Jan-05 6:14 
AnswerRe: "How Get Type of File ? Pin
Bahadir Cambel3-Jan-05 9:05
Bahadir Cambel3-Jan-05 9:05 
AnswerRe: "How Get Type of File ? Pin
DavidNohejl3-Jan-05 10:11
DavidNohejl3-Jan-05 10:11 
GeneralRe: "How Get Type of File ? Pin
Bahadir Cambel3-Jan-05 10:22
Bahadir Cambel3-Jan-05 10:22 
GeneralRe: "How Get Type of File ? Pin
DavidNohejl3-Jan-05 10:51
DavidNohejl3-Jan-05 10:51 
Bahadir Cambel wrote:
ts not ugly unless you are only going to list the items.. and you dont want to deal with windows

well, MY solution is ugly (as whole registry thing) and I stand my ground (or how it is this idiom). I didn't mean your code- it's ok afer all.

Yes he may want to know only file type... in this case your code is ok (and mine is useless - and vice versa).

Bt if he wants to get longer description of file type (how it's called on targer system - e.g .bmp may be called "bitmap file" as well as "PSP Image file" if PaintShopPro program is installed - cuz it modifies registry), then my way is way to go. AFIAK FileInfo doesn't contain this information. I did quick search at MSDN its possible I overlooked it bt again, I don't think so. (One reason - it may be Windows specific feature).

Bahadir Cambel wrote:
Thats the reason why I love CP
yeah, I love CP as well! Big Grin | :-D

David

Never forget: "Stay kul and happy" (I.A.)
GeneralRe: "How Get Type of File ? Pin
Bahadir Cambel3-Jan-05 11:42
Bahadir Cambel3-Jan-05 11:42 
General.NET Remote - Activator.GetObject Pin
Wender Oliveira3-Jan-05 5:21
Wender Oliveira3-Jan-05 5:21 
GeneralRe: .NET Remote - Activator.GetObject Pin
Adam Goossens9-Jan-05 23:48
Adam Goossens9-Jan-05 23:48 
GeneralFile to byte[ ] Pin
WDI3-Jan-05 4:43
WDI3-Jan-05 4:43 
GeneralRe: File to byte[ ] Pin
Wender Oliveira3-Jan-05 5:15
Wender Oliveira3-Jan-05 5:15 
GeneralRe: File to byte[ ] Pin
Dennis C. Dietrich3-Jan-05 7:40
Dennis C. Dietrich3-Jan-05 7:40 
QuestionHow to build patch Pin
Newbie_Toy3-Jan-05 3:34
Newbie_Toy3-Jan-05 3:34 
GeneralSaving Text Versions Pin
Darren Pruitt3-Jan-05 3:19
Darren Pruitt3-Jan-05 3:19 
GeneralRe: Saving Text Versions Pin
leppie3-Jan-05 5:55
leppie3-Jan-05 5:55 
GeneralInterfaces Pin
Bahadir Cambel3-Jan-05 0:05
Bahadir Cambel3-Jan-05 0:05 
GeneralRe: Interfaces Pin
jan larsen3-Jan-05 1:32
jan larsen3-Jan-05 1:32 
GeneralRe: Interfaces Pin
Bahadir Cambel3-Jan-05 8:59
Bahadir Cambel3-Jan-05 8:59 
GeneralRe: Interfaces Pin
DavidNohejl3-Jan-05 9:53
DavidNohejl3-Jan-05 9:53 
GeneralRe: Interfaces Pin
Bahadir Cambel3-Jan-05 11:52
Bahadir Cambel3-Jan-05 11:52 
GeneralRe: Interfaces Pin
DavidNohejl3-Jan-05 12:30
DavidNohejl3-Jan-05 12:30 
GeneralRe: Interfaces Pin
Bahadir Cambel3-Jan-05 14:27
Bahadir Cambel3-Jan-05 14:27 
GeneralRe: Interfaces Pin
DavidNohejl3-Jan-05 14:50
DavidNohejl3-Jan-05 14:50 

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.