Click here to Skip to main content
15,890,512 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHelp ME, This is the second day today but still i get answer.. Pin
Hemant Garg21-Jun-07 20:07
Hemant Garg21-Jun-07 20:07 
AnswerRe: Help ME, This is the second day today but still i get answer.. Pin
Sathesh Sakthivel21-Jun-07 20:19
Sathesh Sakthivel21-Jun-07 20:19 
AnswerRe: Help ME, This is the second day today but still i get answer.. Pin
Sandeep Akhare21-Jun-07 20:29
Sandeep Akhare21-Jun-07 20:29 
Generalok what problem this coding have Pin
Hemant Garg21-Jun-07 21:09
Hemant Garg21-Jun-07 21:09 
GeneralRe: ok what problem this coding have Pin
Sandeep Akhare21-Jun-07 22:33
Sandeep Akhare21-Jun-07 22:33 
AnswerRe: Help ME, This is the second day today but still i get answer.. Pin
ash0421-Jun-07 20:55
ash0421-Jun-07 20:55 
GeneralRe: Help ME, This is the second day today but still i get answer.. Pin
Hemant Garg21-Jun-07 21:03
Hemant Garg21-Jun-07 21:03 
QuestionBitmap Image Pin
Bajrang Singh21-Jun-07 20:07
Bajrang Singh21-Jun-07 20:07 
Hi, All
I want to make a bitmap thats Each pixel has different Color.
I defined it size 1024,700 and used three nested Loops 0 to 255 to get unique color and setpixel sets this color to pixel. but my bmp file's pixel still contains duplicate colors,can anyone will guide me.
Thanks again, bye

<br />
        int x=0,y=0;<br />
        int tot = 0;<br />
        Bitmap Bmp;<br />
        //Color color=new System.Drawing.Color.;<br />
        Bmp = new Bitmap(1024, 700,PixelFormat.Format32bppPArgb);<br />
        int h = 0;<br />
        for (int i = 0; i <256; i = i + 8)<br />
        {<br />
            for (int j = 0; j < 256; j = j += 1)<br />
            {<br />
                for (int k = 0; k < 256; k += 1, x++, h++)<br />
                {<br />
                    if (h > 255)<br />
                        h = 0;<br />
                    Color newColor = Color.FromArgb(255,i, j, k);<br />
                    Bmp.SetPixel(x, y, newColor);<br />
                    if (x == 1023)<br />
                    {<br />
                        x = 0;<br />
                        y++;<br />
                    }<br />
                    if (y >= 699)<br />
                    {<br />
                        try<br />
                        {<br />
                            Bmp.Save("bmp1.bmp", ImageFormat.Png);<br />
                        }<br />
                        catch (Exception ex)<br />
                        {<br />
                            Response.Write(ex.Message);<br />
                        }<br />
                        return;<br />
                    }<br />
                }<br />
            }


Bajrang Singh
Using .net 2.0 (VS2005)

QuestionC# code copy and paste the folder Pin
S.Bhushan21-Jun-07 19:25
S.Bhushan21-Jun-07 19:25 
AnswerRe: C# code copy and paste the folder Pin
Sylvester george21-Jun-07 19:56
Sylvester george21-Jun-07 19:56 
QuestionHow to dump the filtered data from an excel file in Sql-server 2000 Pin
MissionSuccess21-Jun-07 19:24
MissionSuccess21-Jun-07 19:24 
QuestionHow to use panels and text boxes Pin
Hemant Garg21-Jun-07 19:21
Hemant Garg21-Jun-07 19:21 
AnswerRe: How to use panels and text boxes Pin
Sylvester george21-Jun-07 20:31
Sylvester george21-Jun-07 20:31 
AnswerRe: How to use panels and text boxes Pin
Sandeep Akhare22-Jun-07 0:46
Sandeep Akhare22-Jun-07 0:46 
Questionpassword strength Pin
jai 12321-Jun-07 19:16
jai 12321-Jun-07 19:16 
AnswerRe: password strength Pin
Sathesh Sakthivel21-Jun-07 19:21
Sathesh Sakthivel21-Jun-07 19:21 
GeneralRe: password strength Pin
jai 12321-Jun-07 19:42
jai 12321-Jun-07 19:42 
GeneralRe: password strength Pin
Sathesh Sakthivel21-Jun-07 19:51
Sathesh Sakthivel21-Jun-07 19:51 
GeneralRe: password strength Pin
jai 12321-Jun-07 20:09
jai 12321-Jun-07 20:09 
QuestioncustomError in Web.Config file is not working Pin
Prakash.SE21-Jun-07 19:01
Prakash.SE21-Jun-07 19:01 
AnswerRe: customError in Web.Config file is not working Pin
RepliCrux21-Jun-07 19:14
RepliCrux21-Jun-07 19:14 
GeneralRe: customError in Web.Config file is not working Pin
Prakash.SE21-Jun-07 19:20
Prakash.SE21-Jun-07 19:20 
GeneralRe: customError in Web.Config file is not working Pin
RepliCrux21-Jun-07 19:31
RepliCrux21-Jun-07 19:31 
GeneralRe: customError in Web.Config file is not working Pin
Ulhas Morbale21-Jun-07 21:07
professionalUlhas Morbale21-Jun-07 21:07 
GeneralRe: customError in Web.Config file is not working Pin
sidbaruah25-Jun-07 1:47
sidbaruah25-Jun-07 1:47 

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.