Click here to Skip to main content
15,909,742 members
Home / Discussions / C#
   

C#

 
AnswerRe: Software Licening.. Pin
Nouman Bhatti21-Aug-07 21:00
Nouman Bhatti21-Aug-07 21:00 
AnswerRe: Software Licening.. Pin
Mark Churchill21-Aug-07 21:18
Mark Churchill21-Aug-07 21:18 
QuestionDeleting a file being loaded in a picturebox Pin
aravinda77721-Aug-07 20:17
aravinda77721-Aug-07 20:17 
AnswerRe: Deleting a file being loaded in a picturebox Pin
Michael Sync21-Aug-07 20:39
Michael Sync21-Aug-07 20:39 
AnswerRe: Deleting a file being loaded in a picturebox Pin
Hessam Jalali21-Aug-07 20:41
Hessam Jalali21-Aug-07 20:41 
AnswerRe: Deleting a file being loaded in a picturebox Pin
Luc Pattyn22-Aug-07 1:01
sitebuilderLuc Pattyn22-Aug-07 1:01 
QuestionIdentifying the type of file Pin
aravinda77721-Aug-07 19:57
aravinda77721-Aug-07 19:57 
AnswerRe: Identifying the type of file Pin
Christian Graus21-Aug-07 20:01
protectorChristian Graus21-Aug-07 20:01 
aravinda777 wrote:
What's the best way to do this apart from checking the extensions?


Use GDI+ to attempt to load a file and verify if it's an image. Write code that reads the file itself and attempts to identify the file format, which means you need to look for unique markers for each of these file types, and look for them.



Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

GeneralRe: Identifying the type of file Pin
Michael Sync21-Aug-07 20:19
Michael Sync21-Aug-07 20:19 
GeneralRe: Identifying the type of file Pin
aravinda77721-Aug-07 20:32
aravinda77721-Aug-07 20:32 
GeneralRe: Identifying the type of file Pin
Christian Graus21-Aug-07 20:45
protectorChristian Graus21-Aug-07 20:45 
GeneralRe: Identifying the type of file Pin
Michael Sync21-Aug-07 21:59
Michael Sync21-Aug-07 21:59 
GeneralRe: Identifying the type of file Pin
Christian Graus22-Aug-07 0:10
protectorChristian Graus22-Aug-07 0:10 
AnswerRe: Identifying the type of file Pin
Michael Sync21-Aug-07 20:03
Michael Sync21-Aug-07 20:03 
GeneralRe: Identifying the type of file Pin
aravinda77721-Aug-07 20:13
aravinda77721-Aug-07 20:13 
GeneralRe: Identifying the type of file Pin
Luc Pattyn22-Aug-07 1:04
sitebuilderLuc Pattyn22-Aug-07 1:04 
GeneralRe: Identifying the type of file Pin
Thomas Krojer23-Aug-07 0:53
Thomas Krojer23-Aug-07 0:53 
AnswerRe: Identifying the type of file Pin
Giorgi Dalakishvili21-Aug-07 22:07
mentorGiorgi Dalakishvili21-Aug-07 22:07 
QuestionHelp me in Invoking Dll's Pin
kandy_soliton21-Aug-07 19:38
kandy_soliton21-Aug-07 19:38 
AnswerRe: Help me in Invoking Dll's Pin
Christian Graus21-Aug-07 20:00
protectorChristian Graus21-Aug-07 20:00 
GeneralRe: Help me in Invoking Dll's Pin
Giorgi Dalakishvili21-Aug-07 22:09
mentorGiorgi Dalakishvili21-Aug-07 22:09 
QuestionQuickFix protocol Pin
sujithkumarsl21-Aug-07 19:07
sujithkumarsl21-Aug-07 19:07 
AnswerRe: QuickFix protocol Pin
Ankit Aneja21-Aug-07 21:30
Ankit Aneja21-Aug-07 21:30 
QuestionWhat is Reason? (plz reply) [modified] Pin
Hum Dum21-Aug-07 19:00
Hum Dum21-Aug-07 19:00 
AnswerRe: What is Reason? (plz reply) Pin
Christian Graus21-Aug-07 19:59
protectorChristian Graus21-Aug-07 19: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.