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

C#

 
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 
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 
If your application is meant to handle almost any kind of file, then you have a tough job. Every file essentially is a series of bytes. Unless you scan that and then try to match it with actual pattern, I can't think of a concrete solution.

You can try opening the file with the associated program. That too will not guarantee detection since many file will open (although distorted and with weird characters) in the associated program.

I found this[^] through google. You can check if it helps.
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 
GeneralMessage Closed Pin
2-Mar-10 2:04
stancrm2-Mar-10 2:04 

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.