Click here to Skip to main content
15,921,840 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using the pdb file after release crash on customer machine running my c# executable Pin
w.hooper20-Sep-09 23:00
w.hooper20-Sep-09 23:00 
GeneralRe: Using the pdb file after release crash on customer machine running my c# executable Pin
Simon P Stevens20-Sep-09 23:08
Simon P Stevens20-Sep-09 23:08 
GeneralRe: Using the pdb file after release crash on customer machine running my c# executable Pin
w.hooper20-Sep-09 23:21
w.hooper20-Sep-09 23:21 
GeneralRe: Using the pdb file after release crash on customer machine running my c# executable [modified] Pin
w.hooper20-Sep-09 23:54
w.hooper20-Sep-09 23:54 
GeneralRe: Using the pdb file after release crash on customer machine running my c# executable Pin
Simon P Stevens21-Sep-09 0:47
Simon P Stevens21-Sep-09 0:47 
QuestionConnect to internet In my program Pin
M M A20-Sep-09 22:30
M M A20-Sep-09 22:30 
AnswerRe: Connect to internet In my program Pin
Manas Bhardwaj20-Sep-09 23:20
professionalManas Bhardwaj20-Sep-09 23:20 
QuestionLet the user write a line code Pin
bonzaiholding20-Sep-09 22:16
bonzaiholding20-Sep-09 22:16 
AnswerRe: Let the user write a line code Pin
Nuri Ismail20-Sep-09 22:41
Nuri Ismail20-Sep-09 22:41 
GeneralRe: Let the user write a line code Pin
bonzaiholding21-Sep-09 0:21
bonzaiholding21-Sep-09 0:21 
AnswerRe: Let the user write a line code Pin
dan!sh 20-Sep-09 22:43
professional dan!sh 20-Sep-09 22:43 
AnswerRe: Let the user write a line code Pin
Senseicads21-Sep-09 1:10
Senseicads21-Sep-09 1:10 
AnswerRe: Let the user write a line code Pin
PIEBALDconsult21-Sep-09 4:58
mvePIEBALDconsult21-Sep-09 4:58 
QuestionProblem in Connecting Excel File Pin
amaankhan20-Sep-09 21:27
amaankhan20-Sep-09 21:27 
AnswerRe: Problem in Connecting Excel File Pin
amaankhan20-Sep-09 21:33
amaankhan20-Sep-09 21:33 
QuestionAnother TCP Issue [UDATED] Pin
Harvey Saayman20-Sep-09 21:16
Harvey Saayman20-Sep-09 21:16 
AnswerRe: Another TCP Issue Pin
pradnya_k21-Sep-09 1:19
pradnya_k21-Sep-09 1:19 
GeneralRe: Another TCP Issue Pin
pradnya_k21-Sep-09 21:15
pradnya_k21-Sep-09 21:15 
QuestionPassword field in datagridview,C# Pin
sampath_dr20-Sep-09 20:04
sampath_dr20-Sep-09 20:04 
AnswerRe: Password field in datagridview,C# Pin
Ravi Mori20-Sep-09 20:59
Ravi Mori20-Sep-09 20:59 
GeneralRe: Password field in datagridview,C# Pin
sampath_dr20-Sep-09 21:21
sampath_dr20-Sep-09 21:21 
QuestionTiming Out the User Session Using the MouseMove Event Pin
Richard Andrew x6420-Sep-09 19:23
professionalRichard Andrew x6420-Sep-09 19:23 
AnswerRe: Timing Out the User Session Using the MouseMove Event Pin
Christian Graus20-Sep-09 19:39
protectorChristian Graus20-Sep-09 19:39 
Questionreducing image file size Pin
michael@cohen20-Sep-09 19:09
michael@cohen20-Sep-09 19:09 
AnswerRe: reducing image file size Pin
Christian Graus20-Sep-09 19:41
protectorChristian Graus20-Sep-09 19:41 
michael@cohen wrote:
b = new Bitmap(width, height);
i = Image.FromHbitmap(b.GetHbitmap());
g = Graphics.FromImage(i);


How utterly bizarre. This is a waste of time. You can call Graphics.FromImage on a Bitmap, in fact, because of bugs in .NET, even if you create an Image, a Bitmap is created.

You should use using blocks to auto dispose where you can.

If you want images to be smaller, try saving them as jpeg or another compressed format. Otherwise, they are the size of the number of pixels x 3, you can't change that.

Christian Graus

Driven to the arms of OSX by Vista.

Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

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.