Click here to Skip to main content
15,914,160 members
Home / Discussions / C#
   

C#

 
GeneralRe: namespace - automatically created, now not recognized Pin
Som Shekhar2-Mar-10 7:46
Som Shekhar2-Mar-10 7:46 
AnswerRe: namespace - automatically created, now not recognized Pin
Paulo Zemek2-Mar-10 10:05
Paulo Zemek2-Mar-10 10:05 
GeneralRe: namespace - automatically created, now not recognized Pin
lukeer2-Mar-10 20:37
lukeer2-Mar-10 20:37 
GeneralRe: namespace - automatically created, now not recognized Pin
Paulo Zemek3-Mar-10 1:21
Paulo Zemek3-Mar-10 1:21 
GeneralRe: namespace - automatically created, now not recognized Pin
lukeer3-Mar-10 20:45
lukeer3-Mar-10 20:45 
QuestionHow do you check the validity of a file type? Pin
sunlord_clave2-Mar-10 3:50
sunlord_clave2-Mar-10 3:50 
AnswerRe: How do you check the validity of a file type? Pin
PIEBALDconsult2-Mar-10 3:57
mvePIEBALDconsult2-Mar-10 3:57 
AnswerRe: How do you check the validity of a file type? Pin
Dave Kreskowiak2-Mar-10 3:57
mveDave Kreskowiak2-Mar-10 3:57 
Try and load it using the appropriate library built to parse that kind of file.

Other than that, you have to examine each and every byte yourself, parsing the file yourself, and validating all the data yourself. For every kind of file format, that's an enormous amount of work.

A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




AnswerRe: How do you check the validity of a file type? Pin
dan!sh 2-Mar-10 4:11
professional dan!sh 2-Mar-10 4:11 
Questionweb cam with sound recording to avi [modified] Pin
sanforjackass2-Mar-10 2:09
sanforjackass2-Mar-10 2:09 
AnswerRe: web cam with sound recording to avi Pin
Dave Kreskowiak2-Mar-10 3:55
mveDave Kreskowiak2-Mar-10 3:55 
QuestionOptional parameter declaration in C3 3.5 Pin
abcurl2-Mar-10 1:50
abcurl2-Mar-10 1:50 
AnswerRe: Optional parameter declaration in C3 3.5 Pin
Not Active2-Mar-10 1:55
mentorNot Active2-Mar-10 1:55 
GeneralRe: Optional parameter declaration in C3 3.5 Pin
Kevin McFarlane2-Mar-10 2:05
Kevin McFarlane2-Mar-10 2:05 
JokeRe: Optional parameter declaration in C3 3.5 Pin
Not Active2-Mar-10 2:16
mentorNot Active2-Mar-10 2:16 
GeneralRe: Optional parameter declaration in C3 3.5 Pin
Keith Barrow2-Mar-10 2:27
professionalKeith Barrow2-Mar-10 2:27 
GeneralShameless self-promotion Pin
Keith Barrow2-Mar-10 2:26
professionalKeith Barrow2-Mar-10 2:26 
JokeRe: Optional parameter declaration in C3 3.5 Pin
Abhinav S2-Mar-10 3:28
Abhinav S2-Mar-10 3:28 
GeneralRe: Optional parameter declaration in C3 3.5 Pin
Not Active2-Mar-10 4:03
mentorNot Active2-Mar-10 4:03 
GeneralRe: Optional parameter declaration in C3 3.5 Pin
Luc Pattyn2-Mar-10 4:09
sitebuilderLuc Pattyn2-Mar-10 4:09 
Questionproblem in my service. Pin
noamtzu002-Mar-10 1:48
noamtzu002-Mar-10 1:48 
AnswerRe: problem in my service. Pin
Rob Philpott2-Mar-10 2:09
Rob Philpott2-Mar-10 2:09 
QuestionMulti Language in Dont Net Pin
Syed Shahid Hussain2-Mar-10 1:29
Syed Shahid Hussain2-Mar-10 1:29 
AnswerMessage Closed Pin
2-Mar-10 1:34
stancrm2-Mar-10 1:34 
GeneralRe: Multi Language in Dont Net Pin
Syed Shahid Hussain2-Mar-10 1:59
Syed Shahid Hussain2-Mar-10 1:59 

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.