Click here to Skip to main content
15,896,063 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to run DOS attrib commands like +S, +R in my c# project? Pin
Manas Bhardwaj8-Aug-08 5:48
professionalManas Bhardwaj8-Aug-08 5:48 
GeneralRe: How to run DOS attrib commands like +S, +R in my c# project? Pin
Member 28376158-Aug-08 6:21
Member 28376158-Aug-08 6:21 
GeneralRe: How to run DOS attrib commands like +S, +R in my c# project? Pin
Ravi Bhavnani8-Aug-08 6:35
professionalRavi Bhavnani8-Aug-08 6:35 
GeneralRe: How to run DOS attrib commands like +S, +R in my c# project? Pin
Manas Bhardwaj8-Aug-08 6:40
professionalManas Bhardwaj8-Aug-08 6:40 
GeneralRe: How to run DOS attrib commands like +S, +R in my c# project? Pin
Paul Conrad8-Aug-08 8:31
professionalPaul Conrad8-Aug-08 8:31 
GeneralRe: How to run DOS attrib commands like +S, +R in my c# project? Pin
umbrella_yang9-Aug-08 5:33
umbrella_yang9-Aug-08 5:33 
QuestionRead from bmp file Pin
krinaljariwala8-Aug-08 4:51
krinaljariwala8-Aug-08 4:51 
AnswerRe: Read from bmp file Pin
Manas Bhardwaj8-Aug-08 4:55
professionalManas Bhardwaj8-Aug-08 4:55 
krinaljariwala wrote:
I need to read bitmap file which is basically scanned sheet like answers sheet


Do you want to read it as image or extract the text from it?
If latter is the case, this should work:

FileStream fs = File.OpenRead("Holiday.bmp");
           byte[] data = new byte[fs.Length];
           fs.Read(data, 0, data.Length);

           MemoryStream ms = new MemoryStream(data);
           Bitmap bmp = new Bitmap(ms);

GeneralRe: Read from bmp file Pin
krinaljariwala8-Aug-08 5:05
krinaljariwala8-Aug-08 5:05 
GeneralRe: Read from bmp file Pin
SomeGuyThatIsMe8-Aug-08 5:48
SomeGuyThatIsMe8-Aug-08 5:48 
GeneralRe: Read from bmp file Pin
J4amieC8-Aug-08 5:49
J4amieC8-Aug-08 5:49 
Questionc# port forwarding Pin
VrIgHtEr8-Aug-08 4:06
VrIgHtEr8-Aug-08 4:06 
AnswerRe: c# port forwarding Pin
Harvey Saayman8-Aug-08 4:20
Harvey Saayman8-Aug-08 4:20 
GeneralRe: c# port forwarding Pin
VrIgHtEr8-Aug-08 11:12
VrIgHtEr8-Aug-08 11:12 
GeneralRe: c# port forwarding Pin
Harvey Saayman8-Aug-08 20:22
Harvey Saayman8-Aug-08 20:22 
GeneralRe: c# port forwarding Pin
VrIgHtEr8-Aug-08 21:03
VrIgHtEr8-Aug-08 21:03 
GeneralRe: c# port forwarding Pin
Harvey Saayman8-Aug-08 21:07
Harvey Saayman8-Aug-08 21:07 
GeneralRe: c# port forwarding Pin
VrIgHtEr8-Aug-08 23:10
VrIgHtEr8-Aug-08 23:10 
QuestionRe: c# port forwarding Pin
led mike8-Aug-08 4:21
led mike8-Aug-08 4:21 
QuestionContext Menus and Buttons Pin
kildareflare8-Aug-08 3:25
kildareflare8-Aug-08 3:25 
AnswerRe: Context Menus and Buttons Pin
Gareth H8-Aug-08 4:44
Gareth H8-Aug-08 4:44 
QuestionC# Pin
mphumeleli8-Aug-08 3:04
mphumeleli8-Aug-08 3:04 
AnswerRe: C# Pin
Manas Bhardwaj8-Aug-08 3:06
professionalManas Bhardwaj8-Aug-08 3:06 
AnswerRe: C# Pin
Colin Angus Mackay8-Aug-08 3:49
Colin Angus Mackay8-Aug-08 3:49 
RantRe: C# Pin
Paul Conrad8-Aug-08 8:31
professionalPaul Conrad8-Aug-08 8:31 

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.