Click here to Skip to main content
15,887,331 members
Home / Discussions / C#
   

C#

 
AnswerRe: Error Connecting To Oracle Database Pin
Wendelius11-Sep-08 8:38
mentorWendelius11-Sep-08 8:38 
QuestionHow to search data on DataGridView? Pin
nhatvhm11-Sep-08 5:54
nhatvhm11-Sep-08 5:54 
QuestionRe: How to search data on DataGridView? Pin
Dave Sexton11-Sep-08 7:32
Dave Sexton11-Sep-08 7:32 
QuestionTTS [modified] Pin
kemalsirin11-Sep-08 4:38
kemalsirin11-Sep-08 4:38 
QuestionRe: TTS Pin
led mike11-Sep-08 4:42
led mike11-Sep-08 4:42 
QuestionHow can we get ImageFormat of an image ? Pin
Mohammad Dayyan11-Sep-08 4:30
Mohammad Dayyan11-Sep-08 4:30 
AnswerRe: How can we get ImageFormat of an image ? Pin
Ennis Ray Lynch, Jr.11-Sep-08 4:38
Ennis Ray Lynch, Jr.11-Sep-08 4:38 
AnswerRe: How can we get ImageFormat of an image ? Pin
Manas Bhardwaj11-Sep-08 4:38
professionalManas Bhardwaj11-Sep-08 4:38 
Bitmap LobjBitMap = new Bitmap(openFileDialog1.FileName);

ImageFormat bmpFormat = LobjBitMap.RawFormat;
string strFormat = "unidentified format";

if (bmpFormat.Equals(ImageFormat.Bmp)) strFormat = "BMP";
else if (bmpFormat.Equals(ImageFormat.Emf)) strFormat = "EMF";
else if (bmpFormat.Equals(ImageFormat.Exif)) strFormat = "EXIF";
else if (bmpFormat.Equals(ImageFormat.Gif)) strFormat = "GIF";
else if (bmpFormat.Equals(ImageFormat.Icon)) strFormat = "Icon";
else if (bmpFormat.Equals(ImageFormat.Jpeg)) strFormat = "JPEG";
else if (bmpFormat.Equals(ImageFormat.MemoryBmp)) strFormat = "MemoryBMP";
else if (bmpFormat.Equals(ImageFormat.Png)) strFormat = "PNG";
else if (bmpFormat.Equals(ImageFormat.Tiff)) strFormat = "TIFF";
else if (bmpFormat.Equals(ImageFormat.Wmf)) strFormat = "WMF";


Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

GeneralRe: How can we get ImageFormat of an image ? Pin
Mohammad Dayyan11-Sep-08 4:59
Mohammad Dayyan11-Sep-08 4:59 
GeneralRe: How can we get ImageFormat of an image ? [modified] Pin
Ennis Ray Lynch, Jr.11-Sep-08 5:12
Ennis Ray Lynch, Jr.11-Sep-08 5:12 
GeneralRe: How can we get ImageFormat of an image ? Pin
Manas Bhardwaj11-Sep-08 22:19
professionalManas Bhardwaj11-Sep-08 22:19 
Generallmao Pin
Ennis Ray Lynch, Jr.11-Sep-08 23:05
Ennis Ray Lynch, Jr.11-Sep-08 23:05 
AnswerRe: How can we get ImageFormat of an image ? Pin
led mike11-Sep-08 4:39
led mike11-Sep-08 4:39 
GeneralRe: How can we get ImageFormat of an image ? Pin
Mohammad Dayyan11-Sep-08 4:48
Mohammad Dayyan11-Sep-08 4:48 
QuestionSmtpClient.Send Pin
Dewald11-Sep-08 4:25
Dewald11-Sep-08 4:25 
AnswerRe: SmtpClient.Send Pin
Manas Bhardwaj11-Sep-08 4:42
professionalManas Bhardwaj11-Sep-08 4:42 
QuestionWindows setup application Pin
Stephen Lintott11-Sep-08 3:05
Stephen Lintott11-Sep-08 3:05 
AnswerRe: Windows setup application Pin
led mike11-Sep-08 4:43
led mike11-Sep-08 4:43 
GeneralRe: Windows setup application Pin
Stephen Lintott11-Sep-08 21:43
Stephen Lintott11-Sep-08 21:43 
Question[Message Deleted] Pin
avrajesh11-Sep-08 2:35
avrajesh11-Sep-08 2:35 
AnswerRe: imagemap in c# Pin
Ennis Ray Lynch, Jr.11-Sep-08 3:07
Ennis Ray Lynch, Jr.11-Sep-08 3:07 
GeneralRe: imagemap in c# Pin
avrajesh11-Sep-08 3:12
avrajesh11-Sep-08 3:12 
GeneralRe: imagemap in c# Pin
Ennis Ray Lynch, Jr.11-Sep-08 3:14
Ennis Ray Lynch, Jr.11-Sep-08 3:14 
GeneralRe: imagemap in c# Pin
#realJSOP11-Sep-08 3:58
mve#realJSOP11-Sep-08 3:58 
GeneralRe: imagemap in c# Pin
Paul Conrad11-Sep-08 6:23
professionalPaul Conrad11-Sep-08 6:23 

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.