Click here to Skip to main content
15,898,895 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to join 2 string[] objects Pin
R. Giskard Reventlov30-Jun-10 23:03
R. Giskard Reventlov30-Jun-10 23:03 
AnswerRe: How to join 2 string[] objects Pin
freakyit30-Jun-10 23:19
freakyit30-Jun-10 23:19 
AnswerRe: How to join 2 string[] objects Pin
Ayman Kouzayha30-Jun-10 23:31
Ayman Kouzayha30-Jun-10 23:31 
AnswerRe: How to join 2 string[] objects Pin
Laxman Auti1-Jul-10 0:19
Laxman Auti1-Jul-10 0:19 
GeneralRe: How to join 2 string[] objects Pin
Chesnokov Yuriy1-Jul-10 0:41
professionalChesnokov Yuriy1-Jul-10 0:41 
AnswerRe: How to join 2 string[] objects Pin
Ravi Bhavnani2-Jul-10 4:58
professionalRavi Bhavnani2-Jul-10 4:58 
QuestionConvert 32-bit Bitmap file to 24-bit Pin
Ayman Kouzayha30-Jun-10 22:28
Ayman Kouzayha30-Jun-10 22:28 
QuestionRe: Convert 32-bit Bitmap file to 24-bit Pin
Ayman Kouzayha30-Jun-10 23:21
Ayman Kouzayha30-Jun-10 23:21 
I found the solution in this code, but i discovered another problem that i need help with please,

I need to make sure that the saved 24-bit file is a DIB file, how can i do that?

System.Drawing.Bitmap _bitmap = new System.Drawing.Bitmap(_filename);
System.Drawing.Bitmap _bitmap24 = 
     new System.Drawing.Bitmap(16,16,System.Drawing.Imaging.PixelFormat.Format24bppRgb);

_bitmap = new System.Drawing.Bitmap(_bitmap.GetThumbnailImage(16, 16, myCallback, IntPtr.Zero));

for (int i = 0; i < _bitmap.Width; i++)
    for (int j = 0; j < _bitmap.Height; j++)
    {
        System.Drawing.Color _tmpColor = _bitmap.GetPixel(i, j);
        _bitmap24.SetPixel(i,j,_tmpColor);
    }

_bitmap24.Save(_newFileName);
AddImage(_newFileName);

QuestionOnShown event not always triggered Pin
Gonzalo Cao30-Jun-10 21:43
Gonzalo Cao30-Jun-10 21:43 
QuestionHow to Integrate Quick Book With VS08 Pin
kanchan112330-Jun-10 20:32
kanchan112330-Jun-10 20:32 
AnswerRe: How to Integrate Quick Book With VS08 Pin
Richard MacCutchan30-Jun-10 21:41
mveRichard MacCutchan30-Jun-10 21:41 
QuestionEWS attribute 'Value' missing.. ARGG Pin
Jacob Dixon30-Jun-10 9:47
Jacob Dixon30-Jun-10 9:47 
QuestionLABEL for X and Y Axis Pin
It_tech30-Jun-10 8:51
It_tech30-Jun-10 8:51 
AnswerRe: LABEL for X and Y Axis Pin
JF201530-Jun-10 18:11
JF201530-Jun-10 18:11 
GeneralRe: LABEL for X and Y Axis Pin
It_tech30-Jun-10 19:12
It_tech30-Jun-10 19:12 
GeneralRe: LABEL for X and Y Axis Pin
JF201530-Jun-10 19:23
JF201530-Jun-10 19:23 
GeneralRe: LABEL for X and Y Axis Pin
It_tech1-Jul-10 0:22
It_tech1-Jul-10 0:22 
Questionclient/server periodic data transfer Pin
teknolog12330-Jun-10 7:59
teknolog12330-Jun-10 7:59 
AnswerRe: client/server periodic data transfer Pin
Richard MacCutchan30-Jun-10 8:32
mveRichard MacCutchan30-Jun-10 8:32 
AnswerRe: client/server periodic data transfer Pin
Luc Pattyn30-Jun-10 8:33
sitebuilderLuc Pattyn30-Jun-10 8:33 
GeneralRe: client/server periodic data transfer Pin
teknolog12330-Jun-10 8:40
teknolog12330-Jun-10 8:40 
GeneralRe: client/server periodic data transfer Pin
Luc Pattyn30-Jun-10 10:50
sitebuilderLuc Pattyn30-Jun-10 10:50 
GeneralRe: client/server periodic data transfer Pin
PIEBALDconsult30-Jun-10 17:01
mvePIEBALDconsult30-Jun-10 17:01 
AnswerRe: client/server periodic data transfer Pin
Laxman Auti30-Jun-10 8:38
Laxman Auti30-Jun-10 8:38 
GeneralRe: client/server periodic data transfer Pin
teknolog12330-Jun-10 8:42
teknolog12330-Jun-10 8:42 

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.